Skip to content
Snippets Groups Projects
Commit a883c386 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

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
......@@ -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.
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment