Skip to content
Snippets Groups Projects
Commit 41cccd87 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 am: ed88246c

am: e786cbfc

Change-Id: I5978af4044cd59f853a82d2397bb700ebe907433
parents 6c43be59 e786cbfc
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ auditallow { domain_deprecated -appdomain -netd -surfaceflinger } system_server: ...@@ -26,7 +26,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