Add adbd socket perms to system_server.

am: b037a6c94b

* commit 'b037a6c94b357c9a85d13dde548f5799c592c6ac':
  Add adbd socket perms to system_server.
This commit is contained in:
dcashman 2016-01-26 01:42:44 +00:00 committed by android-build-merger
commit c37fa20383

View file

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