Merge "[ALPS02333452] Android p selinux change" into alps-trunk-p0.basic

Change-Id: I90ba07ad5f680d5354c5a72fec25b3999655e405
MTK-Commit-Id: 38a69e8e53734da023668e63f0885aed14a21fcc
This commit is contained in:
Amit Singh 2020-01-18 09:38:15 +08:00 committed by Gerrit Code Review
commit ca7b506c0b
3 changed files with 9 additions and 1 deletions

View File

@ -3,4 +3,4 @@
# ====================== # ======================
# =======drmserver====== # =======drmserver======
#allow drmserver sysfs:file { read open }; allow drmserver access_sys_file:file { read open };

6
plat_private/file.te Executable file
View File

@ -0,0 +1,6 @@
# ==============================================
# MTK Policy Rule
# ==============================================
# For drmserver
type access_sys_file, fs_type, sysfs_type;

View File

@ -44,3 +44,5 @@
#MTK vibrator #MTK vibrator
/sys/devices/platform/vibrator@0/leds/vibrator(/.*)? u:object_r:sysfs_vibrator:s0 /sys/devices/platform/vibrator@0/leds/vibrator(/.*)? u:object_r:sysfs_vibrator:s0
/sys/block/mmcblk0rpmb/size u:object_r:access_sys_file:s0