[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8ae805a7-69c0-811f-0b16-8f1130ecbc10@virtuozzo.com>
Date: Fri, 26 Aug 2016 20:16:33 +0300
From: Dmitry Safonov <dsafonov@...tuozzo.com>
To: <linux-kernel@...r.kernel.org>
CC: <0x7f454c46@...il.com>, <luto@...nel.org>, <oleg@...hat.com>,
<tglx@...utronix.de>, <hpa@...or.com>, <mingo@...hat.com>,
<linux-mm@...ck.org>, <x86@...nel.org>, <gorcunov@...nvz.org>,
<xemul@...tuozzo.com>
Subject: Re: [PATCHv3 6/6] x86/signal: add SA_{X32,IA32}_ABI sa_flags
On 08/26/2016 08:13 PM, Dmitry Safonov wrote:
> Introduce new flags that defines which ABI to use on creating sigframe.
> Those flags kernel will set according to sigaction syscall ABI,
> which set handler for the signal being delivered.
>
> So that will drop the dependency on TIF_IA32/TIF_X32 flags on signal deliver.
> Those flags will be used only under CONFIG_COMPAT.
>
> Similar way ARM uses sa_flags to differ in which mode deliver signal
> for 26-bit applications (look at SA_THIRYTWO).
>
> Cc: Andy Lutomirski <luto@...nel.org>
> Cc: Oleg Nesterov <oleg@...hat.com>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: "H. Peter Anvin" <hpa@...or.com>
> Cc: Ingo Molnar <mingo@...hat.com>
> Cc: linux-mm@...ck.org
> Cc: x86@...nel.org
> Cc: Cyrill Gorcunov <gorcunov@...nvz.org>
> Cc: Pavel Emelyanov <xemul@...tuozzo.com>
> Signed-off-by: Dmitry Safonov <dsafonov@...tuozzo.com>
Oh, accidentally missed this on patches preparation, excuses:
Reviewed-by: Andy Lutomirski <luto@...nel.org>
Powered by blists - more mailing lists