Allow system_server access to system logs
This is enabled for debugging purposes only. Since kernel buffer for logs is small, this will allow external services to capture a bit of data so it can be reported later. Change-Id: I588eb91159e6aad07ead9afab9759764b8b3520d
This commit is contained in:
parent
4925574d9d
commit
71016f7cc8
1 changed files with 3 additions and 0 deletions
|
@ -432,6 +432,9 @@ userdebug_or_eng(`
|
|||
# Allow system server to create and write method traces in /data/misc/trace.
|
||||
allow system_server method_trace_data_file:dir w_dir_perms;
|
||||
allow system_server method_trace_data_file:file { create w_file_perms };
|
||||
|
||||
# Allow system server to read dmesg
|
||||
allow system_server kernel:system syslog_read;
|
||||
')
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue