From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755550AbbCLU57 (ORCPT ); Thu, 12 Mar 2015 16:57:59 -0400 Received: from mail.kernel.org ([198.145.29.136]:40248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753267AbbCLU54 (ORCPT ); Thu, 12 Mar 2015 16:57:56 -0400 From: Andy Lutomirski To: Ingo Molnar , Andi Kleen , "H. Peter Anvin" Cc: Al Viro , x86@kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Oleg Nesterov , Borislav Petkov , Andy Lutomirski Subject: [PATCH v3 0/2] x86_64: Sigcontext improvements Date: Thu, 12 Mar 2015 13:57:50 -0700 Message-Id: X-Mailer: git-send-email 2.3.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch 1 is IMO a bug fix. Patch 2 is a cleanup and avoids some confusion. It's also sort of an API break (no ABI change) because it removes a struct field. But that struct field has never done anything at all as far as I can tell. AFAICT this series got bogged down in discussion about patch 2 last time. I'm only including patch 2 for completeness here -- patch 1 is IMO far more useful, and I'm fine with patch 1 being merged and tabling patch 2 again. Changes from v1: - Add the __USER_DS fix, caught by my sigreturn test. - Re-tested locally. Changes from 2: - Fixed comment style in patch 1. - Added a better comment in patch 2. Andy Lutomirski (2): x86_64,signal: Fix SS handling for signals delivered to 64-bit programs x86_64,signal: Remove 'fs' and 'gs' from sigcontext arch/x86/include/asm/sigcontext.h | 6 +++--- arch/x86/include/uapi/asm/sigcontext.h | 21 ++++++++++++++++++--- arch/x86/kernel/signal.c | 26 +++++++++++++++----------- 3 files changed, 36 insertions(+), 17 deletions(-) -- 2.3.0