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
c21e9cc1
Commit
c21e9cc1
authored
10 years ago
by
Christopher Ferris
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow debuggerd to redirect requests."
parents
566e8fe2
b51c4dd3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debuggerd.te
+4
-0
4 additions, 0 deletions
debuggerd.te
dumpstate.te
+0
-3
0 additions, 3 deletions
dumpstate.te
with
4 additions
and
3 deletions
debuggerd.te
+
4
−
0
View file @
c21e9cc1
...
@@ -22,6 +22,10 @@ allow debuggerd domain:process { sigstop signal };
...
@@ -22,6 +22,10 @@ allow debuggerd domain:process { sigstop signal };
allow debuggerd exec_type:file r_file_perms;
allow debuggerd exec_type:file r_file_perms;
# Access app library
# Access app library
allow debuggerd system_data_file:file open;
allow debuggerd system_data_file:file open;
# Allow debuggerd to redirect a dump_backtrace request to itself.
# This only happens on 64 bit systems, where all requests go to the 64 bit
# debuggerd and get redirected to the 32 bit debuggerd if the process is 32 bit.
allow debuggerd { drmserver mediaserver sdcardd surfaceflinger inputflinger }:debuggerd dump_backtrace;
# 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)
...
...
This diff is collapsed.
Click to expand it.
dumpstate.te
+
0
−
3
View file @
c21e9cc1
...
@@ -104,9 +104,6 @@ allow dumpstate net_data_file:file r_file_perms;
...
@@ -104,9 +104,6 @@ allow dumpstate net_data_file:file r_file_perms;
allow dumpstate tombstone_data_file:dir r_dir_perms;
allow dumpstate tombstone_data_file:dir r_dir_perms;
allow dumpstate tombstone_data_file:file r_file_perms;
allow dumpstate tombstone_data_file:file r_file_perms;
# Access /system/bin executables to determine type of executable.
allow dumpstate {drmserver_exec mediaserver_exec sdcardd_exec surfaceflinger_exec}:file r_file_perms;
allow dumpstate {
allow dumpstate {
drmserver_service
drmserver_service
healthd_service
healthd_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