Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
f111d2fa
Commit
f111d2fa
authored
10 years ago
by
dcashman
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Downloads
Plain Diff
am
5fef2de3
: Allow shell to find all services.
* commit '
5fef2de3
': Allow shell to find all services.
parents
77e19521
5fef2de3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
shell.te
+2
-4
2 additions, 4 deletions
shell.te
with
2 additions
and
4 deletions
shell.te
+
2
−
4
View file @
f111d2fa
...
...
@@ -47,9 +47,6 @@ allow shell ctl_dumpstate_prop:property_service set;
allow shell debug_prop:property_service set;
allow shell powerctl_prop:property_service set;
allow shell system_server_service:service_manager find;
allow shell tmp_system_server_service:service_manager find;
# systrace support - allow atrace to run
# debugfs doesn't support labeling individual files, so we have
# to grant read access to all of /sys/kernel/debug.
...
...
@@ -60,8 +57,9 @@ allow shell debugfs:file r_file_perms;
# allow shell to run dmesg
allow shell kernel:system syslog_read;
# allow shell
to list
services
# allow shell
access to
services
allow shell servicemanager:service_manager list;
allow shell service_manager_type:service_manager find;
# allow shell to look through /proc/ for ps, top
allow shell domain:dir { search open read getattr };
...
...
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
register
or
sign in
to comment