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:
parent
965e098af8
commit
b40dc4f657
|
@ -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>>
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue