Skip to content
Snippets Groups Projects
Commit 007586d9 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

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
parent f0264fe2
No related branches found
No related tags found
No related merge requests found
......@@ -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
###
......
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