Skip to content
Snippets Groups Projects
Commit ed88246c authored by Yabin Cui's avatar Yabin Cui Committed by android-build-merger
Browse files

Avoid audit when running `adb shell -t run-as xxx`. am: 3b7d9e49

am: 6e46ccdf

Change-Id: I5241333ec9099c7db3154cfcdb41003c65e235a0
parents 29713c8d 6e46ccdf
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ auditallow { domain_deprecated -appdomain -netd -surfaceflinger } system_server: ...@@ -25,7 +25,7 @@ auditallow { domain_deprecated -appdomain -netd -surfaceflinger } system_server:
# This is used for e.g. adb backup/restore. # This is used for e.g. adb backup/restore.
allow domain_deprecated adbd:fd use; allow domain_deprecated adbd:fd use;
userdebug_or_eng(` userdebug_or_eng(`
auditallow { domain_deprecated -appdomain -system_server } adbd:fd use; auditallow { domain_deprecated -appdomain -system_server -runas } adbd:fd use;
') ')
# Root fs. # Root fs.
......
type runas, domain, mlstrustedsubject; type runas, domain, mlstrustedsubject;
type runas_exec, exec_type, file_type; type runas_exec, exec_type, file_type;
allow runas adbd:fd use;
allow runas adbd:process sigchld; allow runas adbd:process sigchld;
allow runas adbd:unix_stream_socket { read write }; allow runas adbd:unix_stream_socket { read write };
allow runas shell:fd use; allow runas shell:fd use;
......
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