Add devtmpfs labeling.
This commit is contained in:
parent
91b12ad94c
commit
e399e3abea
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(filesystem, 1.12.2)
|
||||
policy_module(filesystem, 1.12.3)
|
||||
|
||||
########################################
|
||||
#
|
||||
@ -169,6 +169,7 @@ files_poly_parent(tmpfs_t)
|
||||
# and label the filesystem itself with the specified context.
|
||||
# This is appropriate for pseudo filesystems like devpts and tmpfs
|
||||
# where we want to label objects with a derived type.
|
||||
fs_use_trans devtmpfs gen_context(system_u:object_r:tmpfs_t,s0);
|
||||
fs_use_trans mqueue gen_context(system_u:object_r:tmpfs_t,s0);
|
||||
fs_use_trans shm gen_context(system_u:object_r:tmpfs_t,s0);
|
||||
fs_use_trans tmpfs gen_context(system_u:object_r:tmpfs_t,s0);
|
||||
|
Loading…
Reference in New Issue
Block a user