Merge "Add initial sepolicy for app data snapshots." am: 9e332a59b2
am: 169013e771
am: dc5ac5b634
Change-Id: Ie12c803c3a8d1ad67bda34bb94491e99f0b24aae
This commit is contained in:
commit
3106519cd5
3 changed files with 10 additions and 0 deletions
|
@ -16,3 +16,7 @@ type debugfs_kcov, fs_type, debugfs_type;
|
|||
# App executable files in /data/data directories
|
||||
type app_exec_data_file, file_type, data_file_type, core_data_file_type;
|
||||
typealias app_exec_data_file alias rs_data_file;
|
||||
|
||||
# /data/misc_[ce|de]/rollback : Used by installd to store snapshots
|
||||
# of application data.
|
||||
type rollback_data_file, file_type, data_file_type, core_data_file_type;
|
||||
|
|
|
@ -513,6 +513,10 @@
|
|||
# Bootchart data
|
||||
/data/bootchart(/.*)? u:object_r:bootchart_data_file:s0
|
||||
|
||||
# App data snapshots (managed by installd).
|
||||
/data/misc_de/[0-9]+/rollback(/.*)? u:object_r:rollback_data_file:s0
|
||||
/data/misc_ce/[0-9]+/rollback(/.*)? u:object_r:rollback_data_file:s0
|
||||
|
||||
#############################
|
||||
# Expanded data files
|
||||
#
|
||||
|
|
|
@ -17,6 +17,7 @@ allow vold_prepare_subdirs {
|
|||
face_vendor_data_file
|
||||
fingerprint_vendor_data_file
|
||||
iris_vendor_data_file
|
||||
rollback_data_file
|
||||
storaged_data_file
|
||||
vold_data_file
|
||||
}:dir { create_dir_perms relabelto };
|
||||
|
@ -24,6 +25,7 @@ allow vold_prepare_subdirs {
|
|||
face_vendor_data_file
|
||||
fingerprint_vendor_data_file
|
||||
iris_vendor_data_file
|
||||
rollback_data_file
|
||||
storaged_data_file
|
||||
system_data_file
|
||||
vold_data_file
|
||||
|
|
Loading…
Reference in a new issue