[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrUzOqVSHcGhLOTwOH-bA-BV0ab0DVHgS0RRJtW-FAq-3g@mail.gmail.com>
Date: Sun, 31 Jan 2016 08:58:39 -0800
From: Andy Lutomirski <luto@...capital.net>
To: Stas Sergeev <stsp@...t.ru>
Cc: Linux kernel <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, X86 ML <x86@...nel.org>,
Borislav Petkov <bp@...e.de>, Brian Gerst <brgerst@...il.com>,
Oleg Nesterov <oleg@...hat.com>,
Richard Weinberger <richard@....at>
Subject: Re: [PATCH 3/4] x86: signal: unify the sigaltstack check with other arches
On Sun, Jan 31, 2016 at 8:24 AM, Stas Sergeev <stsp@...t.ru> wrote:
>
> Currently x86's get_sigframe() checks for "current->sas_ss_size"
> to determine whether there is a need to switch to sigaltstack.
> The common practice used by all other arches is to check for
> sas_ss_flags(sp) == 0
>
> This patch makes the code consistent with other arches and also
> allows for the further sigaltstack improvements within this patch serie.
You've duplicate part of the check. That whole block is already
checking !sigstack. Can you remove that now?
--Andy
Powered by blists - more mailing lists