[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFxdg2bYHtbKXb4mT5UuP2GH_qjkc=WeZY-RYHWZFQ2Gng@mail.gmail.com>
Date: Thu, 12 Apr 2018 09:50:26 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Russell King - ARM Linux <linux@...linux.org.uk>
Cc: "Dmitry V. Levin" <ldv@...linux.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
sparclinux <sparclinux@...r.kernel.org>,
ppc-dev <linuxppc-dev@...ts.ozlabs.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: sparc/ppc/arm compat siginfo ABI regressions: sending SIGFPE via
kill() returns wrong values in si_pid and si_uid
Does this attached patch perhaps fix the ARM case?
It just uses FPE_FLTUNK as the default si_code for SIGFPE, which seems
sane enough. And then gets rid of FPE_FIXME, which should resolve the
nasty case.
Hmm? Entirely untested, and I didn't really look at the test-case in
question since I can't really run it anyway.
Well, I could run it all on x86-64, but it doesn't have that FPE_FIXME
case at all.
Linus
View attachment "patch.diff" of type "text/x-patch" (1163 bytes)
Powered by blists - more mailing lists