git: 3103d39cd99f - main - netlink: fix LINT-NOVIMAGE build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Apr 2026 07:38:17 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=3103d39cd99f0a49414f907459d8fd3c11dc36b8
commit 3103d39cd99f0a49414f907459d8fd3c11dc36b8
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-04-22 21:33:30 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-04-23 07:37:52 +0000
netlink: fix LINT-NOVIMAGE build
Include the required header for securelevel_ge()
Fixes: 9933bdcb1264 ("pf: only allow a subset of netlink calls when securelevel is set")
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/netlink/netlink_generic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/netlink/netlink_generic.c b/sys/netlink/netlink_generic.c
index 3a73ecc0b339..fb74860e42b3 100644
--- a/sys/netlink/netlink_generic.c
+++ b/sys/netlink/netlink_generic.c
@@ -34,6 +34,7 @@
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/priv.h>
+#include <sys/proc.h>
#include <sys/socket.h>
#include <sys/sx.h>