Find a file
Alexander V. Chernikov 19e43c163c netlink: add netlink KPI to the kernel by default
This change does the following:

Base Netlink KPIs (ability to register the family, parse and/or
 write a Netlink message) are always present in the kernel. Specifically,
* Implementation of genetlink family/group registration/removal,
  some base accessors (netlink_generic_kpi.c, 260 LoC) are compiled in
  unconditionally.
* Basic TLV parser functions (netlink_message_parser.c, 507 LoC) are
  compiled in unconditionally.
* Glue functions (netlink<>rtsock), malloc/core sysctl definitions
 (netlink_glue.c, 259 LoC) are compiled in unconditionally.
* The rest of the KPI _functions_ are defined in the netlink_glue.c,
 but their implementation calls a pointer to either the stub function
 or the actual function, depending on whether the module is loaded or not.

This approach allows to have only 1k LoC out of ~3.7k LoC (current
 sys/netlink implementation) in the kernel, which will not grow further.
It also allows for the generic netlink kernel customers to load
 successfully without requiring Netlink module and operate correctly
 once Netlink module is loaded.

Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D39269
2023-03-27 13:55:44 +00:00
.cirrus-ci
.github Vendor import of OpenSSH 9.3p1 2023-03-16 08:41:22 -04:00
bin pkill: tests: do a pass for case-sensitive conflicts 2023-03-20 14:54:54 -05:00
cddl libdtrace: fix indendation in dt_printd() 2023-03-20 09:34:20 -04:00
contrib contrib/tzdata: import tzdata 2023b 2023-03-24 12:45:24 +08:00
crypto sftp: add description of memory leak fix 2023-03-22 11:04:29 -04:00
etc Reserve u2f group for FIDO/U2F key support (SSH, etc.) 2023-03-14 13:09:40 -04:00
gnu gnu diff3: apply patch to committed src, rather than at build time 2022-11-13 21:33:40 -05:00
include arpa: garbage collect ns_newmsg/ns_rdata decls 2023-03-22 14:58:23 -04:00
kerberos5 kerberos5: retire now-unused MIPS support 2022-11-02 13:16:18 -04:00
lib libc: Use secure_getenv(3) where appropriate 2023-03-27 08:56:22 -04:00
libexec rc: Chase bfb202c455 and remove ifconfig down/up for wpa_supplicant 2023-03-24 10:07:29 -07:00
release pkg-stage.sh: update port trailing version information 2023-03-20 10:36:51 -04:00
rescue rescue: Fix link order of SSL libraries and fetch. 2023-02-02 09:23:02 -08:00
sbin nvmecontrol(8): fix resv register -i synopsis 2023-03-27 15:00:33 +02:00
secure ssh: Update to OpenSSH 9.3p1 2023-03-16 10:29:55 -04:00
share netlink: restrict default userland switch to netlink to i386/amd64. 2023-03-26 11:06:53 +00:00
stand amd64 loader: Use efiserialio for Hyper-V booted systems 2023-03-18 07:07:35 +00:00
sys netlink: add netlink KPI to the kernel by default 2023-03-27 13:55:44 +00:00
targets retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
tests makefs: add missing break for 'g' case in tarfs test 2023-03-23 09:10:31 -04:00
tools netlink: add NETLINK/NETLINK_SUPPORT userland options. 2023-03-26 08:59:58 +00:00
usr.bin tftp tests: Fix a typo in the makefile 2023-03-26 12:54:59 -04:00
usr.sbin bhyve: add config option to modify LPC IDs 2023-03-27 10:10:24 +02:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml CI: Run pkgbase METALOG lint script 2023-03-14 21:13:46 -04:00
.clang-format
.git-blame-ignore-revs Add git-blame ignore file 2023-01-23 15:27:25 -05:00
.gitattributes
.gitignore .gitignore: Ignore LSP generated .cache 2023-03-07 10:04:18 -05:00
CONTRIBUTING.md CONTRIBUTING.md: Suggest using checkstyle9.pl 2023-03-21 02:08:12 -06:00
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
LOCKS
MAINTAINERS MAINTAINERS+GitHub: Reflect ipfilter was moved from contrib to netpfil 2023-02-28 10:33:03 -08:00
Makefile Import tzdata 2023a 2023-03-23 09:14:52 +08:00
Makefile.inc1 Add new DISK_IMAGE_TOOLS_BOOTSTRAP option 2023-03-15 00:06:53 +00:00
Makefile.libcompat libcompat: avoid installing include files twice 2022-11-16 19:15:20 -05:00
Makefile.sys.inc
ObsoleteFiles.inc Remove libvmmapi.so.5 after the shlib version was bumped to 6. 2023-03-24 13:42:18 -07:00
README.md Vendor import of OpenSSH 9.3p1 2023-03-16 08:41:22 -04:00
RELNOTES RELNOTES: Add an entry for NFS server support in vnet prisons 2023-03-12 14:55:46 -07:00
UPDATING UPDATING: Document arm video devices renaming. 2023-03-17 13:35:03 +01:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.