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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matombo
AndroidSystemSEPolicy
Commits
02656ef7
Commit
02656ef7
authored
Sep 22, 2016
by
Felipe Leme
Committed by
android-build-merger
Sep 22, 2016
Browse files
Options
Downloads
Plain Diff
Merge "Let system_server writes to dumpstate.options property." am:
60c436cb
am:
7ba85b1c
am:
1bca4117
Change-Id: Ifc83a9abdfae96aa074d9c42f8b839a1a918241b
parents
fe92ded5
1bca4117
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
dumpstate.te
+2
-0
2 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
system_server.te
+1
-0
1 addition, 0 deletions
system_server.te
with
5 additions
and
0 deletions
dumpstate.te
+
2
−
0
View file @
02656ef7
...
...
@@ -170,6 +170,8 @@ 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)
# dumpstate_options_prop is used to pass extra command-line args.
set_prop(dumpstate, dumpstate_options_prop)
# systrace support - allow atrace to run
allow dumpstate debugfs_tracing:dir r_dir_perms;
...
...
...
...
This diff is collapsed.
Click to expand it.
property.te
+
1
−
0
View file @
02656ef7
...
...
@@ -2,6 +2,7 @@ type default_prop, property_type, core_property_type;
type shell_prop, property_type, core_property_type;
type debug_prop, property_type, core_property_type;
type dumpstate_prop, property_type, core_property_type;
type dumpstate_options_prop, property_type;
type persist_debug_prop, property_type, core_property_type;
type debuggerd_prop, property_type, core_property_type;
type dhcp_prop, property_type, core_property_type;
...
...
...
...
This diff is collapsed.
Click to expand it.
property_contexts
+
1
−
0
View file @
02656ef7
...
...
@@ -32,6 +32,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
dumpstate.options u:object_r:dumpstate_options_prop:s0
log. u:object_r:log_prop:s0
log.tag u:object_r:log_tag_prop:s0
log.tag.WifiHAL u:object_r:wifi_log_prop:s0
...
...
...
...
This diff is collapsed.
Click to expand it.
system_server.te
+
1
−
0
View file @
02656ef7
...
...
@@ -349,6 +349,7 @@ set_prop(system_server, powerctl_prop)
set_prop(system_server, fingerprint_prop)
set_prop(system_server, device_logging_prop)
set_prop(system_server, wifi_prop)
set_prop(system_server, dumpstate_options_prop)
userdebug_or_eng(`set_prop(system_server, wifi_log_prop)')
# ctl interface
...
...
...
...
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