From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757271AbcEDGeF (ORCPT ); Wed, 4 May 2016 02:34:05 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36050 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756941AbcEDGeC (ORCPT ); Wed, 4 May 2016 02:34:02 -0400 Date: Wed, 4 May 2016 08:33:57 +0200 From: Ingo Molnar To: Andy Lutomirski Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Borislav Petkov , Stas Sergeev , Al Viro , "Amanieu d'Antras" , Andrew Morton , Andy Lutomirski , Brian Gerst , Denys Vlasenko , "H. Peter Anvin" , Linus Torvalds , Michal Hocko , Oleg Nesterov , Pavel Emelyanov , "Peter Zijlstra (Intel)" , Richard Weinberger , Sasha Levin , Shuah Khan , Thomas Gleixner , Vladimir Davydov , linux-api@vger.kernel.org Subject: Re: [PATCH 3/4] signals/sigaltstack: Report current flag bits in sigaltstack() Message-ID: <20160504063357.GA12846@gmail.com> References: <94b291ec9fd47741a9264851e316e158ded0b00d.1462296606.git.luto@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94b291ec9fd47741a9264851e316e158ded0b00d.1462296606.git.luto@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andy Lutomirski wrote: > sigaltstack()'s reported previous state uses a somewhat odd > convention, but the concept of flag bits is new, and we can do the > flag bits sensibly. Specifically, let's just report them directly. > > This will allow saving and restoring the sigaltstack state using > sigaltstack() to work correctly. > > Signed-off-by: Stas Sergeev This SOB seems stray as well, so I've removed it too. Thanks, Ingo