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
d7e004eb
Commit
d7e004eb
authored
10 years ago
by
Nick Kralevich
Committed by
Iliyan Malchev
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
allow coredump functionality
Change-Id: I7993698ac96f21db0039681275280dbd43ff61ba
parent
f7ccfd00
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
domain.te
+4
-0
4 additions, 0 deletions
domain.te
file.te
+2
-0
2 additions, 0 deletions
file.te
file_contexts
+3
-0
3 additions, 0 deletions
file_contexts
with
9 additions
and
0 deletions
domain.te
+
4
−
0
View file @
d7e004eb
...
@@ -59,6 +59,10 @@ userdebug_or_eng(`
...
@@ -59,6 +59,10 @@ userdebug_or_eng(`
# allow "gdbserver --attach" to work for su.
# allow "gdbserver --attach" to work for su.
allow domain su:process sigchld;
allow domain su:process sigchld;
# Allow writing coredumps to /cores/*
allow domain coredump_file:file create_file_perms;
allow domain coredump_file:dir ra_dir_perms;
')
')
###
###
...
...
This diff is collapsed.
Click to expand it.
file.te
+
2
−
0
View file @
d7e004eb
...
@@ -43,6 +43,8 @@ type usbfs, fs_type;
...
@@ -43,6 +43,8 @@ type usbfs, fs_type;
type unlabeled, file_type;
type unlabeled, file_type;
# Default type for anything under /system.
# Default type for anything under /system.
type system_file, file_type;
type system_file, file_type;
# /cores for coredumps on userdebug / eng builds
type coredump_file, file_type;
# Default type for anything under /data.
# Default type for anything under /data.
type system_data_file, file_type, data_file_type;
type system_data_file, file_type, data_file_type;
# /data/.layout_version or other installd-created files that
# /data/.layout_version or other installd-created files that
...
...
This diff is collapsed.
Click to expand it.
file_contexts
+
3
−
0
View file @
d7e004eb
...
@@ -218,6 +218,9 @@
...
@@ -218,6 +218,9 @@
/data/misc/wifi/hostapd(/.*)? u:object_r:wpa_socket:s0
/data/misc/wifi/hostapd(/.*)? u:object_r:wpa_socket:s0
/data/misc/zoneinfo(/.*)? u:object_r:zoneinfo_data_file:s0
/data/misc/zoneinfo(/.*)? u:object_r:zoneinfo_data_file:s0
# coredump directory for userdebug/eng devices
/cores(/.*)? u:object_r:coredump_file:s0
# Wallpaper file for other users
# Wallpaper file for other users
/data/system/users/[0-9]+/wallpaper u:object_r:wallpaper_file:s0
/data/system/users/[0-9]+/wallpaper u:object_r:wallpaper_file:s0
#############################
#############################
...
...
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