Add functionfs access to system_server. am: 1d40154575

am: caf0139b3d

Change-Id: I874a41e0072352f5b8a0fc2b0080913c206520e1
This commit is contained in:
Jerry Zhang 2018-03-02 02:59:30 +00:00 committed by android-build-merger
commit 66adf0cd34
2 changed files with 6 additions and 1 deletions

View file

@ -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 {

View file

@ -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
###