Messages in this thread | | | Date | Tue, 4 Apr 2017 23:53:49 +0200 | From | Joerg Roedel <> | Subject | Re: [PATCH] x86/signals: Fix lower/upper bound reporting in compat siginfo |
| |
On Tue, Apr 04, 2017 at 09:56:45AM -0700, Dave Hansen wrote: > On 04/04/2017 09:15 AM, Joerg Roedel wrote: > > Put the right values from the original siginfo into the > > userspace compat-siginfo. > > > > This fixes the 32-bit mpx tabletest on a 64-bit kernel. > > Ugh, thanks for finding that.
Yeah, I was also looking at the vaddrexhaust test, but is that supposed to work? It does pretty weird things at least, on 64 bit the function effectivly does nothing because nr_to_fill evaluates to 0 there, and on 32 bit it gets a (probably #BF) exception which is not caught, so that the test fails.
I am a bit confused, but maybe I just didn't stare long enough at it :-) Hope you can sched some light on it.
Joerg
| |