[PATCH] Linux: Fix '__close_nocancel_nostatus' clobbering 'errno' [BZ #33035]
Maciej W. Rozycki
macro@redhat.com
Fri May 30 16:09:20 GMT 2025
On Fri, 30 May 2025, Adhemerval Zanella Netto wrote:
> It is not clear neither from the bug report nor from commit message why
> cloberring errno in this case causes the regression.
The `_nostatus' suffix in the handler refers to keeping `errno' intact.
It's also clearly documented with the implementation:
/* Non cancellable close syscall that does not also set errno in case of
failure. */
Maciej
More information about the Libc-alpha
mailing list