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
ccb67ab8
Commit
ccb67ab8
authored
7 years ago
by
Josh Gao
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
crash_dump: allow reading from pipes. am:
914a7fb9
am:
d7ff4d0b
Change-Id: I72c5e0a1278e164a3889f610bd91c53fb523b9c0
parents
a7f988d0
d7ff4d0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/crash_dump.te
+4
-2
4 additions, 2 deletions
public/crash_dump.te
with
4 additions
and
2 deletions
public/crash_dump.te
+
4
−
2
View file @
ccb67ab8
...
...
@@ -23,9 +23,11 @@ userdebug_or_eng(`
# Use inherited file descriptors
allow crash_dump domain:fd use;
# Write to the IPC pipe inherited from crashing processes.
# Read/write IPC pipes inherited from crashing processes.
allow crash_dump domain:fifo_file { read write };
# Append to pipes given to us by processes requesting dumps (e.g. dumpstate)
allow crash_dump domain:fifo_file {
write
append };
allow crash_dump domain:fifo_file { append };
r_dir_file(crash_dump, domain)
allow crash_dump exec_type:file r_file_perms;
...
...
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