freebsd-src/sys
Gleb Smirnoff d682c1eaa5 unix: synchronize shutdown(2) with read(2)
unp_dispose() is called on shutdown(2) and thus needs to acquire socket
I/O receive sx(9) to synchronize with read(2) that may read top of the
buffer without socket buffer mutex.  Notice in the last chunk of the diff
that the function used to be called with the lock already acquired in the
past.
2024-02-03 13:08:41 -08:00
..
amd64 amd64 & i386: enable VIMAGE in MINIMAL 2024-02-02 18:35:00 -07:00
arm arm: pmap_extract() returns a PA not a boolean value 2024-02-02 14:59:03 -08:00
arm64 sys/arm64/rockchip/rk_gpio.c: remove an extra semicolon 2024-02-02 18:35:01 -07:00
bsm
cam scsi_cd: Remove commented-out code 2024-01-30 09:26:03 -05:00
cddl dtrace: make 'ring' and 'fill' policies imply 'noswitch' flag 2024-01-28 15:15:17 +02:00
compat LinuxKPI: implement memset_after() 2024-02-03 13:50:32 +00:00
conf ldscript.powerpc*: Only put .dynamic in PT_DYNAMIC 2024-01-26 00:19:02 +00:00
contrib iwlwifi: adjust to make d3.c compile 2024-02-03 13:47:34 +00:00
crypto ossl: Remove a stray __FBSDID("$FreeBSD$") 2023-12-04 12:29:30 -05:00
ddb ddb: Fix typo (triple S) 2023-12-27 20:24:31 -07:00
dev sys/dev/enic/if_enic.c: remove an extra semicolon 2024-02-02 18:35:01 -07:00
dts add allwinner overlays for enabling additional USB ports 2024-01-28 13:12:39 +02:00
fs sys/fs/unionfs/union_vnops.c: remove an extra semicolon 2024-02-02 18:35:01 -07:00
gdb
geom gjournal(8): Fix a typo in a sysctl description 2024-01-20 20:58:08 +01:00
gnu
i386 amd64 & i386: enable VIMAGE in MINIMAL 2024-02-02 18:35:00 -07:00
isa
kern unix: synchronize shutdown(2) with read(2) 2024-02-03 13:08:41 -08:00
kgssapi
libkern
modules iwlwifi: add the d3 (PM) bits to the Makefile (disabled) 2024-02-03 13:48:27 +00:00
net Revert "sockets: retire sorflush()" 2024-02-03 13:08:41 -08:00
net80211 net80211: make sure calls to (*iv_update_bss)() are locked 2024-02-03 13:55:29 +00:00
netgraph sockets: garbage collect SS_ISCONFIRMING 2024-01-30 10:38:33 -08:00
netinet Revert "sockets: retire sorflush()" 2024-02-03 13:08:41 -08:00
netinet6 Revert "sockets: retire sorflush()" 2024-02-03 13:08:41 -08:00
netipsec netipsec: fix LINT-NOINET build 2024-01-20 22:22:21 +01:00
netlink sys/netlink/route/iface.c: remove an extra semicolon 2024-02-02 18:35:01 -07:00
netpfil sys/netpfil/pf/pf.c: remove an extra semicolon 2024-02-02 18:35:01 -07:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed sockets: provide correct pr_shutdown for keysock and SDP 2024-01-16 12:02:59 -08:00
opencrypto
powerpc ddb: Use bool for boolean variables in MD code 2024-02-02 15:08:53 -08:00
riscv pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
rpc sockets: garbage collect SS_ISCONFIRMING 2024-01-30 10:38:33 -08:00
security
sys Revert "sockets: retire sorflush()" 2024-02-03 13:08:41 -08:00
teken
tests callout: retire callout_async_drain() 2024-01-24 09:33:27 -08:00
tools
ufs Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00
vm pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
x86 x86 mem: Pass standard bool value to pmap_demote_DMAP 2024-02-02 15:32:44 -08:00
xdr
xen xen: add atomic #defines to accomodate differing xen_ulong_t sizes 2023-12-15 14:59:26 +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