]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Don't allow the user to specify addr= or clientaddr=.
authorChuck Lever <chuck.lever@oracle.com>
Fri, 24 Aug 2007 17:11:16 +0000 (13:11 -0400)
committerNeil Brown <neilb@suse.de>
Fri, 24 Aug 2007 22:19:32 +0000 (08:19 +1000)
commitfb874be0226ae35367f10f260353a76716da9346
tree42451c1bcf5145121ae4de8041a62b950419ffb8
parent6ba0c8306ff8ed0e1233e593bf55d56b017e922b
mount.nfs: Don't allow the user to specify addr= or clientaddr=.

The current mount.nfs implementation doesn't allow users to specify their
own addr= or clientaddr= option.  The new string-based interface does
allow this, even though nfs(5) does not document 'addr=' and specifically
forbids adding 'clientaddr='.

Make the addition of either option by the user a permanent error.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/stropts.c