Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Matombo
AndroidSystemSEPolicy
Commits
ed88246c
Commit
ed88246c
authored
Jun 20, 2017
by
Yabin Cui
Committed by
android-build-merger
Jun 20, 2017
Browse files
Options
Downloads
Plain Diff
Avoid audit when running `adb shell -t run-as xxx`. am:
3b7d9e49
am:
6e46ccdf
Change-Id: I5241333ec9099c7db3154cfcdb41003c65e235a0
parents
29713c8d
6e46ccdf
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/domain_deprecated.te
+1
-1
1 addition, 1 deletion
private/domain_deprecated.te
public/runas.te
+1
-0
1 addition, 0 deletions
public/runas.te
with
2 additions
and
1 deletion
private/domain_deprecated.te
+
1
−
1
View file @
ed88246c
...
...
@@ -25,7 +25,7 @@ auditallow { domain_deprecated -appdomain -netd -surfaceflinger } system_server:
# This is used for e.g. adb backup/restore.
allow domain_deprecated adbd:fd use;
userdebug_or_eng(`
auditallow { domain_deprecated -appdomain -system_server } adbd:fd use;
auditallow { domain_deprecated -appdomain -system_server
-runas
} adbd:fd use;
')
# Root fs.
...
...
...
...
This diff is collapsed.
Click to expand it.
public/runas.te
+
1
−
0
View file @
ed88246c
type runas, domain, mlstrustedsubject;
type runas_exec, exec_type, file_type;
allow runas adbd:fd use;
allow runas adbd:process sigchld;
allow runas adbd:unix_stream_socket { read write };
allow runas shell:fd use;
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment