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
21047761
Commit
21047761
authored
7 years ago
by
Pavel Grafov
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Let shell and bugreport read logging related properties." into oc-dev am:
97903c05
am:
6357101a
Change-Id: I7562278705ec85f9d9aec351f732405fa6f31781
parents
0e747026
6357101a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/dumpstate.te
+3
-0
3 additions, 0 deletions
public/dumpstate.te
public/shell.te
+3
-0
3 additions, 0 deletions
public/shell.te
with
6 additions
and
0 deletions
public/dumpstate.te
+
3
−
0
View file @
21047761
...
@@ -184,6 +184,9 @@ set_prop(dumpstate, dumpstate_options_prop)
...
@@ -184,6 +184,9 @@ set_prop(dumpstate, dumpstate_options_prop)
# Read device's serial number from system properties
# Read device's serial number from system properties
get_prop(dumpstate, serialno_prop)
get_prop(dumpstate, serialno_prop)
# Read state of logging-related properties
get_prop(dumpstate, device_logging_prop)
# Access to /data/media.
# Access to /data/media.
# This should be removed if sdcardfs is modified to alter the secontext for its
# This should be removed if sdcardfs is modified to alter the secontext for its
# accesses to the underlying FS.
# accesses to the underlying FS.
...
...
This diff is collapsed.
Click to expand it.
public/shell.te
+
3
−
0
View file @
21047761
...
@@ -76,6 +76,9 @@ userdebug_or_eng(`
...
@@ -76,6 +76,9 @@ userdebug_or_eng(`
# Read device's serial number from system properties
# Read device's serial number from system properties
get_prop(shell, serialno_prop)
get_prop(shell, serialno_prop)
# Read state of logging-related properties
get_prop(shell, device_logging_prop)
# allow shell access to services
# allow shell access to services
allow shell servicemanager:service_manager list;
allow shell servicemanager:service_manager list;
# don't allow shell to access GateKeeper service
# don't allow shell to access GateKeeper service
...
...
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