Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1617407

Re: [PATCH] x86/signals: Fix lower/upper bound reporting in compat siginfo

From Dave Hansen <dave.hansen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/signals: Fix lower/upper bound reporting in compat siginfo
Date 2017-04-06 00:50 +0200
Message-ID <tt1Ut-7G-5@gated-at.bofh.it> (permalink)
References <tszlv-7cC-3@gated-at.bofh.it> <tszYe-7uN-23@gated-at.bofh.it> <tsEEy-24C-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/04/2017 02:53 PM, Joerg Roedel wrote:
> 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.

That code can probably just get removed from the tests.  I haven't run
it in a while and it's probably not worth refreshing.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86/signals: Fix lower/upper bound reporting in compat siginfo Joerg Roedel <joro@8bytes.org> - 2017-04-04 18:20 +0200
  Re: [PATCH] x86/signals: Fix lower/upper bound reporting in compat  siginfo Dave Hansen <dave.hansen@linux.intel.com> - 2017-04-04 19:00 +0200
    Re: [PATCH] x86/signals: Fix lower/upper bound reporting in compat  siginfo Joerg Roedel <joro@8bytes.org> - 2017-04-05 00:00 +0200
      Re: [PATCH] x86/signals: Fix lower/upper bound reporting in compat  siginfo Dave Hansen <dave.hansen@linux.intel.com> - 2017-04-06 00:50 +0200
  [tip:x86/urgent] x86/signals: Fix lower/upper bound reporting in  compat siginfo tip-bot for Joerg Roedel <tipbot@zytor.com> - 2017-04-05 11:10 +0200

csiph-web