2017-10-13 23:54:32 +02:00
|
|
|
domain_auto_trans(vold, vold_prepare_subdirs_exec, vold_prepare_subdirs)
|
2017-10-19 23:41:37 +02:00
|
|
|
|
2017-10-25 22:03:24 +02:00
|
|
|
allow vold_prepare_subdirs system_file:file execute_no_trans;
|
|
|
|
allow vold_prepare_subdirs shell_exec:file rx_file_perms;
|
|
|
|
allow vold_prepare_subdirs toolbox_exec:file rx_file_perms;
|
|
|
|
allow vold_prepare_subdirs devpts:chr_file rw_file_perms;
|
|
|
|
allow vold_prepare_subdirs vold:fd use;
|
|
|
|
allow vold_prepare_subdirs vold:fifo_file { read write };
|
|
|
|
allow vold_prepare_subdirs file_contexts_file:file r_file_perms;
|
2018-09-07 00:19:40 +02:00
|
|
|
allow vold_prepare_subdirs self:global_capability_class_set { chown dac_override dac_read_search fowner };
|
2017-10-25 22:03:24 +02:00
|
|
|
allow vold_prepare_subdirs self:process setfscreate;
|
2018-02-08 01:29:06 +01:00
|
|
|
allow vold_prepare_subdirs {
|
|
|
|
system_data_file
|
|
|
|
vendor_data_file
|
2018-04-16 23:50:38 +02:00
|
|
|
}:dir { open read write add_name remove_name rmdir relabelfrom };
|
2018-04-26 22:41:13 +02:00
|
|
|
allow vold_prepare_subdirs {
|
2019-11-19 19:10:16 +01:00
|
|
|
apex_module_data_file
|
2020-01-17 00:47:02 +01:00
|
|
|
apex_permission_data_file
|
2019-12-02 19:29:48 +01:00
|
|
|
apex_rollback_data_file
|
2019-01-15 22:20:13 +01:00
|
|
|
backup_data_file
|
2018-11-16 00:28:07 +01:00
|
|
|
face_vendor_data_file
|
2018-11-19 19:42:11 +01:00
|
|
|
fingerprint_vendor_data_file
|
2018-11-16 00:28:07 +01:00
|
|
|
iris_vendor_data_file
|
2019-01-14 16:02:12 +01:00
|
|
|
rollback_data_file
|
2018-04-26 22:41:13 +02:00
|
|
|
storaged_data_file
|
|
|
|
vold_data_file
|
|
|
|
}:dir { create_dir_perms relabelto };
|
|
|
|
allow vold_prepare_subdirs {
|
2019-11-19 19:10:16 +01:00
|
|
|
apex_module_data_file
|
2020-01-17 00:47:02 +01:00
|
|
|
apex_permission_data_file
|
2019-12-02 19:29:48 +01:00
|
|
|
apex_rollback_data_file
|
2019-01-15 22:20:13 +01:00
|
|
|
backup_data_file
|
2018-11-16 00:28:07 +01:00
|
|
|
face_vendor_data_file
|
2018-11-19 19:42:11 +01:00
|
|
|
fingerprint_vendor_data_file
|
2018-11-16 00:28:07 +01:00
|
|
|
iris_vendor_data_file
|
2019-01-14 16:02:12 +01:00
|
|
|
rollback_data_file
|
2018-04-26 22:41:13 +02:00
|
|
|
storaged_data_file
|
|
|
|
system_data_file
|
|
|
|
vold_data_file
|
|
|
|
}:file { getattr unlink };
|
2019-11-19 19:10:16 +01:00
|
|
|
allow vold_prepare_subdirs apex_mnt_dir:dir { open read };
|
2019-05-09 19:43:59 +02:00
|
|
|
|
|
|
|
dontaudit vold_prepare_subdirs { proc unlabeled }:file r_file_perms;
|