"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
"Todd C. Miller" <millert@openbsd.org>
Subject:
Re: fix gotd group auth
To:
Stefan Sperling <stsp@stsp.name>
Cc:
gameoftrees@openbsd.org
Date:
Thu, 17 Nov 2022 09:22:44 -0700

Download raw body.

Thread
On Thu, 17 Nov 2022 17:18:35 +0100, Stefan Sperling wrote:

> These functions read files or yellow pages and can fail for reasons
> such as i/o failures. Our getpwuid implementation sets errno on failure.
>
> Since errno is not mentioned in the man page, I agree that we should
> probably not check it. I ended up reading the implementation because
> the man page was too vague. I have no idea how portable checking for
> errno is in this case... :-/

I don't think it is portable at all.

 - todd