freebsd-src/sys
Warner Losh 689663d465 Initialize CLOCK_UPTIME for itmer events
Since we move to implement Linux's CLOCK_MONOTONIC with CLOCK_UPTIME, we
broke the some timer support for Linux. Fix this by initializing
CLOCK_UPTIME as a posix clock so we can use in that context.

PR:			292496
MFC After:		5 days
Fixes: 			108de78451
Sponsored by:		Netflix
Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D54746
2026-01-16 14:20:20 -07:00
..
amd64 MINIMAL: Add virtio_scsi 2026-01-16 13:31:12 +01:00
arm vchiq: fix build with clang 21 2026-01-16 15:02:35 +01:00
arm64 arm64/iommu: Fix a resource leak in smmu_domain_alloc() 2026-01-15 14:04:19 +00:00
bsm
cam cam: When inq data isn't valid, pass NULL 2026-01-07 23:19:21 -07:00
cddl sdt: Fix the probe ID type in struct sdt_probe 2026-01-13 17:07:37 +00:00
compat linux: on vnet detach call clean_unrhdr(9) always 2026-01-15 13:37:34 -08:00
conf vchiq: fix build with clang 21 2026-01-16 15:02:35 +01:00
contrib Revert "ophgo: import new .dts" 2026-01-10 08:08:30 -07:00
crypto crypto: Update sha256 and sha512 ifuncs to use passed HWCAP flags 2026-01-13 15:28:04 +00:00
ddb
dev smartpqi: Avoid declaring extern inline functions 2026-01-16 19:55:08 +00:00
dts remove sys/dts/arm/socfpga_*_sdmmc.dts 2025-12-15 18:47:17 +01:00
fs nfsd: Fix handling of attributes during Open/Create/Exclusive_41 2026-01-15 15:27:22 -08:00
gdb
geom geom/zero: Add support for unmapped I/O 2025-11-11 17:06:59 +01:00
gnu
i386 MINIMAL: Add virtio_scsi 2026-01-16 13:31:12 +01:00
isa bus_alloc_resource: Pass rid by value to BUS_ALLOC_RESOURCE DEVMETHOD 2025-12-09 15:00:06 -05:00
kern Initialize CLOCK_UPTIME for itmer events 2026-01-16 14:20:20 -07:00
kgssapi kgssapi: Remove broken MOD_UNLOAD code 2025-11-27 20:29:55 -05:00
libkern libkern: Avoid a one-byte OOB access in strndup() 2025-12-08 14:08:22 +00:00
modules iwlwifi/rtw89: improve module Makefile dependency on ACPI 2026-01-14 18:08:39 +00:00
net if_ovpn: add interface counters 2026-01-15 17:18:27 +01:00
net80211 net80211: fix arguments to IEEE80211_NOTE in ieee80211_fix_rate 2026-01-14 18:51:11 +00:00
netgraph ng_netflow v9: fix template re-announcement using packet count 2026-01-16 22:06:53 +03:30
netinet tcp: Unifidef use of rss software hash in syncache 2026-01-05 15:57:11 -05:00
netinet6 ipv6: account for jumbo payload option 2026-01-16 12:49:40 +01:00
netipsec sys/netipsec: ensure sah stability during input callback processing 2025-12-22 14:31:25 +02:00
netlink net: add ifnet_rename_event EVENTHANDLER(9) for interface renaming 2025-12-21 18:23:14 -08:00
netpfil pf: remove unused function 2026-01-14 07:44:44 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Remove all code under __SPE__ 2026-01-12 00:51:05 -07:00
riscv riscv: add (a dummy) acpica_machdep.h 2026-01-14 18:08:38 +00:00
rpc
security kern: add a mac.label jail parameter 2026-01-15 18:23:39 -06:00
sys smp: add smp_rendezvous_cpu helper function 2026-01-16 22:38:12 +08:00
teken
tests tcp: improve testing of HPTS 2025-10-13 22:31:30 +02:00
tools make_dtb.sh: add include path 2025-12-11 18:19:44 +01:00
ufs
vm vm_map_entry_delete(): fix the calculation of swap release 2026-01-13 19:06:38 +02:00
x86 hwpstate_amd: Use ipi instead of sched_bind + thread_lock 2026-01-16 22:38:15 +08:00
xdr
xen sys/xen: Use __printflike() instead of format(printf) 2025-12-28 22:16:40 +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