Re: pledge(2): kill(0, sig) is permitted under any promise via pid==0 exception, but the manpage lists kill(2) only under "proc"

"Theo de Raadt" <[email protected]> Wed, 13 May 2026 07:55:38 -0600
Newsgroups gmane.os.openbsd.bugs
Message-ID <[email protected]>
> A stdio-pledged process is, per the documented contract, supposed to
> only act on already-open file descriptors and process-internal state.

The manual page does not say that.  It does however say the following:

    As a result, all the expected functionalities of libc stdio work.