NetBSD-Bugs archive

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

Re: kern/58425: negation of pid or pgid is UB for INT_MIN



The following reply was made to PR kern/58425; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kre%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 campbell+netbsd%mumble.net@localhost,
 mrg%netbsd.org@localhost
Subject: Re: kern/58425: negation of pid or pgid is UB for INT_MIN
Date: Sun, 14 Jul 2024 07:33:56 -0700

 > On Jul 13, 2024, at 10:00=E2=80=AFPM, matthew green <mrg%eterna23.net@localhost> =
 wrote:
 >=20
 > i was running atf on m68k virt68k qemu and it crashed the emulator
 > itself.  turns out -INT_MAX/-1 traps on x86.
 >=20
 > i have this uncommited/unsubmitted patch for qemu:
 >=20
 >    https://www.netbsd.org/~mrg/patch-target_m68k_op_helper.c
 
 I have an outstanding open issue with qemu about this.  I don=E2=80=99t =
 know why it=E2=80=99s stalled.  I haven=E2=80=99t had much time to spend =
 on qemu stuff (long enough for my mailing list sub to time out), but =
 I=E2=80=99ll make a point of circling back around to check on it.  Mark =
 had a patch for it, even.
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index