summaryrefslogtreecommitdiffstats
path: root/target/board/generic/sepolicy/goldfish_logcat.te
blob: f820c2a42bf9c45822f9ea9a2792d39cd9dd9a82 (plain)
1
2
3
4
5
6
7
8
9
10
# 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 and /dev/ttyGF2.
allow goldfish_logcat serial_device:chr_file { write open };