Revert "selinux: Add rules for the audit daemon"
* No longer used
This reverts commit 15df17f9acf1ca652d9495218846212e682a64d5.
Change-Id: If2a187179e4c93e2afc78be4cb863a48dbbe1dd0
diff --git a/sepolicy/auditd.te b/sepolicy/auditd.te
deleted file mode 100644
index 01d5a06..0000000
--- a/sepolicy/auditd.te
+++ /dev/null
@@ -1,3 +0,0 @@
-allow logd auditd_log:dir rw_dir_perms;
-allow logd auditd_log:file create_file_perms;
-
diff --git a/sepolicy/file.te b/sepolicy/file.te
index dc8df1f..f0c5a16 100644
--- a/sepolicy/file.te
+++ b/sepolicy/file.te
@@ -1,8 +1,6 @@
# Support asec containers getting mounted
allow file_type rootfs:filesystem associate;
-type auditd_log, file_type, data_file_type;
-
# Performance settings
type sysfs_devices_system_iosched, file_type, sysfs_type;
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index fcbf6a5..8929f9d 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -2,10 +2,6 @@
/cache/recovery(/.*)? u:object_r:recovery_cache_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
-
/system/bin/sysinit u:object_r:sysinit_exec:s0
# For EXFAT/F2FS/NTFS partitions marked "formattable"