Call for testing: openssh-10.3
Damien Miller
djm at mindrot.org
Tue Mar 31 12:25:58 AEDT 2026
On Mon, 30 Mar 2026, Hisashi T Fujinaka wrote:
> I'm testing on NetBSD 11.0_RC2 on amd64 and there's a missing define for
> PLEDGE_EXTRA_INET.
>
> clientloop.c:964:28: error: 'PLEDGE_EXTRA_INET' undeclared (first use in this
> function)
> 964 | if (pledge(PLEDGE_EXTRA_INET "stdio unix proc tty",
> NULL) == -1)
> | ^~~~~~~~~~~~~~~~~
that's strange, as it should be set unconditionally in config.h by this
configure.ac block:
> dnl Finish up special pledge(2) handling from above.
> if test -z "$need_pledge_inet" ; then
> AC_DEFINE_UNQUOTED([PLEDGE_EXTRA_INET], [])
> else
> AC_DEFINE_UNQUOTED([PLEDGE_EXTRA_INET], ["inet "],
> [need inet in pledge for setsockopt IP_TOS])
> fi
Did you regenerate/rerun configure?
Thanks for testing :)
-d
More information about the openssh-unix-dev
mailing list