freebsd-dev/sys
Ed Maste 00172f3416 geom: use bool for one-bit wide bit-field
A one-bit wide bit-field can take only the values 0 and -1.  Clang 16
introduced a warning that "implicit truncation from 'int' to a one-bit
wide bit-field changes value from 1 to -1".  Fix by using c99 bool.

Reported by:	Clang, via dim
Reviewed by:	dim
Sponsored by:	The FreeBSD Foundation
2023-04-17 15:43:00 -04:00
..
amd64 amd64: fix PKRU and swapout interaction 2023-04-15 02:53:59 +03:00
arm amd64: fix PKRU and swapout interaction 2023-04-15 02:53:59 +03:00
arm64 amd64: fix PKRU and swapout interaction 2023-04-15 02:53:59 +03:00
bsm
cam Revert "cam: fix up world compilation after previous" 2023-04-15 18:25:55 -06:00
cddl dtrace: handle NOP instructions in the riscv invop handler 2023-04-10 12:14:11 -04:00
compat net: replace IFF_KNOWSEPOCH with IFF_NEEDSEPOCH 2023-04-17 09:08:35 -07:00
conf sys/modules/Makefile: conditionally add MAC/veriexec modules 2023-04-16 20:24:54 -04:00
contrib zfs: Add vfs.zfs.bclone_enabled sysctl. 2023-04-17 03:38:30 -07:00
crypto OpenSSL: Regen an assembly file for arm 2023-03-21 15:13:51 -04:00
ddb
dev net: replace IFF_KNOWSEPOCH with IFF_NEEDSEPOCH 2023-04-17 09:08:35 -07:00
dts
fs tarfs: Use the existing CTLFLAG_RWTUN flag definition 2023-04-12 12:20:38 +08:00
gdb
geom geom: use bool for one-bit wide bit-field 2023-04-17 15:43:00 -04:00
gnu
i386 amd64: fix PKRU and swapout interaction 2023-04-15 02:53:59 +03:00
isa
kern Add new privilege PRIV_KDB_SET_BACKEND 2023-04-16 14:37:58 -04:00
kgssapi
libkern
modules tests: add ktest modules to build 2023-04-17 10:46:05 +00:00
net net: replace IFF_KNOWSEPOCH with IFF_NEEDSEPOCH 2023-04-17 09:08:35 -07:00
net80211 net80211: fix a typo in Rx MCS set for unequal modulation case 2023-04-14 18:20:09 +03:00
netgraph
netinet tcp: fix build 2023-04-17 10:24:20 -07:00
netinet6 inet6: protect address manipulation with a lock 2023-03-30 08:46:38 +00:00
netipsec
netlink netlink: fix operations with link-local routes/gateways. 2023-04-17 12:04:43 +00:00
netpfil pf: backport OpenBSD syntax of "scrub" option for "match" and "pass" rules 2023-04-14 09:04:06 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed net: replace IFF_KNOWSEPOCH with IFF_NEEDSEPOCH 2023-04-17 09:08:35 -07:00
opencrypto
powerpc amd64: fix PKRU and swapout interaction 2023-04-15 02:53:59 +03:00
riscv riscv: save the thread pointer in both modes 2023-04-17 09:49:52 -04:00
rpc
security veriexec: Add function to get label associated with a file 2023-04-17 11:47:33 -04:00
sys veriexec: Additional functionality for MAC/veriexec 2023-04-17 11:47:32 -04:00
teken
tests tests: make ktest build on ppc. 2023-04-17 13:47:07 +00:00
tools vfs: validate that vop vectors provide all or none fplookup vops 2023-04-06 15:20:41 +00:00
ufs vn_lock_pair(): allow to request shared locking 2023-04-08 01:58:26 +03:00
vm amd64: fix PKRU and swapout interaction 2023-04-15 02:53:59 +03:00
x86 xen: move common variables off of sys/x86/xen/hvm.c 2023-04-14 15:59:11 +02:00
xdr
xen xen: move common variables off of sys/x86/xen/hvm.c 2023-04-14 15:59:11 +02: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.

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