From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Date: Fri, 14 Nov 2014 15:18:20 +0000 Subject: [PATCH 03/11] mips: sync struct siginfo with general version Message-Id: <20141114151820.F7EDC3CC@viggo.jf.intel.com> List-Id: References: <20141114151816.F56A3072@viggo.jf.intel.com> In-Reply-To: <20141114151816.F56A3072@viggo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: hpa@zytor.com Cc: tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, qiaowei.ren@intel.com, Dave Hansen , dave.hansen@linux.intel.com From: Dave Hansen New fields about bound violation are added into general struct siginfo. This will impact MIPS and IA64, which extend general struct siginfo. This patch syncs this struct for MIPS with general version. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen --- b/arch/mips/include/uapi/asm/siginfo.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/mips/include/uapi/asm/siginfo.h~mpx-v11-mips-sync-struct-siginfo-with-general-version arch/mips/include/uapi/asm/siginfo.h --- a/arch/mips/include/uapi/asm/siginfo.h~mpx-v11-mips-sync-struct-siginfo-with-general-version 2014-11-14 07:06:21.551576596 -0800 +++ b/arch/mips/include/uapi/asm/siginfo.h 2014-11-14 07:06:21.554576731 -0800 @@ -92,6 +92,10 @@ typedef struct siginfo { int _trapno; /* TRAP # which caused the signal */ #endif short _addr_lsb; + struct { + void __user *_lower; + void __user *_upper; + } _addr_bnd; } _sigfault; /* SIGPOLL, SIGXFSZ (To do ...) */ _ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 14 Nov 2014 16:19:00 +0100 (CET) Received: from mga09.intel.com ([134.134.136.24]:64874 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27013728AbaKNPS1VPEJj (ORCPT ); Fri, 14 Nov 2014 16:18:27 +0100 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 14 Nov 2014 07:16:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,386,1413270000"; d="scan'208";a="637019489" Received: from viggo.jf.intel.com (HELO localhost.localdomain) ([10.23.232.122]) by orsmga002.jf.intel.com with ESMTP; 14 Nov 2014 07:18:20 -0800 Subject: [PATCH 03/11] mips: sync struct siginfo with general version To: hpa@zytor.com Cc: tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, qiaowei.ren@intel.com, Dave Hansen , dave.hansen@linux.intel.com From: Dave Hansen Date: Fri, 14 Nov 2014 07:18:20 -0800 References: <20141114151816.F56A3072@viggo.jf.intel.com> In-Reply-To: <20141114151816.F56A3072@viggo.jf.intel.com> Message-Id: <20141114151820.F7EDC3CC@viggo.jf.intel.com> Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 44163 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: dave@sr71.net Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips From: Dave Hansen New fields about bound violation are added into general struct siginfo. This will impact MIPS and IA64, which extend general struct siginfo. This patch syncs this struct for MIPS with general version. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen --- b/arch/mips/include/uapi/asm/siginfo.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/mips/include/uapi/asm/siginfo.h~mpx-v11-mips-sync-struct-siginfo-with-general-version arch/mips/include/uapi/asm/siginfo.h --- a/arch/mips/include/uapi/asm/siginfo.h~mpx-v11-mips-sync-struct-siginfo-with-general-version 2014-11-14 07:06:21.551576596 -0800 +++ b/arch/mips/include/uapi/asm/siginfo.h 2014-11-14 07:06:21.554576731 -0800 @@ -92,6 +92,10 @@ typedef struct siginfo { int _trapno; /* TRAP # which caused the signal */ #endif short _addr_lsb; + struct { + void __user *_lower; + void __user *_upper; + } _addr_bnd; } _sigfault; /* SIGPOLL, SIGXFSZ (To do ...) */ _ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by kanga.kvack.org (Postfix) with ESMTP id A8A1D6B00CF for ; Fri, 14 Nov 2014 10:18:23 -0500 (EST) Received: by mail-pd0-f175.google.com with SMTP id w10so1797860pde.20 for ; Fri, 14 Nov 2014 07:18:23 -0800 (PST) Received: from mga02.intel.com (mga02.intel.com. [134.134.136.20]) by mx.google.com with ESMTP id ca3si2471080pbb.132.2014.11.14.07.18.20 for ; Fri, 14 Nov 2014 07:18:21 -0800 (PST) Subject: [PATCH 03/11] mips: sync struct siginfo with general version From: Dave Hansen Date: Fri, 14 Nov 2014 07:18:20 -0800 References: <20141114151816.F56A3072@viggo.jf.intel.com> In-Reply-To: <20141114151816.F56A3072@viggo.jf.intel.com> Message-Id: <20141114151820.F7EDC3CC@viggo.jf.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: hpa@zytor.com Cc: tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, qiaowei.ren@intel.com, Dave Hansen , dave.hansen@linux.intel.com From: Dave Hansen New fields about bound violation are added into general struct siginfo. This will impact MIPS and IA64, which extend general struct siginfo. This patch syncs this struct for MIPS with general version. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen --- b/arch/mips/include/uapi/asm/siginfo.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/mips/include/uapi/asm/siginfo.h~mpx-v11-mips-sync-struct-siginfo-with-general-version arch/mips/include/uapi/asm/siginfo.h --- a/arch/mips/include/uapi/asm/siginfo.h~mpx-v11-mips-sync-struct-siginfo-with-general-version 2014-11-14 07:06:21.551576596 -0800 +++ b/arch/mips/include/uapi/asm/siginfo.h 2014-11-14 07:06:21.554576731 -0800 @@ -92,6 +92,10 @@ typedef struct siginfo { int _trapno; /* TRAP # which caused the signal */ #endif short _addr_lsb; + struct { + void __user *_lower; + void __user *_upper; + } _addr_bnd; } _sigfault; /* SIGPOLL, SIGXFSZ (To do ...) */ _ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org