Skip to content
Snippets Groups Projects
Commit 66adf0cd authored by Jerry Zhang's avatar Jerry Zhang Committed by android-build-merger
Browse files

Add functionfs access to system_server. am: 1d401545

am: caf0139b

Change-Id: I874a41e0072352f5b8a0fc2b0080913c206520e1
parents 8ded6f42 caf0139b
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,8 @@ full_treble_only(` ...@@ -105,7 +105,8 @@ full_treble_only(`
-adbd -adbd
-init -init
-mediaprovider -mediaprovider
}functionfs:file no_rw_file_perms; -system_server
} functionfs:file no_rw_file_perms;
# usbfs and binfmt_miscfs # usbfs and binfmt_miscfs
neverallow { neverallow {
......
...@@ -761,6 +761,10 @@ userdebug_or_eng(` ...@@ -761,6 +761,10 @@ userdebug_or_eng(`
allow system_server mediaextractor_update_service:service_manager find; 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 ### Neverallow rules
### ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment