From e7e65d474f6d547c8bafd3095e63855f39c68d6e Mon Sep 17 00:00:00 2001
From: rpcraig <rpcraig@tycho.ncsc.mil>
Date: Mon, 30 Jul 2012 14:20:40 -0400
Subject: [PATCH] New asec container labeling.

This patchset covers the /mnt/asec variety only.
---
 file.te       | 1 +
 file_contexts | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/file.te b/file.te
index 132f9ea79..4afaefdbf 100644
--- a/file.te
+++ b/file.te
@@ -32,6 +32,7 @@ type anr_data_file, file_type, data_file_type, mlstrustedobject;
 type tombstone_data_file, file_type, data_file_type;
 # /data/app - user-installed apps
 type apk_data_file, file_type, data_file_type;
+type asec_data_file, file_type, data_file_type;
 type apk_tmp_file, file_type, data_file_type, mlstrustedobject;
 # /data/dalvik-cache
 type dalvikcache_data_file, file_type, data_file_type;
diff --git a/file_contexts b/file_contexts
index f7abbb76c..ecf6e2222 100644
--- a/file_contexts
+++ b/file_contexts
@@ -141,3 +141,6 @@
 #
 /sys/qemu_trace/process_name	--	u:object_r:sysfs_writable:s0
 /sys/devices/platform/nfc-power/nfc_power -- u:object_r:sysfs_nfc_power_writable:s0
+#############################
+# asec containers
+/mnt/asec(/.*)?         u:object_r:asec_data_file:s0
-- 
GitLab