Add adbd socket perms to system_server.
am: b037a6c94b
* commit 'b037a6c94b357c9a85d13dde548f5799c592c6ac':
Add adbd socket perms to system_server.
This commit is contained in:
commit
c37fa20383
1 changed files with 6 additions and 0 deletions
|
@ -443,6 +443,12 @@ userdebug_or_eng(`
|
|||
allow system_server vold:fd use;
|
||||
allow system_server fuse_device:chr_file { read write ioctl };
|
||||
|
||||
# Connect to adbd and use a socket transferred from it.
|
||||
# Used for e.g. jdwp.
|
||||
allow system_server adbd:unix_stream_socket connectto;
|
||||
allow system_server adbd:fd use;
|
||||
allow system_server adbd:unix_stream_socket { getattr getopt ioctl read write shutdown };
|
||||
|
||||
###
|
||||
### Neverallow rules
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue