logpersist is now a shell script, so give it the appropriate permissions

Test: logcatd / logpersist work
Change-Id: Id283e24b0b48ddfa056ff842eecb51ee52b44c5e
This commit is contained in:
Tom Cherry 2019-10-30 13:54:35 -07:00
parent 8e9b37da04
commit bf2f37325b

View file

@ -1,6 +1,10 @@
# android debug logging, logpersist domains
type logpersist, domain;
# logcatd is a shell script that execs logcat with various parameters.
allow logpersist shell_exec:file rx_file_perms;
allow logpersist logcat_exec:file rx_file_perms;
###
### Neverallow rules
###