opnsense-src/sys
Quentin Thébault 923b3fc963 sys/subr_module: remove useless macro gates
These constants are always defined by sys/sys/linker.h.

Reviewed by: vexeduxr
Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Sponsored by: Defenso
MFC after: 2 weeks
Closes: https://github.com/freebsd/freebsd-src/pull/2004

(cherry picked from commit 912418193ed1f9a0f58b083037751b1fbc4c30ef)
2026-02-26 04:03:43 +02:00
..
amd64 Add ASMC_DEBUG make option 2026-02-21 19:57:56 -08:00
arm arm/broadcom: Fix a typo in a source code comment 2026-02-22 13:09:38 +01:00
arm64 cpu_switch(): unconditionally wait on the blocked mutex transient 2026-02-11 07:12:37 +02:00
bsm sys: add AUE_PDRFORK 2026-02-01 23:38:48 +02:00
cam style(9): white space after ; and around binary operators 2026-02-05 22:52:32 +01:00
cddl opensolaris: Use proper prototype for SYSINIT functions 2026-02-01 01:01:02 +08:00
compat sys/compat/freebsd32: use freebsd32_uint64_t for struct kinfo_proc32 2026-02-21 23:34:08 +02:00
conf Add ASMC_DEBUG make option 2026-02-21 19:57:56 -08:00
contrib openzfs sys/types32.h: use abi_compat.h for time32_t 2026-02-21 23:34:08 +02:00
crypto OpenSSL: commit sys/crypto changes for 3.5.5 2026-02-21 20:34:23 -08:00
ddb
dev ahci: Restrict NVMe redirection by BAR size 2026-02-24 16:40:41 -05:00
dts
fs nfsserver: Fix a typo in a source code comment 2026-02-22 13:09:53 +01:00
gdb
geom geom(9): struct bio KBI fix 2025-12-22 00:37:40 +00:00
gnu
i386 i386: Fix build and remove empty unused macro 2026-02-11 07:12:38 +02:00
isa
kern sys/subr_module: remove useless macro gates 2026-02-26 04:03:43 +02:00
kgssapi kgssapi: Remove broken MOD_UNLOAD code 2025-12-09 11:32:09 -05:00
libkern libkern: Use proper prototype for SYSINIT functions 2026-02-01 01:01:04 +08:00
modules Add ASMC_DEBUG make option 2026-02-21 19:57:56 -08:00
net rtsock: Fix stack overflow 2026-02-24 16:00:21 +00:00
net80211 net80211: Use proper prototype for SYSINIT functions 2026-02-01 01:01:04 +08:00
netgraph bluetooth: Don't use a non-string to initialize NG_HCI_BDADDR_ANY 2026-01-30 18:30:10 +02:00
netinet ip_mroute: Make privilege checking more consistent 2026-02-16 13:46:36 +00:00
netinet6 icmp6: clear csum_flags on mbuf reuse 2026-02-22 10:47:12 +01:00
netipsec netipsec: Use proper prototype for SYSINIT functions 2026-02-01 01:01:05 +08:00
netlink tests/ktest_netlink_message_writer: remove INVARIANTS requirement 2026-01-24 20:53:34 -05:00
netpfil pf: avoid NULL deref on purged states 2026-02-25 10:13:13 +01:00
netsmb
nfs nfs: Use proper prototype for SYSINIT functions 2026-02-01 01:01:06 +08:00
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc sdt: Enable on 32-bit powerpc and powerpc64le 2026-02-16 13:42:10 +00:00
riscv riscv: GENERIC: enable KERN_TLS 2026-02-23 20:05:16 -05:00
rpc
security audit: handle AUE_PDWAIT 2026-02-01 23:38:49 +02:00
sys sys/abi_types.h: time32_t is 64-bit on non-x86 architectures 2026-02-21 23:34:08 +02:00
teken vt: Fix handling of backtab 2026-02-23 09:22:55 -05:00
tests
tools gdb: Fix some PEP 8 violations 2025-12-01 16:37:56 +00:00
ufs
vm vm: Use proper prototype for SYSINIT functions 2026-02-01 01:01:07 +08:00
x86 sys/x86/NOTES: Add vt_efifb 2026-02-21 19:57:56 -08:00
xdr
xen sys/xen: Use __printflike() instead of format(printf) 2026-01-04 02:46:49 +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