Allow system_server to remove files in /data/misc/wmtrace/* am: df8d4b87ef

am: 063ad62779

Change-Id: I8a0c87edb40473896bb304e09f81e187f9bac15b
This commit is contained in:
Vishnu Nair 2017-11-21 03:20:56 +00:00 committed by android-build-merger
commit 06d0fdc998

View file

@ -642,9 +642,9 @@ userdebug_or_eng(`
# Allow system server to read dmesg
allow system_server kernel:system syslog_read;
# Allow writing window traces in /data/misc/wmtrace.
# Allow writing and removing window traces in /data/misc/wmtrace.
allow system_server wm_trace_data_file:dir rw_dir_perms;
allow system_server wm_trace_data_file:file { getattr setattr create w_file_perms };
allow system_server wm_trace_data_file:file { getattr setattr create unlink w_file_perms };
')
# For AppFuse.