Allow adbd to use a socket transferred from shell.
Used for e.g. abb. Test: Build, flash and boot, use `adb abb` to verify Change-Id: I4ad75498819edbcc0303f66420a58d06788ab5fb
This commit is contained in:
parent
f0264fe2e9
commit
007586d92d
1 changed files with 5 additions and 0 deletions
|
@ -167,6 +167,11 @@ allow adbd rootfs:dir r_dir_perms;
|
|||
allow adbd perfetto_traces_data_file:file r_file_perms;
|
||||
allow adbd perfetto_traces_data_file:dir r_dir_perms;
|
||||
|
||||
# Connect to shell and use a socket transferred from it.
|
||||
# Used for e.g. abb.
|
||||
allow adbd shell:unix_stream_socket { read write };
|
||||
allow adbd shell:fd use;
|
||||
|
||||
###
|
||||
### Neverallow rules
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue