Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit e41c8d05 authored by synt4x93's avatar synt4x93 Committed by Ahmed Harhash
Browse files

universal9810: sepolicy: some more denials

Change-Id: Ie1ddac32ad8485e3023e0bcf945be64e1cf05ab4
parent cdf5fc88
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
get_prop(appdomain, exported_camera_prop);
+1 −0
Original line number Diff line number Diff line
get_prop(bootanim, userspace_reboot_exported_prop)
+1 −0
Original line number Diff line number Diff line
allow charger device:dir { open read };
+1 −0
Original line number Diff line number Diff line
type livedisplay_data_file, data_file_type, file_type;
type display_misc_file, file_type, data_file_type, core_data_file_type;
type sysfs_lcd_writable, sysfs_type, fs_type;
type sysfs_health, sysfs_type, fs_type;
type sysfs_sec_key, sysfs_type, fs_type;
+11 −6
Original line number Diff line number Diff line
@@ -6,12 +6,16 @@
# LPM
/system/bin/lpm u:object_r:lpm_exec:s0

# Bluetooth
/sys/devices/platform/bluetooth/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
/sys/devices/platform/bluetooth/rfkill/rfkill0/type u:object_r:sysfs_bluetooth_writable:s0

# Lights HAL
/(product|system/product)/vendor_overlay/[0-9]+/bin/hw/vendor\.samsung\.hardware\.light@3\.0-service u:object_r:hal_light_default_exec:s0

# LiveDisplay HAL
/system/bin/hw/lineage\.livedisplay@2\.0-service\.samsung-exynos u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
/data/vendor/display/\.displaymodedefault                           u:object_r:livedisplay_data_file:s0
/data/misc/display(/.*)? u:object_r:display_misc_file:s0

# Touch HAL
/system/bin/hw/lineage\.touch@1\.0-service\.samsung u:object_r:hal_touch_samsung_exec:s0
@@ -21,6 +25,7 @@

# Vendor overlay
/(product|system/product)/vendor_overlay/[0-9]+/etc(/.*)? u:object_r:vendor_configs_file:s0
/(product|system/product)/vendor_overlay/[0-9]+/lib(64)?/hw u:object_r:vendor_hal_file:s0

# ZRAM
/dev/block/zram0 u:object_r:swap_block_device:s0
Loading