opnsense-src/sys
Rick Macklem ed03776ca7 nfsd: Enable the NFSD_VNET vnet front end macros
Several commits have added front end macros for the vnet
macros to the NFS server, krpc and kgssapi.  These macros
are now null, but this patch changes them to front end
the vnet macros.

With this commit, many global variables in the code become
vnet'd, so that nfsd(8), nfsuserd(8), rpc.tlsservd(8) and
gssd(8) can run in a vnet prison, once enabled.
To run the NFS server in a vnet prison still requires a
couple of patches (in D37741 and D38371) that allow mountd(8)
to export file systems from within a vnet prison.  Once
these are committed to main, a small patch to kern_jail.c
allowing "allow.nfsd" without VNET_NFSD defined will allow
the NFS server to run in a vnet prison.

One area that still needs to be settled is cleanup when a
prison is removed.  Without this, everything should work
except there will be a leak of malloc'd data and mutex locks
when a vnet prison is removed.

MFC after:	3 months
2023-02-18 14:59:36 -08:00
..
amd64 Exclude MMCCAM kernels from make universe 2023-02-16 07:29:53 +00:00
arm Exclude MMCCAM kernels from make universe 2023-02-16 07:29:53 +00:00
arm64 Exclude MMCCAM kernels from make universe 2023-02-16 07:29:53 +00:00
bsm
cam
cddl dtrace: implement riscv dtrace_getustackdepth() 2023-02-06 15:26:53 -04:00
compat linuxkpi: Add more suspend defines 2023-02-17 14:50:58 +01:00
conf armv5: Remove dead code 2023-02-14 09:53:15 -07:00
contrib MFV: zlib 1.2.13. 2023-02-16 23:57:24 -08:00
crypto OpenSSL: Regen assembly files for OpenSSL 1.1.1t 2023-02-07 13:55:17 -05:00
ddb ddb: ansify 2023-02-08 00:09:23 +00:00
dev cxgbe: Queue NIC TLS mbufs internally. 2023-02-17 09:07:17 -08:00
dts
fs nfsd: Enable the NFSD_VNET vnet front end macros 2023-02-18 14:59:36 -08:00
gdb
geom Move kstack_contains() and GET_STACK_USAGE() to MD machine/stack.h 2023-02-02 00:59:26 +02:00
gnu
i386 linux(4): Rename linux_timer.h to linux_time.h 2023-02-14 17:46:33 +03:00
isa
kern kern/clock: remove interrupt reporting from watchdog_fire() 2023-02-16 17:24:29 -04:00
kgssapi nfsd: Enable the NFSD_VNET vnet front end macros 2023-02-18 14:59:36 -08:00
libkern
modules zfs: merge openzfs/zfs@57cfae4a2 (master) 2023-02-16 22:38:51 +01:00
net routing: always pass rtentry to add_route_flags(). 2023-02-17 18:00:37 +00:00
net80211
netgraph Move kstack_contains() and GET_STACK_USAGE() to MD machine/stack.h 2023-02-02 00:59:26 +02:00
netinet tcp: Don't try to disconnect a socket multiple times. 2023-02-17 09:13:53 -08:00
netinet6 inpcb: use family specific sockaddr argument for bind functions 2023-02-15 10:30:16 -08:00
netipsec ipsec: only update lastused when it changes 2023-02-16 07:33:51 +00:00
netlink netlink: do not crash when linux message translation fails. 2023-02-18 17:53:06 +00:00
netpfil pfsync: ensure 'error' is always initialised 2023-02-16 09:16:35 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto Complete removal of opt_compat.h 2023-02-13 19:07:38 +03:00
powerpc powerpc: remove nexus_get_cpus() 2023-02-16 17:29:22 -04:00
riscv ofwbus: remove arm64 ifdefs 2023-02-13 13:45:01 -04:00
rpc nfsd: Enable the NFSD_VNET vnet front end macros 2023-02-18 14:59:36 -08:00
security
sys Bump __FreeBSD_version after linuxkpi changes 2023-02-17 14:57:24 +01:00
teken
tests
tools
ufs ufs: ansify 2023-02-13 18:35:54 +00:00
vm Drop space in "vm object" lock name to improve wchan 2023-02-15 08:31:17 -05:00
x86 linux(4): Cleanup includes under x86/linux 2023-02-14 17:46:33 +03:00
xdr xdr: ansify 2023-02-13 18:37:31 +00:00
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.

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
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(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures