]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: deduplicate SELinux mount options
authorKarel Zak <kzak@redhat.com>
Wed, 1 Aug 2012 15:52:22 +0000 (17:52 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Aug 2012 15:52:22 +0000 (17:52 +0200)
commitf1f9a46abd47ff7c681fd22ecf81a31260498f2c
tree9dc23fe09bc63263712e17a56befccf68435612c
parent6870636c7f144038de8262a66d658abaafd51eaf
libmount: deduplicate SELinux mount options

We already have a clue about SELinux specific mount options in libmount, so
it makes sense to deduplicate the options as Linux kernel does not
support duplicate SELinux options. (SELinux kernel stuff somehow
ignores standard Linux mount conventions...)

Requested-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context_mount.c