Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76e0e2a5 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "logpersist: introduce split to logcat and logpersist domains" am: 04f2cbd9

am: 76b36cfb

Change-Id: Iec4ad75f0cd7d7171b506df7ea529a8152e3f4f5
parents 9876e648 76b36cfb
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
# 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 };
+12 −0
Original line number Diff line number Diff line
# 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 };