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