Skip to content
Snippets Groups Projects
Commit 60f0be84 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

logd: permit app access to clear logs

I/auditd(19949): type=1400 audit(0.0:71): avc:  denied  { write } for  comm="logcat" name="logd" dev="tmpfs" ino=5924 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file

Bug: 17323719
Change-Id: Id8399195196ffad884eef98030d544c68ed0596f
parent 09eae908
No related branches found
No related tags found
No related merge requests found
...@@ -168,6 +168,7 @@ allow appdomain domain:process getattr; ...@@ -168,6 +168,7 @@ allow appdomain domain:process getattr;
# logd access # logd access
read_logd(appdomain) read_logd(appdomain)
control_logd(appdomain)
# application inherit logd write socket (urge is to deprecate this long term) # application inherit logd write socket (urge is to deprecate this long term)
allow appdomain zygote:unix_dgram_socket write; allow appdomain zygote:unix_dgram_socket write;
......
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