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
a883c386
Commit
a883c386
authored
12 years ago
by
Stephen Smalley
Browse files
Options
Downloads
Patches
Plain Diff
Allow apps to write to anr_data_file for /data/anr/traces.txt.
parent
124720a6
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
app.te
+4
-0
4 additions, 0 deletions
app.te
file.te
+1
-1
1 addition, 1 deletion
file.te
with
5 additions
and
1 deletion
app.te
+
4
−
0
View file @
a883c386
...
...
@@ -99,6 +99,10 @@ allow appdomain system_data_file:dir r_dir_perms;
# Read/write wallpaper file (opened by system).
allow appdomain wallpaper_file:file { read write };
# Write to /data/anr/traces.txt.
allow appdomain anr_data_file:dir search;
allow appdomain anr_data_file:file { open append };
# Use the Binder.
binder_use(appdomain)
# Perform binder IPC to binder services.
...
...
This diff is collapsed.
Click to expand it.
file.te
+
1
−
1
View file @
a883c386
...
...
@@ -26,7 +26,7 @@ type system_data_file, file_type, data_file_type;
# /data/drm - DRM plugin data
type drm_data_file, file_type, data_file_type;
# /data/anr - ANR traces
type anr_data_file, file_type, data_file_type;
type anr_data_file, file_type, data_file_type
, mlstrustedobject
;
# /data/tombstones - core dumps
type tombstone_data_file, file_type, data_file_type;
# /data/app - user-installed apps
...
...
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