Label /var/run/shm as tmpfs_t for Debian

In Debian, /dev/shm is a symlink to /var/run/shm. Label that mountpoint
the same way.
This commit is contained in:
Laurent Bigonville 2013-01-12 22:32:19 +01:00 committed by Chris PeBenito
parent 965e098af8
commit b40dc4f657
1 changed files with 5 additions and 0 deletions

View File

@ -14,3 +14,8 @@
# for systemd systems:
/sys/fs/cgroup -d gen_context(system_u:object_r:cgroup_t,s0)
/sys/fs/cgroup/.* <<none>>
ifdef(`distro_debian',`
/var/run/shm -d gen_context(system_u:object_r:tmpfs_t,s0)
/var/run/shm/.* <<none>>
')