On 07.11.24 14:40, Nazir Bilal Yavuz wrote:
>> I noticed that neither the existing FreeBSD task nor the new OpenBSD one
>> find the bsd_auth.h header. I thought this would be good to get more
>> testing of that code. Do you know why that is?
>
> The 'bsd_auth.h' file does not exist in FreeBSD.
>
> For the OpenBSD, it exists but its compilation fails with:
> '''
> /usr/include/bsd_auth.h:93:1: error: unknown type name 'quad_t'
> /usr/include/bsd_auth.h:94:1: error: unknown type name 'quad_t
> '''
>
> These 'quad_t' types are defined in the 'sys/types.h' file.
Makes sense. The synopsis in https://man.openbsd.org/authenticate.3 is:
#include <sys/types.h>
#include <login_cap.h>
#include <bsd_auth.h>