summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.8
diff options
context:
space:
mode:
authorRichard Tollerton2013-01-03 07:05:34 +0100
committerKarel Zak2013-01-09 14:47:25 +0100
commit1707b9b104c4fb55eaa37581d6d7355a20cd9576 (patch)
treebfd1b99264150b5cd5375915a1de3832d7f76a56 /sys-utils/mount.8
parentmkfs.minix: fix compiler warning [-Wformat] (diff)
downloadkernel-qcow2-util-linux-1707b9b104c4fb55eaa37581d6d7355a20cd9576.tar.gz
kernel-qcow2-util-linux-1707b9b104c4fb55eaa37581d6d7355a20cd9576.tar.xz
kernel-qcow2-util-linux-1707b9b104c4fb55eaa37581d6d7355a20cd9576.zip
mount: Fix -t in listing mode when run as non-root
Presently, libmount-mount completely prohibits the use of -t by non-root users. This breaks using -t in listing mode as a user, which represents a regression against mount-deprecated, macosx and presumably *BSD. This commit fixes the issue by deferring the mnt_context_is_restricted check for -t until we know we're not in listing mode. Signed-off-by: Rich Tollerton <rich.tollerton@ni.com>
Diffstat (limited to 'sys-utils/mount.8')
0 files changed, 0 insertions, 0 deletions