From 1cc7735ffa5194b9651429b2a96d6f6f319ca5eb Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Wed, 3 Jun 2015 07:50:31 -0700 Subject: [PATCH] goldfish: logcat -Q in logd domain Deal with a build failure in conflict with cl/152105 Bug: 19608716 Change-Id: I1078046db3b159c1baf0a22435c3e777424453a1 --- target/board/generic/sepolicy/goldfish_logcat.te | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/target/board/generic/sepolicy/goldfish_logcat.te b/target/board/generic/sepolicy/goldfish_logcat.te index f820c2a42b..88fcb79fd2 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 };