android_build/target/board/generic/sepolicy/goldfish_logcat.te

11 lines
258 B
Plaintext

# goldfish-logcat service: runs logcat -Q
type goldfish_logcat, domain;
domain_auto_trans(init, logcat_exec, goldfish_logcat)
# Read from logd.
read_logd(goldfish_logcat)
# Write to /dev/ttyS2
allow goldfish_logcat serial_device:chr_file { write open };