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
Werner Sembach
AndroidSystemSEPolicy
Commits
ee3c2fab
Commit
ee3c2fab
authored
Feb 19, 2014
by
Nick Kralevich
Committed by
Android Git Automerger
Feb 19, 2014
Browse files
Options
Downloads
Plain Diff
am
fb25037b
: am
116a20fd
: debuggerd: Allow "debug.db.uid" usage
* commit '
fb25037b
': debuggerd: Allow "debug.db.uid" usage
parents
bbba8b32
fb25037b
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
debuggerd.te
+5
-0
5 additions, 0 deletions
debuggerd.te
property.te
+1
-0
1 addition, 0 deletions
property.te
property_contexts
+1
-0
1 addition, 0 deletions
property_contexts
su.te
+1
-0
1 addition, 0 deletions
su.te
with
8 additions
and
0 deletions
debuggerd.te
+
5
−
0
View file @
ee3c2fab
...
@@ -24,5 +24,10 @@ allow debuggerd system_data_file:file open;
...
@@ -24,5 +24,10 @@ allow debuggerd system_data_file:file open;
# Connect to system_server via /data/system/ndebugsocket.
# Connect to system_server via /data/system/ndebugsocket.
unix_socket_connect(debuggerd, system_ndebug, system_server)
unix_socket_connect(debuggerd, system_ndebug, system_server)
userdebug_or_eng(`
allow debuggerd input_device:dir r_dir_perms;
allow debuggerd input_device:chr_file rw_file_perms;
')
# logd access
# logd access
read_logd(debuggerd)
read_logd(debuggerd)
This diff is collapsed.
Click to expand it.
property.te
+
1
−
0
View file @
ee3c2fab
type default_prop, property_type;
type default_prop, property_type;
type shell_prop, property_type;
type shell_prop, property_type;
type debug_prop, property_type;
type debug_prop, property_type;
type debuggerd_prop, property_type;
type radio_prop, property_type;
type radio_prop, property_type;
type system_prop, property_type;
type system_prop, property_type;
type vold_prop, property_type;
type vold_prop, property_type;
...
...
This diff is collapsed.
Click to expand it.
property_contexts
+
1
−
0
View file @
ee3c2fab
...
@@ -27,6 +27,7 @@ dhcp. u:object_r:system_prop:s0
...
@@ -27,6 +27,7 @@ dhcp. u:object_r:system_prop:s0
bluetooth. u:object_r:bluetooth_prop:s0
bluetooth. u:object_r:bluetooth_prop:s0
debug. u:object_r:debug_prop:s0
debug. u:object_r:debug_prop:s0
debug.db. u:object_r:debuggerd_prop:s0
log. u:object_r:shell_prop:s0
log. u:object_r:shell_prop:s0
service.adb.root 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
service.adb.tcp.port u:object_r:shell_prop:s0
...
...
This diff is collapsed.
Click to expand it.
su.te
+
1
−
0
View file @
ee3c2fab
...
@@ -16,6 +16,7 @@ userdebug_or_eng(`
...
@@ -16,6 +16,7 @@ userdebug_or_eng(`
allow su self:process execmem;
allow su self:process execmem;
tmpfs_domain(su)
tmpfs_domain(su)
allow su su_tmpfs:file execute;
allow su su_tmpfs:file execute;
allow su debuggerd_prop:property_service set;
# su is also permissive to permit setenforce.
# su is also permissive to permit setenforce.
permissive su;
permissive su;
...
...
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