Add context for persist filesystem

Label perist firmware with seandroid context

Change-Id: I0943c4cc72f4afafb560ef3f318502b7fa94502c
This commit is contained in:
Biswajit Paul
2014-03-07 10:17:54 -08:00
committed by Avijit Kanti Das
parent 1b307e75b3
commit 45df9ab9bb
2 changed files with 4 additions and 0 deletions

View File

@@ -16,3 +16,5 @@ type sysfs_smd_open_timeout, sysfs_type, file_type;
#Define the files written during the operation of netmgrd and qmuxd
type data_test_data_file, file_type, data_file_type;
type sysrq_trigger_proc, fs_type, mlstrustedobject;
# Persist file types
type persist_file, file_type;

View File

@@ -32,3 +32,5 @@
/dev/smd.* u:object_r:smd_device:s0
/system/bin/irsc_util u:object_r:irsc_util_exec:s0
# Persist filesystem
/persist(/.*)? u:object_r:persist_file:s0