Home | History | Annotate | Download | only in sepolicy
      1 # Label inodes via getxattr.
      2 fs_use_xattr yaffs2 u:object_r:labeledfs:s0;
      3 fs_use_xattr jffs2 u:object_r:labeledfs:s0;
      4 fs_use_xattr ext2 u:object_r:labeledfs:s0;
      5 fs_use_xattr ext3 u:object_r:labeledfs:s0;
      6 fs_use_xattr ext4 u:object_r:labeledfs:s0;
      7 fs_use_xattr xfs u:object_r:labeledfs:s0;
      8 fs_use_xattr btrfs u:object_r:labeledfs:s0;
      9 fs_use_xattr f2fs u:object_r:labeledfs:s0;
     10 fs_use_xattr squashfs u:object_r:labeledfs:s0;
     11 
     12 # Label inodes from task label.
     13 fs_use_task pipefs u:object_r:pipefs:s0;
     14 fs_use_task sockfs u:object_r:sockfs:s0;
     15 
     16 # Label inodes from combination of task label and fs label.
     17 # Define type_transition rules if you want per-domain types.
     18 fs_use_trans devpts u:object_r:devpts:s0;
     19 fs_use_trans tmpfs u:object_r:tmpfs:s0;
     20 fs_use_trans devtmpfs u:object_r:device:s0;
     21 fs_use_trans shm u:object_r:shm:s0;
     22 fs_use_trans mqueue u:object_r:mqueue:s0;
     23 
     24