summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2015-02-02 16:00:23 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-02 16:00:23 +0000
commit25f52c2e793f0145b5fffc42019a93bd5d9e8ada (patch)
treeb689bb88b8fbddde21a4a75c25f2de05bd4a437f
parent7d0089b232c9f0a60c2d01af175e161ad3375512 (diff)
parentb361572153bb7ac48a64af185fc4521d8139a8dc (diff)
downloadmako-25f52c2e793f0145b5fffc42019a93bd5d9e8ada.tar.gz
am b3615721: Merge "Allow init to rm /dev/diag"
* commit 'b361572153bb7ac48a64af185fc4521d8139a8dc': Allow init to rm /dev/diag
-rw-r--r--BoardConfig.mk1
-rw-r--r--sepolicy/init.te1
2 files changed, 2 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index c8aebdc..e8fa66f 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -112,6 +112,7 @@ BOARD_SEPOLICY_UNION += \
file.te \
file_contexts \
hostapd.te \
+ init.te \
kickstart.te \
mediaserver.te \
mpdecision.te \
diff --git a/sepolicy/init.te b/sepolicy/init.te
new file mode 100644
index 0000000..14f1b92
--- /dev/null
+++ b/sepolicy/init.te
@@ -0,0 +1 @@
+allow init diag_device:chr_file unlink;