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

Commit b37ac46b authored by Mark Salyzyn's avatar Mark Salyzyn Committed by Gerrit Code Review
Browse files

Merge "goldfish: logcat -Q in logd domain"

parents 708c4623 1cc7735f
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
# goldfish-logcat service:  runs logcat -Q
type goldfish_logcat, domain;
# goldfish-logcat service:  runs logcat -Q in logd domain

domain_auto_trans(init, logcat_exec, goldfish_logcat)
domain_auto_trans(init, logcat_exec, logd)

# Read from logd.
read_logd(goldfish_logcat)
read_logd(logd)

# Write to /dev/ttyS2 and /dev/ttyGF2.
allow goldfish_logcat serial_device:chr_file { write open };
allow logd serial_device:chr_file { write open };