]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: don't call mount.<type> helper with usernames
authorKarel Zak <kzak@redhat.com>
Mon, 22 May 2023 15:26:55 +0000 (17:26 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 5 Jun 2023 09:58:46 +0000 (11:58 +0200)
commit230459358aad99efec4ad66b9ee9c48a1915bb09
treecaa00fd4676ece3b768bca57195ceea227a79656
parent6fa034d0a99cc4e5a11f21ebf03b974134b734d0
libmount: don't call mount.<type> helper with usernames

This is v2.39 regression. The "user" mount option is internally
converted to "user=<name>", but this should not be exported to
the mount helpers.

The mount helper accepts the <name> only if specified in mount options
(cifs uses user=). The real username as generated by libmount is not
relevant in this case.

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