summaryrefslogtreecommitdiffstats
path: root/target/board/generic/sepolicy/goldfish_logcat.te
blob: a785355991c4e953a470fa4afc05da94d165d007 (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
allow goldfish_logcat serial_device:chr_file { write open };