selinux: Add rules for the audit daemon
Change-Id: I050a9ef39d58d2592d880d225d45eb64d8a40b7b
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index e23df31..9e7f998 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,5 +1,9 @@
/cache/dalvik-cache(/.*)? u:object_r:dalvikcache_data_file:s0
+# Auditd is a logging daemon. Put it into logd's context
+/system/bin/auditd u:object_r:logd_exec:s0
+/data/misc/audit(/.*)? u:object_r:auditd_log:s0
+
#############################
# performance-related sysfs files (CM)
/sys/kernel/mm/ksm(/.*)? -- u:object_r:sysfs_writable:s0