opnsense-src/sys
Rick Macklem 50e733f19b nfscl: Use delegation ACE when mounted with nocto
For NFSv4.1/4.2, there is an ACE in the delegation reply.
Without this patch, this ACE is ignored by the NFSv4 client.

This patch enables use of the ACE to avoid the need for
Access RPCs when the "nocto" option is specified.
This requires a NFSv4.1/4.2 server that does not reply
with a bogus ACE that is too generous w.r.t. access permissions.
Note that the recent commit 0d51adee30 added use of the NFSv4
ACL for generation of the ACE in the reply.  This patch might be
needed for this client change to work correctly if NFSv4 ACLs are
being used on the NFSv4.1/4.2 exported file systems.

This only affects NFSv4 mounts with the "nocto" mount option
and only if NFSv4 servers are issuing delegations with ACEs
that specify access.  Some NFSv4 servers, such as the Linux
knfsd reply with ACEs that do not allow any access, so this
patch has no effect for them.
2025-06-30 07:51:01 -07:00
..
amd64 amd64 ddb 'show pte': print both pte VA in recursive map and pte content 2025-06-27 07:23:22 +03:00
arm nexus: Add device_shutdown where missing 2025-06-25 15:53:24 -04:00
arm64 rk3328_codec: add trivial set_sysclk method implementation 2025-06-27 10:12:08 +03:00
bsm
cam mmc_da: fix garbage in disk->d_attachment 2025-06-27 10:19:15 +03:00
cddl
compat linuxkpi: Remove incorrect + 1 from HWEIGHT* macros 2025-06-24 18:42:16 -04:00
conf
contrib Revert "FreeBSD: zfs_putpages: don't undirty pages until after write completes" 2025-06-28 02:32:16 +00:00
crypto
ddb
dev wg: fix LINT-NOIP build 2025-06-30 11:53:02 +02:00
dts
fs nfscl: Use delegation ACE when mounted with nocto 2025-06-30 07:51:01 -07:00
gdb
geom
gnu bwn(4): BWN_GPL_PHY: make compile again 2025-06-22 00:19:42 +00:00
i386 sys: Add AT_HWCAP3 and AT_HWCAP4 2025-06-24 17:26:40 +01:00
isa
kern file: Fix the !CAPABILITIES build 2025-06-29 17:12:35 +00:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@69ee01aa4 2025-06-28 02:27:56 +02:00
net pf: Refactor the six ways to find TCP options into one new function. 2025-06-27 16:55:16 +02:00
net80211
netgraph
netinet ddb: print FIN flag only one when printing BBLog entries 2025-06-29 21:47:42 +02:00
netinet6 counter(9): rate limit periods may be more than 1 second 2025-06-25 19:56:22 +02:00
netipsec
netlink
netpfil pf: trade few 'goto unlock: for 'break' in pf_test() 2025-06-30 09:53:27 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc nexus: Add device_shutdown where missing 2025-06-25 15:53:24 -04:00
riscv nexus: Add device_shutdown where missing 2025-06-25 15:53:24 -04:00
rpc
security
sys pctrie: correct iter node after node allocation 2025-06-28 01:49:38 -05:00
teken
tests
tools
ufs
vm vm_pageout: Make the OOM killer less aggressive 2025-06-27 13:14:22 +00:00
x86 sys: provide the kernel's pa when dumping on amd64 2025-06-22 06:49:32 +03:00
xdr
xen
Makefile
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures