]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: ignore name=value if only 'name' is expected
authorKarel Zak <kzak@redhat.com>
Thu, 28 Feb 2013 10:26:59 +0000 (11:26 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 28 Feb 2013 11:55:30 +0000 (12:55 +0100)
commit6a83f8ecd7d2f39c8f06c3ef0f4be95c2de76bf1
treef8523c0bfe6ef91c22cabf2ea0f8c5b62fc8c5f6
parent6f7bce865175486ee9c0544c334070cea0198059
libmount: ignore name=value if only 'name' is expected

For example

mount /srv/www /mnt -o rw,group=woven,dev,suid

the group= should not be interpreted as userspace mount option, because
umount(8) expects 'group' (without =<value>).

Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/optstr.c