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
6e2f89dc
Commit
6e2f89dc
authored
8 years ago
by
Josh Gao
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge changes from topic 'crash_dump_append' am:
cce8513c
am:
6a25a388
am:
3766ef05
am:
b569f770
Change-Id: Id1a8279bbf42a22bc4283b17d20b0e8ceca38795
parents
0ddf8a95
b569f770
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/crash_dump.te
+0
-4
0 additions, 4 deletions
private/crash_dump.te
public/crash_dump.te
+4
-1
4 additions, 1 deletion
public/crash_dump.te
with
4 additions
and
5 deletions
private/crash_dump.te
deleted
100644 → 0
+
0
−
4
View file @
0ddf8a95
### HACK: Make crash_dump permissive temporarily to catch denials without breaking backtraces.
userdebug_or_eng(`
permissive crash_dump;
')
This diff is collapsed.
Click to expand it.
public/crash_dump.te
+
4
−
1
View file @
6e2f89dc
...
...
@@ -19,7 +19,10 @@ userdebug_or_eng(`
# Use inherited file descriptors
allow crash_dump domain:fd use;
allow crash_dump domain:fifo_file write;
# Write to the IPC pipe inherited from crashing processes.
# Append to pipes given to us by processes requesting dumps (e.g. dumpstate)
allow crash_dump domain:fifo_file { write 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