diff options
author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2023-04-02 11:50:04 +0000 |
---|---|---|
committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2023-04-02 15:27:21 +0000 |
commit | 3091d980f581753f86df4155057b4ef23eb3ad27 (patch) | |
tree | a5e7bc57d8135e18f0ba5eb7bff59055afb4be79 /sys/amd64/conf/DEFAULTS | |
parent | 4fd9e206716d019f46300aad40e5aa750ebb2e9d (diff) | |
download | src-3091d980f581753f86df4155057b4ef23eb3ad27.tar.gz src-3091d980f581753f86df4155057b4ef23eb3ad27.zip |
netlink: add NETLINK to the DEFAULTS for each architecture
NETLINK is going to replace rtsock and a number of other ioctl/sysctl interfaces.
In-base utilies such as route(8), netstat(8) and soon ifconfig(8)
are being converted to use netlink sockets as a transport between
kernel and userland.
In the current configuration, it still possible have the kernel
without NETLINK (`nooptions NETLINK`) and use the aforementioned
utilies by buidling the world with `WITHOUT_NETLINK` src.conf knob.
However, this approach does not cover the cases when person unintentionally
builds a custom kernel without netlink and tries to use the standard userland.
This change adds `option NETLINK` to the default options for each
architecture, fixing the custom kernel issue.
For arm, this change uses `std.armv6` and `std.armv7` (netlink already in)
instead of DEFAULTS.
Reviewed By: imp
Differential Revision: https://reviews.freebsd.org/D39339
Diffstat (limited to 'sys/amd64/conf/DEFAULTS')
-rw-r--r-- | sys/amd64/conf/DEFAULTS | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/conf/DEFAULTS b/sys/amd64/conf/DEFAULTS index 733823e931d6..bc8a268e1ea4 100644 --- a/sys/amd64/conf/DEFAULTS +++ b/sys/amd64/conf/DEFAULTS @@ -25,3 +25,5 @@ options GEOM_PART_GPT options CC_CUBIC # include CUBIC congestion control options NEW_PCIB + +options NETLINK # netlink(4) support |