]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix user/users for superuser
authorKarel Zak <kzak@redhat.com>
Thu, 23 Mar 2023 19:59:46 +0000 (20:59 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Mar 2023 19:59:46 +0000 (20:59 +0100)
commit37d021978c56876b8538d5f63ccd8db17ccfe035
tree5c5596b0b4f3dae98561c61adc73634804731b28
parentabf3f8a670fbf116c76a8bd92ffc0972fdb7ac63
libmount: fix user/users for superuser

Always use MS_SECURE and MS_OWNERSECURE to mount fstab entries where
is specified "user" or "users", although the current user is root.

This bug has never been released (v2.39-rc1 only).

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context_mount.c