opnsense-src/sys/fs
Rick Macklem c16c7b3996 nfsserver: Fix handling of SP4_NONE
For NFSv4.1/4.2, when the client specifies SP4_NONE for
state protection in the ExchangeID operation arguments,
the server MUST allow the state management operations for
any user credentials.  (I misread the RFC and thought that
SP4_NONE meant "at the server's discression" and not MUST
be allowed.)

This means that the "sec=XXX" field of the "V4:" exports(5)
line only applies to NFSv4.0.

This patch fixes the server to always allow state management
operations for SP4_NONE, which is the only state management
option currently supported. (I have patches that add support
for SP4_MACH_CRED to the server. These will be in a future commit.)

In practice, this bug does not seem to have caused
interoperability problems.

(cherry picked from commit 5a0050e68a)
2023-01-28 18:51:02 -08:00
..
autofs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
cd9660 Stop cleaning MNT_LOCAL on unmount 2023-01-20 05:22:32 +02:00
cuse cuse(3): Cosmetic change about testing boolean values. 2022-10-12 17:53:21 +02:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-24 09:42:42 +02:00
devfs fs: fix a few common typos in source code comments 2022-02-09 07:18:56 +01:00
ext2fs Stop cleaning MNT_LOCAL on unmount 2023-01-20 05:22:32 +02:00
fdescfs fdescfs: allow chown/utime etc on fdescfs fd for underlying files opened with O_PATH 2022-06-13 22:29:23 +03:00
fifofs fifo: support flock 2021-10-11 09:12:48 +00:00
fuse fusefs: fix VOP_ADVLOCK with SEEK_END 2022-11-23 13:55:15 -07:00
mntfs mntfs: lock mntfs pseudo devfs vnode properly 2021-11-19 06:25:28 +02:00
msdosfs Stop cleaning MNT_LOCAL on unmount 2023-01-20 05:22:32 +02:00
nfs nfs: Fix common typos in source code comments 2022-11-11 05:33:57 +01:00
nfsclient nfscl: Improve NFSv4 error message for NFSERR_WRONGSEC 2023-01-25 19:00:52 -08:00
nfsserver nfsserver: Fix handling of SP4_NONE 2023-01-28 18:51:02 -08:00
nullfs Add support for mounting single files in nullfs 2023-01-06 07:57:57 +00:00
procfs sysent: Get rid of bogus sys/sysent.h include. 2022-06-17 22:35:31 +03:00
pseudofs pseudofs: Destroy vncache hashtbl on pseudofs module unload. 2022-06-17 22:33:41 +03:00
smbfs Stop cleaning MNT_LOCAL on unmount 2023-01-20 05:22:32 +02:00
tmpfs Stop cleaning MNT_LOCAL on unmount 2023-01-20 05:22:32 +02:00
udf Stop cleaning MNT_LOCAL on unmount 2023-01-20 05:22:32 +02:00
unionfs unionfs: implement VOP_SET_TEXT/VOP_UNSET_TEXT 2023-01-08 21:31:15 -05:00