[Bug 295965] wait3(&status, WNOHANG, ...) clobbers status to -65536 when no child exits. (compat32 bug?)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 Jun 2026 22:30:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295965

--- Comment #6 from Matthias Andree <mandree@FreeBSD.org> ---
So, kernel installed, rebooted, re-tried the test, all paths that failed for me
previously now seem to leave the status value alone when wait3() returns a 0.

Why does this not seem to show when emulating i386 on amd64?
That setup also goes through freebsd32_wait4() according to truss.

-- 
You are receiving this mail because:
You are on the CC list for the bug.