]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-netlink,sd-device: drop old kernels (<4.2) support
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Apr 2025 20:42:24 +0000 (05:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Apr 2025 18:40:40 +0000 (03:40 +0900)
commit6dbf2c1beb7ddde7b54b3b3d798d27ba79a0e99b
treee30b486a2d2f775457853dbd5d5109b72061eba0
parentd3d375a68671ae01a71b91b99f6bd2a3fe9ff01b
sd-netlink,sd-device: drop old kernels (<4.2) support

NETLINK_LIST_MEMBERSHIPS is supported since kernel v4.2, specifically
https://github.com/torvalds/linux/commit/b42be38b2778eda2237fc759e55e3b698b05b315

Our baseline on the kernel is v5.4. Let's drop unnecessary conditions.
src/basic/socket-util.c
src/libsystemd/sd-device/device-monitor.c
src/libsystemd/sd-netlink/netlink-internal.h
src/libsystemd/sd-netlink/netlink-socket.c