From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932191AbdDDVxw (ORCPT ); Tue, 4 Apr 2017 17:53:52 -0400 Received: from 8bytes.org ([81.169.241.247]:34226 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932143AbdDDVxv (ORCPT ); Tue, 4 Apr 2017 17:53:51 -0400 Date: Tue, 4 Apr 2017 23:53:49 +0200 From: Joerg Roedel To: Dave Hansen Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Dmitry Safonov <0x7f454c46@gmail.com>, Joerg Roedel , linux-kernel@vger.kernel.org, Borislav Petkov Subject: Re: [PATCH] x86/signals: Fix lower/upper bound reporting in compat siginfo Message-ID: <20170404215349.GT7266@8bytes.org> References: <1491322501-5054-1-git-send-email-joro@8bytes.org> <82bd374d-304a-c719-94ba-ba35e7b1696d@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <82bd374d-304a-c719-94ba-ba35e7b1696d@linux.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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