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

Commit ac8d0953 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

selinux: Add CM-specific file_contexts

Change-Id: Ie70c59acedbb7be2f5b34a83c1d3d011f440ba05
parent 75fb1555
Loading
Loading
Loading
Loading

sepolicy/file_contexts

0 → 100644
+8 −0
Original line number Diff line number Diff line
/cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0

#############################
# performance-related sysfs files (CM)
/sys/kernel/mm/ksm(/.*)?       --          u:object_r:sysfs_writable:s0
/sys/devices/system/cpu.*/cpufreq(/.*)? --  u:object_r:sysfs_writable:s0
/sys/block/mmcblk0/queue/scheduler  --    u:object_r:sysfs_writable:s0
+1 −0
Original line number Diff line number Diff line
@@ -7,5 +7,6 @@ BOARD_SEPOLICY_DIRS += \
    vendor/cm/sepolicy

BOARD_SEPOLICY_UNION += \
    file_contexts \
    seapp_contexts \
    mac_permissions.xml