summaryrefslogtreecommitdiffstats
path: root/support/nfs/cacheio.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-01-04 08:54:43 -0500
committerSteve Dickson <steved@redhat.com>2017-01-04 10:07:33 -0500
commit995806ff0c9f0e11fb9e536f0a17a5e11e9928cf (patch)
treea5a2e6584d7f194ea6fcb9367345ba15c748a149 /support/nfs/cacheio.c
parent4459743e3daad32e2c2a753ec9982f35ef26a2a3 (diff)
downloadnfs-utils-995806ff0c9f0e11fb9e536f0a17a5e11e9928cf.tar.gz
nfs-utils-995806ff0c9f0e11fb9e536f0a17a5e11e9928cf.tar.xz
nfs-utils-995806ff0c9f0e11fb9e536f0a17a5e11e9928cf.zip
nfsd: Do not permit manipulation of NFSv4.0, e.g. "-N 4.0"
The code maps this into "-4.32", which the kernel rejects. The kernel also rejects "-4.0" (when written to the 'versions' file). So require the minor number to be at least NFS4_MINMINOR, which is '1'. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/cacheio.c')
0 files changed, 0 insertions, 0 deletions