blob: 309699aed72b23146c9930eae4c87c79570292d5 [file] [log] [blame]
Dan Pasanenb7463ef2018-07-20 09:33:55 +02001allow update_engine self:capability { dac_override dac_read_search sys_rawio };
Dan Pasanen9422c962018-07-20 09:36:08 +02002
3r_dir_file(update_engine, mnt_user_file)
4r_dir_file(update_engine, storage_file)
5
6allow update_engine self:capability { chown fsetid sys_rawio };
7
8allow update_engine labeledfs:filesystem { mount unmount };
9
10allow update_engine { media_rw_data_file rootfs sdcardfs system_data_file system_file }:dir create_dir_perms;
11allow update_engine { media_rw_data_file rootfs sdcardfs system_data_file system_file }:{ file lnk_file } create_file_perms;
12allow update_engine { otapreopt_chroot_exec rootfs system_file toolbox_exec }:file rx_file_perms;
13allow update_engine { rootfs system_file }:file { relabelfrom relabelto };