1type e2fs, domain, coredomain; 2type e2fs_exec, exec_type, file_type; 3 4allow e2fs block_device:blk_file getattr; 5allow e2fs block_device:dir search; 6allow e2fs userdata_block_device:blk_file rw_file_perms; 7 8# access /proc/filesystems 9allow e2fs proc:file r_file_perms; 10 11# access /sys/fs/ext4/features 12allow e2fs sysfs_fs_ext4_features:file r_file_perms; 13 14# access sselinux context files 15allow e2fs file_contexts_file:file { getattr open read }; 16