Add functionfs access to system_server. am: 1d40154575
am: caf0139b3d
Change-Id: I874a41e0072352f5b8a0fc2b0080913c206520e1
This commit is contained in:
commit
66adf0cd34
2 changed files with 6 additions and 1 deletions
|
@ -105,7 +105,8 @@ full_treble_only(`
|
|||
-adbd
|
||||
-init
|
||||
-mediaprovider
|
||||
}functionfs:file no_rw_file_perms;
|
||||
-system_server
|
||||
} functionfs:file no_rw_file_perms;
|
||||
|
||||
# usbfs and binfmt_miscfs
|
||||
neverallow {
|
||||
|
|
|
@ -761,6 +761,10 @@ userdebug_or_eng(`
|
|||
allow system_server mediaextractor_update_service:service_manager find;
|
||||
')
|
||||
|
||||
# UsbDeviceManager uses /dev/usb-ffs
|
||||
allow system_server functionfs:dir search;
|
||||
allow system_server functionfs:file rw_file_perms;
|
||||
|
||||
###
|
||||
### Neverallow rules
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue