Re: git: 47c12f20bf58 - stable/15 - pf: only allow a subset of netlink calls when securelevel is set

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 29 Apr 2026 07:58:15 UTC
On 29 Apr 2026, at 0:20, Bjoern A. Zeeb wrote:
> On Tue, 28 Apr 2026, Kristof Provost wrote:
>> The branch stable/15 has been updated by kp:
>>
>> URL: https://cgit.FreeBSD.org/src/commit/?id=47c12f20bf58b69e7ab1707e6e705907ad0d277e
>>
>> commit 47c12f20bf58b69e7ab1707e6e705907ad0d277e
>> Author:     Kristof Provost <kp@FreeBSD.org>
>> AuthorDate: 2026-04-20 06:36:17 +0000
>> Commit:     Kristof Provost <kp@FreeBSD.org>
>> CommitDate: 2026-04-28 15:33:57 +0000
>>
>>    pf: only allow a subset of netlink calls when securelevel is set
>
>
> This seems to have broken LINT-NOVIMAGE on stable/15.
>
> sys/netlink/netlink_generic.c:154:6: error: call to undeclared function 'securelevel_ge'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
>
Thanks for the warning. We had the same issue on main, and I failed to remember to also cherry-pick 3103d39cd99f0a49414f907459d8fd3c11dc36b8.

It should be fixed now.

Best regards,
Kristof