|
Chris PeBenito |
0fbfa5 |
#
|
|
Chris PeBenito |
0fbfa5 |
# Define the labeling behavior for inodes in particular filesystem types.
|
|
Chris PeBenito |
0fbfa5 |
# This information was formerly hardcoded in the SELinux module.
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
# Use xattrs for the following filesystem types.
|
|
Chris PeBenito |
0fbfa5 |
# Requires that a security xattr handler exist for the filesystem.
|
|
Chris PeBenito |
0fbfa5 |
fs_use_xattr ext2 system_u:object_r:fs_t;
|
|
Chris PeBenito |
0fbfa5 |
fs_use_xattr ext3 system_u:object_r:fs_t;
|
|
Chris PeBenito |
0fbfa5 |
fs_use_xattr xfs system_u:object_r:fs_t;
|
|
Chris PeBenito |
0fbfa5 |
fs_use_xattr jfs system_u:object_r:fs_t;
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
# Use the allocating task SID to label inodes in the following filesystem
|
|
Chris PeBenito |
0fbfa5 |
# types, and label the filesystem itself with the specified context.
|
|
Chris PeBenito |
0fbfa5 |
# This is appropriate for pseudo filesystems that represent objects
|
|
Chris PeBenito |
0fbfa5 |
# like pipes and sockets, so that these objects are labeled with the same
|
|
Chris PeBenito |
0fbfa5 |
# type as the creating task.
|
|
Chris PeBenito |
0fbfa5 |
fs_use_task pipefs system_u:object_r:fs_t;
|
|
Chris PeBenito |
0fbfa5 |
fs_use_task sockfs system_u:object_r:fs_t;
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
# Use a transition SID based on the allocating task SID and the
|
|
Chris PeBenito |
0fbfa5 |
# filesystem SID to label inodes in the following filesystem types,
|
|
Chris PeBenito |
0fbfa5 |
# and label the filesystem itself with the specified context.
|
|
Chris PeBenito |
0fbfa5 |
# This is appropriate for pseudo filesystems like devpts and tmpfs
|
|
Chris PeBenito |
0fbfa5 |
# where we want to label objects with a derived type.
|
|
Chris PeBenito |
0fbfa5 |
fs_use_trans devpts system_u:object_r:devpts_t;
|
|
Chris PeBenito |
0fbfa5 |
fs_use_trans tmpfs system_u:object_r:tmpfs_t;
|
|
Chris PeBenito |
0fbfa5 |
fs_use_trans shm system_u:object_r:tmpfs_t;
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
# The separate genfs_contexts configuration can be used for filesystem
|
|
Chris PeBenito |
0fbfa5 |
# types that cannot support persistent label mappings or use
|
|
Chris PeBenito |
0fbfa5 |
# one of the fixed label schemes specified here.
|