opnsense-src/sys
Ed Maste 4551ea3b3f compat32: Zero struct to avoid stack disclosure
Reported by:	Adam Crosser, Praetorian
Reviewed by:	philip
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55811

(cherry picked from commit 097cb4e9f0432c543c704cec712ce1cd3302335c)
2026-03-20 09:36:35 -04:00
..
amd64 amd64: Make start_all_aps() static 2026-03-20 18:00:21 +08:00
arm arm/broadcom: Fix a typo in a source code comment 2026-02-22 13:09:38 +01:00
arm64 qoriq / nxp: fix spelling in device_set_desc() 2026-02-26 23:08:13 +00: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 compat32: Zero struct to avoid stack disclosure 2026-03-20 09:36:35 -04:00
conf hwpstate{_amd,intel}(4): Move common knobs to a separate file 2026-03-05 15:43:23 +01:00
contrib zfs: implement AT_RENAME_NOREPLACE 2026-03-10 13:41:31 +02:00
crypto OpenSSL: commit sys/crypto changes for 3.5.5 2026-02-21 20:34:23 -08:00
ddb
dev sound: enforce MASTER volume mute during playback 2026-03-19 13:17:35 +01:00
dts
fs tarfs: swap deprecated ZSTD_resetDStream() with ZSTD_DCtx_reset() 2026-03-18 09:49:53 -04:00
gdb
geom
gnu
i386 x86: change signatures of ipi_{bitmap,swi}_handler() to take pointer 2026-03-10 13:41:31 +02:00
isa isa_common: allow multiple device instances 2026-03-04 21:57:46 +08:00
kern shm: Zero struct kinfo_file in sysctl handler 2026-03-20 09:36:35 -04:00
kgssapi
libkern libkern: Use proper prototype for SYSINIT functions 2026-02-01 01:01:04 +08:00
modules hwpstate{_amd,intel}(4): Move common knobs to a separate file 2026-03-05 15:43:23 +01:00
net ifnet: Fix decreasing the vnet interface count 2026-03-20 18:00:21 +08:00
net80211 net80211: fix VHT160/80P80/80 chanwidth selection in the "40-" case 2026-03-11 16:53:24 +00: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 netinet6: Fix memory leak on auto_linklocal 2026-03-09 13:06:40 +03:30
netipsec ipsec_offload: add comment stating why ipsec_accel_sa_newkey_cb() returns 0 2026-03-04 03:15:59 +02: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 ofed: reduce usage of struct dma_attrs *dma_attrs 2026-02-26 23:09:17 +00:00
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 vn_delayed_setsize(): post-commit review' changes 2026-03-15 08:58:57 +02:00
teken vt: Fix handling of backtab 2026-02-23 09:22:55 -05:00
tests
tools
ufs renameat2(2): implement AT_RENAME_NOREPLACE flag 2026-03-10 13:41:31 +02:00
vm vm_page.h: Materialize a spare bit 2026-03-05 15:43:25 +01:00
x86 x86: change signatures of ipi_{bitmap,swi}_handler() to take pointer 2026-03-10 13:41:31 +02: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