blob: 0981fb2a2927aee9c9befd5eff716dcc11da2ccf [file] [log] [blame]
# External storage
allow fsck_untrusted self:capability sys_admin;
#OTG Mount
allow fsck_untrusted mnt_media_rw_stub_file:dir { rw_file_perms mounton };
allow fsck_untrusted mnt_media_rw_file:dir rw_dir_perms;
allow fsck_untrusted mnt_media_rw_file:file rw_file_perms;
allow fsck_untrusted fuse_device:chr_file { read write open getattr };
allow fsck_untrusted fuse_device:filesystem mount;
allow fsck_untrusted block_device:dir getattr;
allow fsck_untrusted media_rw_data_file:dir { search getattr };
allow fsck_untrusted tmpfs:dir { search };