freebsd-src/sys
Zhenlei Huang 1c7307cf67 kern linker: Make linker_file_add_dependency() void
The only possible return value has been zero since cee9542d51.

No functional change intended.

Reviewed by:	dfr
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D44507
2024-03-27 12:02:32 +08:00
..
amd64 x86: test the right CPUID bit when checking for XSAVEOPT support 2024-03-26 04:01:30 +02:00
arm arm/GENERIC: Remove TI DTBs 2024-03-20 21:04:12 +01:00
arm64 arm64: fix free queue and reservation configuration for 16KB pages 2024-03-24 12:22:20 -05:00
bsm
cam CTL: Drop Format Device and Rigid Disk Geometry mode pages 2024-02-27 13:28:44 -05:00
cddl arm64: Use void pointers for arguments to arm64_get_writable_addr 2024-03-15 10:10:24 -07:00
compat sysent: regen 2024-03-19 23:13:27 +00:00
conf arm64/vmm: Exclude more sanitizer compiler flags from certain files 2024-03-22 00:20:34 -04:00
contrib Import device-tree files from Linux 6.5 2024-03-21 21:10:18 +01:00
crypto ossl: Remove a stray __FBSDID("$FreeBSD$") 2023-12-04 12:29:30 -05:00
ddb ddb: Fix format string errors in db_pprint.c 2024-03-22 02:11:03 -04:00
dev netmap: Address errors on memory free in netmap_generic 2024-03-26 09:55:55 +00:00
dts arm/nvidia: Fix DTS build 2024-03-22 07:49:54 +01:00
fs unionfs: implement VOP_UNP_* and remove special VSOCK vnode handling 2024-03-23 21:10:53 -05:00
gdb sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
geom graid: unbreak Promise RAID1 with 4+ providers 2024-02-12 14:33:43 +07:00
gnu sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
i386 x86: test the right CPUID bit when checking for XSAVEOPT support 2024-03-26 04:01:30 +02:00
isa new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00
kern kern linker: Make linker_file_add_dependency() void 2024-03-27 12:02:32 +08:00
kgssapi sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
libkern sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
modules arm64/vmm: Exclude more sanitizer compiler flags from certain files 2024-03-22 00:20:34 -04:00
net vnet: remove unneeded backslash 2024-03-15 12:17:04 -07:00
net80211 net80211: Fix two typos in kernel messages 2024-02-19 12:08:07 +01:00
netgraph ng_ksocket: use new macros to lock socket buffers 2024-03-22 22:44:16 -07:00
netinet icmp: allow zero value for ICMP limits 2024-03-24 19:52:03 -07:00
netinet6 icmp: allow zero value for ICMP limits 2024-03-24 19:52:03 -07:00
netipsec ipsec esp: avoid dereferencing freed secasindex 2024-02-26 16:27:46 +02:00
netlink netlink: fix route protocol constant values to match Linux 2024-03-11 08:50:46 -07:00
netpfil pfsync: cope with multiple pending plus messages 2024-03-25 05:44:24 +01:00
netsmb sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nfs sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nfsclient sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
nfsserver sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
nlm sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofed sockets: provide correct pr_shutdown for keysock and SDP 2024-01-16 12:02:59 -08:00
opencrypto sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
powerpc freebsd32: struct siginfo32 -> struct __siginfo32 2024-03-19 23:13:26 +00:00
riscv new-bus: Remove the 'rid' and 'type' arguments from BUS_*ACTIVATE_RESOURCE 2024-03-13 15:05:54 -07:00
rpc NFS: Request use of TCP_USE_DDP for in-kernel TCP sockets 2024-03-20 15:29:51 -07:00
security sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sys Remove a reference to xrpu from timetc.h 2024-03-25 11:53:13 -06:00
teken
tests callout: retire callout_async_drain() 2024-01-24 09:33:27 -08:00
tools libsys: don't try to expose yield 2024-03-07 01:01:36 +00:00
ufs Eliminate unnecessary UFS1 integrity checks. 2024-02-19 16:17:05 -08:00
vm pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
x86 new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00
xdr sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
xen x86/xen: introduce non-hypercall based emergency print 2024-02-22 11:08:03 +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(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures