1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/sys
Kirk McKusick a2d1957bbc Updates to UFS/FFS superblock integrity checks when reading a superblock.
Check for an uninitialed (zero valued) fs_maxbsize and set it
to its minimum valid size (fs_bsize). Uninitialed fs_maxbsize
were left by older versions of makefs(8) and the superblock
integrity checks fail when they are found.

No legitimate superblocks should fail as a result of these changes.

MFC after:    1 week
Sponsored by: The FreeBSD Foundation
2023-04-29 17:01:18 -07:00
..
amd64 linux(4): Make struct stat64 to match Linux actual one 2023-04-28 11:55:04 +03:00
arm armv7: Fix BeagleBone Black panic on system start 2023-04-28 22:03:57 +02:00
arm64 Split out pmap_map_delete on arm64 2023-04-28 11:54:19 +01:00
bsm
cam Revert "cam: fix up world compilation after previous" 2023-04-15 18:25:55 -06:00
cddl kinst: do not use DPCPU_ID_GET if we already have the trampoline 2023-04-28 11:11:10 -04:00
compat linux(4): Uniformly dev_t arguments translation 2023-04-28 11:55:05 +03:00
conf Mark simplefb as depending on fdt 2023-04-26 14:11:31 +01:00
contrib openzfs: re-enable FPU usage on aarch64 2023-04-26 19:47:14 -05:00
crypto
ddb
dev wg: change module name to if_wg 2023-04-29 18:30:24 +02:00
dts
fs sys/fs: do not report blocks allocated for synthetic file systems 2023-04-25 09:59:15 +02:00
gdb
geom geom: use bool for one-bit wide bit-field 2023-04-17 15:43:00 -04:00
gnu
i386 linux(4): Make struct stat64 to match Linux actual one 2023-04-28 11:55:04 +03:00
isa
kern vfs: Rename vfs_emptydir() to vn_dir_check_empty() 2023-04-28 22:37:35 +03:00
kgssapi
libkern ext2fs: extract crc16 into sys/crc16.h 2023-04-24 12:41:52 +03:00
modules intelspi: add PCI attachment (Lynx/Wildcat/Sunrise Point) 2023-04-24 12:41:52 +03:00
net netlink: fix IPv6 proxy ndp deletion. 2023-04-26 13:26:37 +00:00
net80211 net80211: Remove double words in source code comments 2023-04-18 07:14:50 +02:00
netgraph
netinet siftr: remove barely used hash generation per record 2023-04-26 15:57:42 -04:00
netinet6 ipv6: disable RFC 4620 nodeinfo by default 2023-04-26 13:47:59 -04:00
netipsec netipsec/key.c: use designated initializers for arrays 2023-04-25 09:41:24 +03:00
netlink netlink: fix debug message on 32-bit archs 2023-04-28 15:47:11 +00:00
netpfil pf: clear PF_TAG_ROUTE_TO for dummynet fast path 2023-04-26 17:09:47 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ofed: Fix a logic inversion from IfAPI conversion 2023-04-19 11:56:25 -04:00
opencrypto
powerpc powerpc: Use valid prototypes for function declarations with no arguments. 2023-04-24 08:53:50 -07:00
riscv riscv: Implement bus_describe_intr() for nexus 2023-04-23 13:55:57 -04:00
rpc
security mac: Honor order when registering MAC modules. 2023-04-18 15:36:27 -04:00
sys vfs: Rename vfs_emptydir() to vn_dir_check_empty() 2023-04-28 22:37:35 +03:00
teken
tests tests: make ktest build on ppc. 2023-04-17 13:47:07 +00:00
tools makesyscalls.lua: Minor fluff removal 2023-04-20 16:17:58 -06:00
ufs Updates to UFS/FFS superblock integrity checks when reading a superblock. 2023-04-29 17:01:18 -07:00
vm vm: fix a number of functions to match the expected prototypes 2023-04-25 19:58:18 +02:00
x86 busdma: Update KMSAN shadow maps later in bounce_bus_dmamap_sync() 2023-04-28 10:59:01 -04: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