aboutsummaryrefslogtreecommitdiffstats
path: root/vold.te
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2013-05-09 12:39:32 -0700
committerAlex Klyubin <klyubin@google.com>2013-05-09 12:39:32 -0700
commit77ec892be6b59e2808cc4c3472bf179d33851ebe (patch)
treeaa228c00da8dc8b1707648b6349f83208f3254af /vold.te
parent5d54d483a0f2907e0e32c798c908a4cea4a426eb (diff)
downloadandroid_external_sepolicy-77ec892be6b59e2808cc4c3472bf179d33851ebe.tar.gz
android_external_sepolicy-77ec892be6b59e2808cc4c3472bf179d33851ebe.tar.bz2
android_external_sepolicy-77ec892be6b59e2808cc4c3472bf179d33851ebe.zip
SELinux policy for users of libcutils klog_write.
klog_write/init create /dev/__kmsg__ backed by a kernel character device, keep the file descriptor, and then immediately unlink the file. Change-Id: I729d224347a003eaca29299d216a53c99cc3197c
Diffstat (limited to 'vold.te')
-rw-r--r--vold.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/vold.te b/vold.te
index 95865fb..26532c1 100644
--- a/vold.te
+++ b/vold.te
@@ -32,6 +32,8 @@ allow vold self:capability { sys_boot };
# XXX Label sysfs files with a specific type?
allow vold sysfs:file rw_file_perms;
+write_klog(vold)
+
#
# Rules to support encrypted fs support.
#