chiark / gitweb /
core/mount-setup.c: also relabel /dev/shm for selinux (#3039)
authorHarald Hoyer <harald@redhat.com>
Thu, 14 Apr 2016 23:14:29 +0000 (01:14 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:57 +0000 (10:12 +0200)
commit34267dba6bc0f2eaed722e1d816ff600dcad7f3d
treeae9a9fac84eac219cc49d8703f2bfd43c30f2391
parent45ee9637428c9104a4d4b8c297df45b6608b99b1
core/mount-setup.c: also relabel /dev/shm for selinux (#3039)

daemons, which wish to transition state from the initramfs to the real
root, might use /dev/shm for their state.

As /dev is not relabeled across mount points, /dev/shm has to be
relabled explicitly.
src/core/mount-setup.c