]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: remove smackfs* option when SMACK not enabled
authorKarel Zak <kzak@redhat.com>
Tue, 12 Nov 2013 14:07:12 +0000 (15:07 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 12 Nov 2013 14:07:12 +0000 (15:07 +0100)
commitb8095d25bae0588dfce8a62169f6db5496cf45c5
tree5ea737db64009a3b633fdadc76b3d88ce97a3025
parent3deb67f50d513a1a74a62e8e248357e844e701a2
libmount: remove smackfs* option when SMACK not enabled

If there is no /sys/fs/smackfs then libmount removes smackfs*= mount
options when compiled --with-smack.

Note that we do the same for SELinux.

References: http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg13740.html
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
libmount/src/context_mount.c