chiark / gitweb /
selinux: don't relabel /run/initramfs
authorLennart Poettering <lennart@poettering.net>
Mon, 29 Aug 2011 22:16:00 +0000 (00:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 29 Aug 2011 22:16:00 +0000 (00:16 +0200)
commitedb4977837cbf82b0edc29cf8cbefa00c380fa16
treef34295272cdf7f595a7108fe509b77cf085cc0e6
parent4d4c74866c12c98b2834e8eff218b74cb83bb608
selinux: don't relabel /run/initramfs

/run/initramfs usually contains the initrd so that we can jump back into
it on shutdown. It's usually relatively large and static data, hence we
should avoid relabelling of it. On my netbook this saves 6s. (6.6s
needed for relabelling /dev and /run goes down to 600ms -- still way too
much, but much better).
src/mount-setup.c