opnsense-src/sys
Mark Johnston bc4430dc20 vfs: Add event notification points
The INOTIFY macro and its variants check if the vnode is being watched,
and if so, calls into a slow path which adds an event to one or more
inotify descriptors.  Most of these events correspond to EVFILT_VNODE
events as well, and are added to VOP *_post hooks.

Reviewed by:	kib
MFC after:	3 months
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D50315
2025-07-04 14:42:33 +00:00
..
amd64 amd64: enable EFER.TCE 2025-07-03 16:30:02 -05:00
arm gpio: attach gpiobus when the controller is ready 2025-07-04 16:56:00 +03:00
arm64 gpio: attach gpiobus when the controller is ready 2025-07-04 16:56:00 +03:00
bsm vfs: Initial revision of inotify 2025-07-04 14:42:33 +00:00
cam mmc_da: garbage-collect sdda_get_max_data 2025-07-04 11:01:00 +03:00
cddl machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
compat inotify: Regenerate syscall definitions 2025-07-04 14:42:33 +00:00
conf vfs: Initial revision of inotify 2025-07-04 14:42:33 +00:00
contrib iwlwifi: compile in ACPI support 2025-07-04 05:22:22 +00:00
crypto newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
ddb machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
dev gpio: attach gpiobus when the controller is ready 2025-07-04 16:56:00 +03:00
dts
fs vfs: Initial revision of inotify 2025-07-04 14:42:33 +00:00
gdb
geom machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
gnu bwn(4): BWN_GPL_PHY: make compile again 2025-06-22 00:19:42 +00:00
i386 sys: Add AT_HWCAP3 and AT_HWCAP4 2025-06-24 17:26:40 +01:00
isa newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
kern vfs: Add event notification points 2025-07-04 14:42:33 +00:00
kgssapi
libkern machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
modules iwlwifi: compile in ACPI support 2025-07-04 05:22:22 +00:00
net pf: Rename pf_anchor_remove() to pf_remove_anchor() 2025-07-04 10:31:12 +02:00
net80211 net80211: in ieee80211_sta_join() only do_ht if HT is avail 2025-06-19 01:23:12 +00:00
netgraph Internal scheduling priorities: Always use symbolic ones 2025-06-17 22:08:02 -04:00
netinet tcp: remove an invalid KASSERT 2025-07-01 09:00:24 +02:00
netinet6 counter(9): rate limit periods may be more than 1 second 2025-06-25 19:56:22 +02:00
netipsec machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
netlink machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01:00
netpfil pf: Check for main ruleset explicitly 2025-07-04 10:31:12 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
powerpc gpio: attach gpiobus when the controller is ready 2025-07-04 16:56:00 +03:00
riscv nexus: Add device_shutdown where missing 2025-06-25 15:53:24 -04:00
rpc rpctls_impl.c: Fix handling of socket for daemon failure 2025-06-21 16:49:13 -07:00
security audit: move the wait from the queue length from the commit to alloc 2025-06-18 20:57:49 +03:00
sys vfs: Add event notification points 2025-07-04 14:42:33 +00:00
teken
tests epoch_test: Assign different priorities using offset 1 2025-06-17 22:09:36 -04:00
tools vfs: Initial revision of inotify 2025-07-04 14:42:33 +00:00
ufs Internal scheduling priorities: Always use symbolic ones 2025-06-17 22:08:02 -04:00
vm Import the Hardware Trace (HWT) framework. 2025-07-03 15:48:34 +01:00
x86 sys: provide the kernel's pa when dumping on amd64 2025-06-22 06:49:32 +03: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