NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53931 (posix_fadvise_reg test case fails randomly on real hardware)



Synopsis: posix_fadvise_reg test case fails randomly on real hardware

Responsible-Changed-From-To: kern-bug-people->kre
Responsible-Changed-By: riastradh%NetBSD.org@localhost
Responsible-Changed-When: Sun, 13 Apr 2025 00:31:02 +0000
Responsible-Changed-Why:
Need a ruling from an Austin Group whisperer: is posix_fadvise (and
any other POSIX function that returns an error code instead of setting
errno and returning -1, like pthread_*) _allowed_ to set errno, or
_required_ to leave errno as it was on entry when it returns?

If it's allowed to set errno, we can close this -- test has been fixed.

If it's forbidden to set errno, we need to do a lot of work to make
libpthread and librumpuser save/restore errno on ~every public
function.





Home | Main Index | Thread Index | Old Index