]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/mount-setup.c
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)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 14 Apr 2016 23:14:29 +0000 (19:14 -0400)
commitcacf980ed44a28e276a6cc7f8fc41f991e2ab354
tree346be2ec7535f1df68a704997ff66aa15273b161
parentd57a7ed5ea16cc506f8b60063cdaa96c6e23f6c9
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