]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Fix issue with -o user,exec
authorNeil Brown <neilb@suse.de>
Thu, 22 Mar 2007 05:56:20 +0000 (16:56 +1100)
committerNeil Brown <neilb@suse.de>
Thu, 22 Mar 2007 05:56:20 +0000 (16:56 +1100)
commit33f60147abb70ce36017c58366b0a1710453bb00
tree70d764229b34b01e6ddfcdc13a169a71b83562ee
parent6b82a93f2dc7f303103540babb74a75e41b84008
mount.nfs: Fix issue with -o user,exec

It would seem to make sense for mount.nfs to impose the
  "-o user" => "-o noexec,nodev,nosuid"
rule.  However if you give "user,exec" to /sbin/mount,
it will pass down
    nodev,nosuid,user
with the 'exec' flag :-(

So we have to leave that handling of that particular rule to
/sbin/mount.
utils/mount/mount.c