blob: add1cc2a4c7f625b53947596f05fd1fb33b65654 [file] [log] [blame]
Jin Qian4de505b2017-05-02 13:45:08 -07001type e2fs, domain, coredomain;
2
3allow e2fs block_device:blk_file getattr;
4allow e2fs block_device:dir search;
5allow e2fs userdata_block_device:blk_file rw_file_perms;
6
7# access /proc/filesystems
8allow e2fs proc:file r_file_perms;
9
10# access /sys/fs/ext4/features
11allow e2fs sysfs_fs_ext4_features:file r_file_perms;
12
13# access sselinux context files
14allow e2fs file_contexts_file:file { getattr open read };