summaryrefslogtreecommitdiffstats
path: root/target/board
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2015-06-03 07:50:31 -0700
committerNick Kralevich <nnk@google.com>2015-06-03 10:47:34 -0700
commit94871b94efdb7be54b0bc388c3da02b2058eaf8c (patch)
tree965fbe40241412a1d442e1793e8d10c0b1f7f187 /target/board
parent60dd04ecfc94bd732c72287349f2fb910a0bbbef (diff)
downloadbuild-94871b94efdb7be54b0bc388c3da02b2058eaf8c.zip
build-94871b94efdb7be54b0bc388c3da02b2058eaf8c.tar.gz
build-94871b94efdb7be54b0bc388c3da02b2058eaf8c.tar.bz2
goldfish: logcat -Q in logd domain
Deal with a build failure in conflict with cl/152105 (cherrypicked from commit 1cc7735ffa5194b9651429b2a96d6f6f319ca5eb) Bug: 19608716 Change-Id: I1078046db3b159c1baf0a22435c3e777424453a1
Diffstat (limited to 'target/board')
-rw-r--r--target/board/generic/sepolicy/goldfish_logcat.te9
1 files changed, 4 insertions, 5 deletions
diff --git a/target/board/generic/sepolicy/goldfish_logcat.te b/target/board/generic/sepolicy/goldfish_logcat.te
index f820c2a..88fcb79 100644
--- a/target/board/generic/sepolicy/goldfish_logcat.te
+++ b/target/board/generic/sepolicy/goldfish_logcat.te
@@ -1,10 +1,9 @@
-# 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 };