blob: 7bdcd8474baad1246a3b345d22cf3604e4f0c536 [file] [log] [blame]
Paul Crowley5b962cf2017-10-13 14:54:32 -07001domain_auto_trans(vold, vold_prepare_subdirs_exec, vold_prepare_subdirs)
Jin Qianc0125332017-10-19 14:41:37 -07002
Paul Crowley5850a2a2017-10-25 13:03:24 -07003allow vold_prepare_subdirs system_file:file execute_no_trans;
4allow vold_prepare_subdirs shell_exec:file rx_file_perms;
5allow vold_prepare_subdirs toolbox_exec:file rx_file_perms;
6allow vold_prepare_subdirs devpts:chr_file rw_file_perms;
7allow vold_prepare_subdirs vold:fd use;
8allow vold_prepare_subdirs vold:fifo_file { read write };
9allow vold_prepare_subdirs file_contexts_file:file r_file_perms;
Benjamin Gordon9b2e0cb2017-11-09 15:51:26 -070010allow vold_prepare_subdirs self:global_capability_class_set dac_override;
Paul Crowley5850a2a2017-10-25 13:03:24 -070011allow vold_prepare_subdirs self:process setfscreate;
12allow vold_prepare_subdirs system_data_file:dir { open read write add_name remove_name };
13allow vold_prepare_subdirs vold_data_file:dir { create open read write search getattr setattr remove_name rmdir };
14allow vold_prepare_subdirs vold_data_file:file { getattr unlink };
Jin Qianc0125332017-10-19 14:41:37 -070015allow vold_prepare_subdirs storaged_data_file:dir create_dir_perms;