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
3766ef05
Commit
3766ef05
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
Change-Id: Iad2bd4dc9ac64ac9a41800ff96dd9b6da358a77c
parents
8852f147
6a25a388
No related branches found
Branches containing commit
No related tags found
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 @
8852f147
### 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 @
3766ef05
...
@@ -19,7 +19,10 @@ userdebug_or_eng(`
...
@@ -19,7 +19,10 @@ userdebug_or_eng(`
# Use inherited file descriptors
# Use inherited file descriptors
allow crash_dump domain:fd use;
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)
r_dir_file(crash_dump, domain)
allow crash_dump exec_type:file r_file_perms;
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