]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix user-mount by root for mount.<type> helpers
authorKarel Zak <kzak@redhat.com>
Tue, 26 Mar 2013 15:05:07 +0000 (16:05 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 26 Mar 2013 15:05:07 +0000 (16:05 +0100)
commit17206c059dc2e42e7081079b76eafda68cc9a5b8
tree45162a64d2e47f7b4488b5da5fd2e4d13eab8ed8
parent35bc7a2b67f59d9ad4257816970492ef05605c6f
libmount: fix user-mount by root for mount.<type> helpers

Append options like "exec" "suid" and "dev" to mount.<type> helpers
command line if the options are in fstab. This is relevant for root
user who calls mount(8) for fstab entries with "user,exec" etc.

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