Merge "logpersist: introduce split to logcat and logpersist domains" am: 04f2cbd92a am: 76b36cfb98

am: 76e0e2a53e

Change-Id: I306a26f8e8b6743b5e6c17c73bcfcb889c2f22e0
This commit is contained in:
Mark Salyzyn 2016-12-20 22:20:23 +00:00 committed by android-build-merger
commit f4f347cf06
2 changed files with 12 additions and 11 deletions

View file

@ -1,11 +0,0 @@
# goldfish logcat service: runs logcat -Q in logd domain
# See global logd.te, these only set for eng & userdebug, allow for all builds
domain_auto_trans(init, logcat_exec, logd)
# Read from logd.
read_logd(logd)
# Write to /dev/ttyS2 and /dev/ttyGF2.
allow logd serial_device:chr_file { write open };

View file

@ -0,0 +1,12 @@
# goldfish logcat service: runs logcat -Q in logpersist domain
# See global logcat.te/logpersist.te, only set for eng & userdebug,
# allow for all builds in a non-conflicting manner.
domain_auto_trans(init, logcat_exec, logpersist)
# Read from logd.
unix_socket_connect(logpersist, logdr, logd)
# Write to /dev/ttyS2 and /dev/ttyGF2.
allow logpersist serial_device:chr_file { write open };