Skip to content
Snippets Groups Projects
Commit a6b8414b 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

am: 66adf0cd

Change-Id: I88a90ad2fc9243724e4ddb6f9da469857ffd115b
parents 4eb92dc1 66adf0cd
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 {
......
...@@ -764,6 +764,10 @@ userdebug_or_eng(` ...@@ -764,6 +764,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