opnsense-src/sys
Jessica Clarke ebc0ceaca1 sys/mount.h: Hoist sys/types.h include
This header uses various types that come from here regardless of whether
_KERNEL is defined, so unconditionally include it rather than relying on
other headers implicitly including it for when _KERNEL is not defined.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D50884
2025-06-16 22:31:56 +01:00
..
amd64 vm: remove pa_index from the machine-independent layer 2025-06-13 13:23:28 -05:00
arm arm pmap: fix CTASSERT 2025-06-13 16:53:59 -05:00
arm64 arm64 pmap: Simplify pmap_demote_l{2,3}c() 2025-06-13 12:31:53 -05:00
bsm
cam ufshci: Introduce the ufshci(4) driver 2025-06-15 00:08:56 -06:00
cddl machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
compat ptrace: Rename the internal command range constants 2025-06-16 13:22:15 +00:00
conf qat: add disable safe dc mode for QAT SPR devices 2025-06-06 13:42:58 +00:00
contrib machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
crypto openssl: update ASM and version info for 3.0.16 import 2025-03-13 23:42:02 -07:00
ddb machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
dev ufshci: Introduce the ufshci(4) driver 2025-06-15 00:08:56 -06:00
dts dts: fix RT-AC58U to match the updated device tree name/alias changes. 2025-04-07 20:45:40 -07:00
fs fusefs: fix a panic in vop_close with a CTL consumer 2025-06-15 09:35:39 -06:00
gdb
geom machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
gnu
i386 machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
isa machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
kern ptrace: Rename the internal command range constants 2025-06-16 13:22:15 +00:00
kgssapi crypto: Remove uses of CRYPTO_F_DONE 2025-05-09 00:29:23 +00:00
libkern machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
modules nvme.ko: Don't include nvme_util.c 2025-06-16 13:56:52 -04:00
net bridge: Remove a redundant assignment of if_type 2025-06-16 22:35:40 +08:00
net80211 machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
netgraph ng_iface(4): Remove a redundant assignment of if_type 2025-06-13 18:07:18 +08:00
netinet cc_cubic: sync to the new specification of RFC9438 for TCP CUBIC. 2025-06-16 12:52:46 -04:00
netinet6 udp: fix local blackholing 2025-06-13 22:59:50 +02:00
netipsec machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
netlink machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
netpfil pfsync: Remove a redundant assignment of if_type 2025-06-16 22:12:03 +08:00
netsmb sockets: garbage collect SB_NOINTR 2025-02-02 22:38:18 -08:00
nfs
nfsclient
nfsserver
nlm nlm: set vnet(9) context in the NLM syscall 2025-02-01 01:00:26 -08:00
ofed ofed: jiffies is unsigned long 2025-04-29 13:53:40 +00:00
opencrypto crypto: Remove uses of CRYPTO_F_DONE 2025-05-09 00:29:23 +00:00
powerpc vm: remove pa_index from the machine-independent layer 2025-06-13 13:23:28 -05:00
riscv vm: remove pa_index from the machine-independent layer 2025-06-13 13:23:28 -05:00
rpc machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
security machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
sys sys/mount.h: Hoist sys/types.h include 2025-06-16 22:31:56 +01:00
teken
tests machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
tools vnode_if: Remove some branching around SDT probes in VOP wrappers 2025-05-22 14:37:49 +00:00
ufs ufs_aclcheck(): accurately dereference vp->v_mount 2025-03-22 01:40:00 +02:00
vm vm/vm_mmap.c: use EXTERROR() 2025-06-16 18:12:05 +03:00
x86 machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
xdr xdr: provide x_putmbuf method for xdrmem 2025-02-01 01:00:25 -08:00
xen machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
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