Date: Wed, 10 Jun 2026 19:35:09 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 295965] wait3(&status, WNOHANG, ...) clobbers status to -65536 when no child exits. (compat32 bug?) Message-ID: <bug-295965-21822-EUdQHS32o3@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-295965-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295965 --- Comment #12 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Matthias Andree from comment #11) For "2." . . . For reference on an Orange Pi+ 2nd Ed (Cortex-A7 armv7 based): # uname -apKU FreeBSD OPiP2E-RPi2v1p1 16.0-CURRENT FreeBSD 16.0-CURRENT main-n286507-980ba4177b69 GENERIC-NODEBUG arm armv7 1600018 1600018 That is from an official pkgbase distribution (boot kernel and boot world) is from before the compat32 commit for wait issue: Tue, 09 Jun 2026 . . . git: 980ba4177b69 - main - ldns: Fix query response validation Mark Johnston . . . Wed, 10 Jun 2026 . . . git: 89fa97f0a71d - main - compat32 wait4/6(2): only copy out when there is a pid to report Konstantin Belousov no chroot or jail involved. Result: # cc -std=c11 -o try-wait3 try-wait3.c -O3 -Wall && ./try-wait3 pid = 0, status = 0 = 0 -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295965-21822-EUdQHS32o3>
