New asec container labeling.

This patchset covers the /mnt/asec variety only.
This commit is contained in:
rpcraig 2012-07-30 14:20:40 -04:00
parent b19665c39d
commit e7e65d474f
2 changed files with 4 additions and 0 deletions

View file

@ -32,6 +32,7 @@ type anr_data_file, file_type, data_file_type, mlstrustedobject;
type tombstone_data_file, file_type, data_file_type; type tombstone_data_file, file_type, data_file_type;
# /data/app - user-installed apps # /data/app - user-installed apps
type apk_data_file, file_type, data_file_type; 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; type apk_tmp_file, file_type, data_file_type, mlstrustedobject;
# /data/dalvik-cache # /data/dalvik-cache
type dalvikcache_data_file, file_type, data_file_type; type dalvikcache_data_file, file_type, data_file_type;

View file

@ -141,3 +141,6 @@
# #
/sys/qemu_trace/process_name -- u:object_r:sysfs_writable:s0 /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 /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