Add devtmpfs labeling.

This commit is contained in:
Chris PeBenito 2010-04-07 08:55:33 -04:00
parent 91b12ad94c
commit e399e3abea

View File

@ -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);