opnsense-src/sys
Rick Macklem 56e9d8e38e nfsd: Fix NFSv4.1/4.2 Secinfo_no_name when security flavors empty
Commit 947bd2479b added support for the Secinfo_no_name operation.
When a non-exported file system is being traversed, the list of
security flavors is empty.  It turns out that the Linux client
mount attempt fails when the security flavors list in the
Secinfo_no_name reply is empty.

This patch modifies Secinfo/Secinfo_no_name so that it replies
with all four security flavors when the list is empty.
This fixes Linux NFSv4.1/4.2 mounts when the file system at
the NFSv4 root (as specified on a V4: exports(5) line) is
not exported.

MFC after:	2 weeks
2021-06-04 20:31:20 -07:00
..
amd64 amd64: Clear the local TSS when creating a new thread 2021-06-01 19:38:22 -04:00
arm arm: allwinner: Add clock driver for Display Engine to the build 2021-06-02 10:17:16 +02:00
arm64 linux: export AT_HWCAP and AT_HWCAP2 on aarch64 2021-06-01 13:50:20 +01:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam_sim: style: sort includes 2021-05-25 09:56:56 -06:00
cddl fbt: Remove some handling for multiple CTF containers 2021-04-02 17:49:13 -04:00
compat linux(4): Microoptimize futimesat, utimes, utime. 2021-05-31 22:54:18 +03:00
conf kmod.mk: Allow extra objects to be specified in modules 2021-06-02 10:39:58 -06:00
contrib VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
crypto ossl: Use crypto_cursor_segment(). 2021-05-25 16:59:19 -07:00
ddb fix style nit: space after if 2021-05-05 15:26:09 -06:00
dev cxgb(4): Report proper TSO limits. 2021-06-04 13:30:28 -07:00
dts arm64: rockchip: Add some DTSO to disable sd/mmc 2021-05-13 18:15:31 +02:00
fs nfsd: Fix NFSv4.1/4.2 Secinfo_no_name when security flavors empty 2021-06-04 20:31:20 -07:00
gdb gdb: report specific stop reason for watchpoints 2021-03-30 11:36:41 -03:00
geom gconcat: Add new lock to allow modifications to the disk list in preparation for online append 2021-06-02 15:59:25 -06:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 i386: Make setidt_disp a size_t instead of uintptr_t 2021-06-01 19:37:50 -04:00
isa Remove more remnants of sio(4) 2021-04-07 14:33:02 -04:00
kern Correcting comment about "sched_interact_score". 2021-06-02 21:50:57 -06:00
kgssapi opencrypto: Introduce crypto_dispatch_async() 2021-02-08 09:19:19 -05:00
libkern Use '.arch_extension crc' in the arm64 crc32 code 2021-05-06 07:42:35 +00:00
mips [mips/broadcom] set sysctl "hw.model" by SoC ChipCommon ID 2021-05-28 23:35:37 +03:00
modules hptrr: use BLOB_OBJS for pre-built .o's 2021-06-02 19:07:38 -04:00
net kern: ether_gen_addr: randomize on default hostuuid, too 2021-06-01 22:59:21 -05:00
net80211 net80211: prefix get_random_bytes() with net80211_ 2021-03-24 22:16:09 +00:00
netgraph netgraph/ng_base: Renaming a node to the same name is a noop 2021-06-04 11:20:19 +02:00
netinet tcp: A better fix for the previously attempted fix of the ack-war issue with tcp. 2021-06-04 05:26:43 -04:00
netinet6 Enter the net epoch before calling ip6_setpktopts 2021-06-04 13:18:11 -04:00
netipsec Add missing sockaddr length and family validation to various protocols 2021-05-03 13:35:19 -04:00
netpfil dummynet: free(NULL, M_DUMMYNET); is safe 2021-06-03 09:02:53 +02:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-05-26 10:45:40 -04:00
nfs Fix panic when using BOOTP to resolve root path. 2021-03-28 14:02:40 -05:00
nfsclient nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nfsserver nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed OFED: migrate LinuxKPI net_device/ifnet macros into ofed 2021-05-27 12:26:01 +00:00
opencrypto cryptosoft: Use crypto_cursor_segment(). 2021-05-25 16:59:19 -07:00
powerpc powerpc: fix boot on pseries without hugepages 2021-06-02 16:27:36 -03:00
riscv arm64, riscv: remove reference to fsu_intr_fault 2021-05-25 12:26:52 -03:00
rpc nfsd: Fix the failure return for non-fh NFSv4 operations 2021-06-02 15:28:07 -07:00
security tcp_input/syncache: acquire only read lock on PCB for SYN,!ACK packets 2021-04-12 08:25:31 -07:00
sys regen after tweaks to getgroups and setgroups 2021-06-02 13:24:50 -06:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Revise FIB lookups per second benchmarking routines. 2021-05-05 12:28:17 +02:00
tools makesyscalls.lua: improve generated file style(9) compliance 2021-05-13 13:59:25 -04:00
ufs ffs: Correct the input size check in sysctl_ffs_fsck() 2021-05-31 18:59:18 -04:00
vm vm: add another pager private flag 2021-05-15 20:47:29 +00:00
x86 Disable x2APIC for SandyBridge laptops with Samsung BIOS 2021-06-03 22:47:31 +03:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen x86/xen: remove PVHv1 code 2021-05-17 11:41:21 +02:00
Makefile