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
8cf8a9d0
Commit
8cf8a9d0
authored
9 years ago
by
Felipe Leme
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
Increase communication surface between dumpstate and Shell:
am:
83fd8a54
* commit '
83fd8a54
': Increase communication surface between dumpstate and Shell:
parents
0676757d
83fd8a54
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dumpstate.te
+4
-0
4 additions, 0 deletions
dumpstate.te
property.te
+1
-0
1 addition, 0 deletions
property.te
property_contexts
+1
-0
1 addition, 0 deletions
property_contexts
shell.te
+2
-0
2 additions, 0 deletions
shell.te
with
8 additions
and
0 deletions
dumpstate.te
+
4
−
0
View file @
8cf8a9d0
...
...
@@ -111,3 +111,7 @@ allow dumpstate { service_manager_type -gatekeeper_service }:service_manager fin
allow dumpstate servicemanager:service_manager list;
allow dumpstate devpts:chr_file rw_file_perms;
# Set properties.
# dumpstate_prop is used to share state with the Shell app.
set_prop(dumpstate, dumpstate_prop)
This diff is collapsed.
Click to expand it.
property.te
+
1
−
0
View file @
8cf8a9d0
type default_prop, property_type;
type shell_prop, property_type;
type debug_prop, property_type;
type dumpstate_prop, property_type;
type persist_debug_prop, property_type;
type debuggerd_prop, property_type;
type dhcp_prop, property_type;
...
...
This diff is collapsed.
Click to expand it.
property_contexts
+
1
−
0
View file @
8cf8a9d0
...
...
@@ -29,6 +29,7 @@ bluetooth. u:object_r:bluetooth_prop:s0
debug. u:object_r:debug_prop:s0
debug.db. u:object_r:debuggerd_prop:s0
dumpstate. u:object_r:dumpstate_prop:s0
log. u:object_r:shell_prop:s0
service.adb.root u:object_r:shell_prop:s0
service.adb.tcp.port u:object_r:shell_prop:s0
...
...
This diff is collapsed.
Click to expand it.
shell.te
+
2
−
0
View file @
8cf8a9d0
...
...
@@ -62,7 +62,9 @@ r_dir_file(shell, apk_data_file)
# Set properties.
set_prop(shell, shell_prop)
set_prop(shell, ctl_bugreport_prop)
set_prop(shell, ctl_dumpstate_prop)
set_prop(shell, dumpstate_prop)
set_prop(shell, debug_prop)
set_prop(shell, powerctl_prop)
...
...
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