sdm710-common: sepolicy: Address neverallows
This commit is contained in:
parent
d315f08575
commit
3e5e42415f
3 changed files with 4 additions and 1 deletions
|
@ -2,5 +2,5 @@ type adsprpcd_file, file_type;
|
|||
type bt_firmware_file, file_type;
|
||||
type firmware_file, file_type;
|
||||
type persist_file, file_type;
|
||||
type sysfs_graphics, sysfs_type, fs_type;
|
||||
type sysfs_white_led, sysfs_type, fs_type;
|
||||
|
||||
|
|
|
@ -6,3 +6,4 @@
|
|||
/dsp(/.*)? u:object_r:adsprpcd_file:s0
|
||||
/firmware(/.*)? u:object_r:firmware_file:s0
|
||||
/persist(/.*)? u:object_r:persist_file:s0
|
||||
|
||||
|
|
2
sepolicy/private/init.te
Normal file
2
sepolicy/private/init.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Allow init to chown/chmod on pseudo files in /sys
|
||||
allow init sysfs_graphics:file { open read setattr };
|
Loading…
Reference in a new issue