blob: 0a60e7e1af46200de8c83bf409619450a47280aa [file] [log] [blame]
Marko Mane2e1d7e2018-08-26 23:15:26 +02001r_dir_file(update_engine, mnt_user_file)
2r_dir_file(update_engine, storage_file)
3
Marko Manf2b9bf92018-09-01 19:21:27 +02004allow update_engine self:capability { chown fsetid };
Marko Mane2e1d7e2018-08-26 23:15:26 +02005
6allow update_engine labeledfs:filesystem { mount unmount };
7
Marko Mane2e1d7e2018-08-26 23:15:26 +02008allow update_engine { otapreopt_chroot_exec rootfs system_file toolbox_exec }:file rx_file_perms;
Marko Manf2b9bf92018-09-01 19:21:27 +02009
10allow update_engine labeledfs:filesystem mount;
11allow update_engine rootfs:dir { add_name write };
12allow update_engine storage_file:lnk_file read;
13allow update_engine system_file:file execute_no_trans;
14allow update_engine toolbox_exec:file { execute getattr };