freebsd-src/sys
Olivier Certner f7c4f800cc
sys/rpc: Define AUTH_SYS_MAX_{GROUPS,HOSTNAME}
As, respectively, the maximum number of "supplementary" groups and the
maximum hostname size allowed in the credentials structure for AUTH_SYS
(aka, AUTH_UNIX).

Will be used in subsequent commits.

Reviewed by:    rmacklem
MFC after:      2 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D52961
2025-10-14 14:21:48 +02:00
..
amd64 vmm: Move the guest vmspace into the generic vm_mem structure 2025-10-10 13:22:40 +00:00
arm arm: Use proper prototype for SYSINIT functions 2025-10-13 18:12:35 +08:00
arm64 arm64 coresight: Use proper prototype for SYSINIT functions 2025-10-13 18:12:36 +08:00
bsm vfs: Initial revision of inotify 2025-07-04 14:42:33 +00:00
cam scsi: Use proper prototype for SYSINIT functions 2025-10-13 18:12:28 +08:00
cddl opensolaris: Use proper prototype for SYSINIT functions 2025-10-13 18:12:28 +08:00
compat linuxkpi: Support s2idle in pm_suspend_target_state 2025-10-06 23:49:54 +02:00
conf tcp: improve testing of HPTS 2025-10-13 22:31:30 +02:00
contrib zfs: Revert "tunables: remove legacy FreeBSD aliases" 2025-10-09 10:43:03 -04:00
crypto ossl: Add GCM support on powerpc64/powerpc64le (POWER8+) 2025-09-11 16:08:05 +00:00
ddb ddb ps: Print again the effective GID, separately 2025-09-09 17:56:40 +02:00
dev xen: Use proper prototype for SYSINIT functions 2025-10-13 18:12:30 +08:00
dts
fs fuse_flush: Reuse the struct mount *mp variable 2025-10-14 15:05:17 +03:00
gdb
geom g_part: Replace some spaces with tabs to match the rest of this struct 2025-10-08 19:41:23 -06:00
gnu bwn(4): BWN_GPL_PHY: make compile again 2025-06-22 00:19:42 +00:00
i386 i386: Use proper prototype for SYSINIT functions 2025-10-13 18:12:36 +08:00
isa isa_common: allow multiple device instances 2025-10-03 14:20:04 +08:00
kern jail: Use proper prototype for SYSINIT functions 2025-10-13 18:12:31 +08:00
kgssapi kgssapi: Fix the kgssapi so that it can use MIT Kerberos 2025-08-07 14:02:32 -07:00
libkern libkern: Use proper prototype for SYSINIT functions 2025-10-13 18:12:31 +08:00
modules tcp: Initial ktest for HPTS 2025-10-13 21:47:31 +02:00
net net: Use proper prototype for SYSINIT functions 2025-10-13 18:12:32 +08:00
net80211 net80211: Use proper prototype for SYSINIT functions 2025-10-13 18:12:32 +08:00
netgraph mtx: rename MTX_CONTESTED to MTX_WAITERS 2025-10-06 02:19:38 +00:00
netinet tcp: add missing header file 2025-10-13 22:45:39 +02:00
netinet6 netinet6: Use proper prototype for SYSINIT functions 2025-10-13 18:12:33 +08:00
netipsec netipsec: Use proper prototype for SYSINIT functions 2025-10-13 18:12:33 +08:00
netlink netlink: in snl_init_writer() don't overwrite error in case of failure 2025-10-06 22:48:28 -07:00
netpfil pf: Use proper prototype for SYSINIT functions 2025-10-13 18:12:34 +08:00
netsmb kern: adopt the cr_gid macro for cr_groups[0] more widely 2025-07-24 09:59:08 -05:00
nfs nfs: Use proper prototype for SYSINIT functions 2025-10-13 18:12:34 +08:00
nfsclient
nfsserver
nlm
ofed
opencrypto newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
powerpc powerpc: Use proper prototype for SYSINIT functions 2025-10-13 18:12:37 +08:00
riscv vmm: Remove some unused macros 2025-10-10 13:22:40 +00:00
rpc sys/rpc: Define AUTH_SYS_MAX_{GROUPS,HOSTNAME} 2025-10-14 14:21:48 +02:00
security MAC: Use proper prototype for SYSINIT functions 2025-10-13 18:12:35 +08:00
sys sys/sysent.h: Remove an unneeded type cast 2025-10-13 18:12:35 +08:00
teken
tests tcp: improve testing of HPTS 2025-10-13 22:31:30 +02:00
tools libexec/kgdb: Add new modules and install them together with debug info 2025-10-03 14:32:09 +00:00
ufs ddb show lockedvnods: avoid trap for ufs vnode under construction 2025-10-01 11:25:27 -07:00
vm vm: Use proper prototype for SYSINIT functions 2025-10-13 18:12:35 +08:00
x86 x86/xen: Use proper prototype for SYSINIT functions 2025-10-13 18:12:37 +08:00
xdr
xen machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +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