From patchwork Mon Jan 25 16:57:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 8113041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A4F839F859 for ; Mon, 25 Jan 2016 17:11:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DE4F62026F for ; Mon, 25 Jan 2016 17:11:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D1F92202AE for ; Mon, 25 Jan 2016 17:11:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aNkeI-0006hb-Ur; Mon, 25 Jan 2016 17:09:54 +0000 Received: from mail-bn1bon0068.outbound.protection.outlook.com ([157.56.111.68] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aNkUb-00042n-HV for linux-arm-kernel@lists.infradead.org; Mon, 25 Jan 2016 17:00:10 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Received: from localhost (95.143.213.121) by CO2PR07MB619.namprd07.prod.outlook.com (10.141.228.151) with Microsoft SMTP Server (TLS) id 15.1.390.13; Mon, 25 Jan 2016 16:59:30 +0000 From: Yury Norov To: , , , , , , , Subject: [PATCH 5/5] all: introduce COMPAT_WRAPPER option and enable it for s390 Date: Mon, 25 Jan 2016 19:57:27 +0300 Message-ID: <1453741047-5498-6-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1453741047-5498-1-git-send-email-ynorov@caviumnetworks.com> References: <1453741047-5498-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM3PR07CA0026.eurprd07.prod.outlook.com (10.141.45.154) To CO2PR07MB619.namprd07.prod.outlook.com (10.141.228.151) X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB619; 2:0zgYIVADXIyvx7SJeDGZWpNT/OFRvWWisqw7FdzbdEe+2QhgsC9jgAsiqNWtvpZLayAOGiMblzsS34AYOnwRtWsPhtK7SJtk8v6KRg81+AnBFh2BXju6fHJEOliESmvqx6yQJO+V0FAL24UC12dkiA==; 3:Bcauj947a2dOikhxxuf0E8pQ/Tt0zyi+4GE3+9btjc6Of1/LhtpsTSY1XWpfq3MlzAT++tCLiujFRBmHHaJd5kRQKfqkI8n0kMNbqPf5f5sosc610Uevkj1eFFjoWnYf; 25:C6tQ0ugBh58VFjSMRJglO9knWFkrcr2df2JS+Hsiy8UHYxKnOpH4sFbmxt/+C9/L/eeXnKFf3D3pCdAsBtGYTcrK+mGrg5yOS4qud9WRVG5A+FRf5kLSEuVuJCb3cfAE2za8ArvbZT9vXZIqC9XXFJ21FPIpKZYBaBhW+L6291faHrCKAgc3k7MXk5FHHi4pGS6heR8WZL7gsTZtibRpQEz/0PQt0VHbwvKpDzmkRSrHEZBZeYpBwFSP8MCvxi/b X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB619; X-MS-Office365-Filtering-Correlation-Id: 9ab31103-076a-47e8-9829-08d325a8e476 X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB619; 20:+8LfDcTZ4dwOL17BrQ9dnBZKAdq0GqMuTa76azk9dV/pbrYwsPUeAb1EoUuMxxWa/M1JgGCGB092Vza23YdsiaZ43zrPq05s0J6bAdIId+7FdgxWi4tdP6ySTIdeMIAjkNFK1BTmHz9aGqHd/I/7OpRZMxB1wiPdyi3ubAPte9Qltw7XvyUFi+8Eq7frNVgKrO/IToaHoZdjjpWD/C2DhFZLgy68DloS0YTeTYiNZtuePDFsrx9QwBV/ZrFVN7oedbQZSPHkOPUG7i4KHXbR63YcJNpz6dHb20j5tkN8NQPKr9pc8SsQ1N1ZpNMfpv+b+xI+hf960RGy271/1sL7x8cGAiCBQmHAg+EfEYDAAdchqJzVnqg1+n4+JsWn2b1IE4qkKk/d9BgGsfzwwwdV/7vfTxhtsKy8LGDlI1ZRGLxLtK4aGwNIs7bfbfXH6D+LicSkGLQtJkY1c5hWUBbVubj0vcTcRN8VYChfyAKKmIsIyiXNIVwa+8miaayNlpxuph7tDn2FDg0nSp9/snY6djITLDdqpFmFhxDSNsidgH0k1lfVbOk/mnTRjIN8pVym+kGZUUqoDM6bGIItrj3ojQF53pBWr2TTw2T258nHwxk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(123027)(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:CO2PR07MB619; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB619; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB619; 4:uz6YDOe7MfsgANhVwbXYYESiMC3xjwRDYPHJR9g0MqkTm0380EbvUxmhsQaYArPehNfalgXhgN+bZgZQtgil9dePPZhQcaqx7vgLoYWs7pxgjIo4TgcxN4RCX8iw8oAAQg+9CgVPm0ejDL63oLjNnuNOknjYNv+YqImvcTwZsVGhgOYfOYo7voYjI7ot+ELaJseOq0wnerF9OpguEtqZEcmsvQaUi8oDtQ7iRHibP4gD+is3UKJKcxkRcntE6VYdVEuxAlPvbdBSIcPGnyS3gTaGiWM4RiTkm4YHMvmfnM5WNedzR8FP6w14zMLvS+MuXdP34Cpb8P8gw8xCaCCCfsXr03t8+JaJ2vN7ROzxXQiWkFxl0LIil+hV38ObnOohLgIgFWZFpjE6TnrOwLoiTQ== X-Forefront-PRVS: 083289FD26 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(189002)(199003)(4326007)(50466002)(2201001)(122386002)(19580405001)(2906002)(76506005)(42186005)(92566002)(40100003)(33646002)(5003940100001)(87976001)(5004730100002)(50226001)(36756003)(1096002)(77096005)(229853001)(107886002)(5001960100002)(3846002)(2950100001)(4001430100002)(48376002)(6116002)(81156007)(97736004)(5001770100001)(19580395003)(189998001)(101416001)(47776003)(66066001)(106356001)(50986999)(105586002)(586003)(76176999)(5008740100001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB619; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB619; 23:0liqZ+EngPXmbXBK7Vw5kHjQHEAkiX86pqzO1yOCKK?= =?us-ascii?Q?G/kIOhYdXFLN0gNZJlyQQHTJChiQnnrI73K/z4HthtmJ2+M9szioha44u/24?= =?us-ascii?Q?S52n2bzaprsMgl0P5rMvnxQ9U738mmPg0sYJgqdycp7APSHtyYfoGL1vl43o?= =?us-ascii?Q?E52f2psh2cCfH8Li5ogejUMMpplS8+R2KZbFM1DE3YWD4KPXfz/AbnlTUbpJ?= =?us-ascii?Q?qdvwsHq1e7+8gATA4ml+8gO53WF6AKcHna/FBTxV4iWk5uPXzNJj5VWHFo3M?= =?us-ascii?Q?C7uUxS9vX90nSkxBwtXG9nQEtEmjMXY20709fNg5RBK0iawTXJ0WE1Hk6OsC?= =?us-ascii?Q?/qjdQYs/OMDHDiqgzuFVqlbY+8OPFDGjLayZTYudShX//I4KcA/tZNk9OK8Y?= =?us-ascii?Q?5wvY0rShvmHD21hlMJxvLAIrP1k+nAlRt0DSrCebLCfYaE2+JtfEbMSZ5/Ia?= =?us-ascii?Q?IJwVNrlWslAm6grDexOYbHmWzo80qBvi9IsygcEz8gg/1RnMBc9C8x20VE6F?= =?us-ascii?Q?YHrOO+ycqiSDGOqjoZBIeVpulmOe7vCOZ844F71A79Gr8ApGFwkf0CcTE8BB?= =?us-ascii?Q?DrQytVzodBKilh9raoAAoRiZAyBPUuKVyqrqaw6AP0IujrnifWrApYQE67CU?= =?us-ascii?Q?58LMPqBf8PbRaYFmN/mtm/i4BV3Q2FjXuZTIaSBl89jyszGeEGPa42h8fDGG?= =?us-ascii?Q?LLirkXrygIqMu0suSp4NXALc55PeyBM0ENGYj+Jj0Cm5Ndq3RpyZaTN4I2ub?= =?us-ascii?Q?UH84X/58mMtQxNlDvayhW4eDPCNPVtBXCdlIzS2GZcSYnyPDiT3H4IT3iC4x?= =?us-ascii?Q?vkWZAyxHy4e9uPanF44tNOw1cYzepX7ZvLgO20otIRgVrywMFSj+f2N9movf?= =?us-ascii?Q?gw0PPKGJ/idBIcRxukR5/fBjV0YDSyFOifr8ZTRETgii4PC0oXSn8gd218Yy?= =?us-ascii?Q?0Szsw3p9eNmlgjuomDQUp13C3E158pU4BV/LhiSQYq5HPyj70/f3Fj7WeHxt?= =?us-ascii?Q?sk842g46et9tK1ggkRJkUZXpDhG1LNnMhxC8JHONuV1En5WtP1r41FJRabb+?= =?us-ascii?Q?SKa820Odd6O8UVME+R7a6/dtVGZKJX+D2dWlfMBujQWIUvHL22hthoRmJ/h7?= =?us-ascii?Q?Gqyti0Dj6306+bB6JDytU15YBZ8xEB6QurizqOPkcM70zqJZLRKNEMMfVMO2?= =?us-ascii?Q?jgvRUruu2iPr8=3D?= X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB619; 5:/uQkfP51YbkxBQnWiNKYn9j2J9tspweiWKPYlMnVqNSpcWTxjD+oZzoKJEfFB2VFs/Rq6zVCyWT51Ph5nWX0ZG1x1ZLboJiIXR15Ou9LSN1D7wGXAQiRbxoOjM1qusspy7h4bsf7Hz7pnL1F1FvLew==; 24:r+FtW0GG8/jJ57yWTJDINKuYadupp35rqo5xCXQRPf2aWaW0jFml3q8mawjT1E8hCIblJUn/llULP5D2N5reMDOtdTvR/JYoQ29ch7v7huQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2016 16:59:30.2707 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB619 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160125_085954_565993_F5F71AAD X-CRM114-Status: UNSURE ( 6.01 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, Nathan_Lynch@mentor.com, agraf@suse.de, klimov.linux@gmail.com, broonie@kernel.org, Yury Norov , joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Yury Norov --- arch/Kconfig | 4 ++++ arch/s390/Kconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/Kconfig b/arch/Kconfig index 4e949e5..ab7692e 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -518,6 +518,10 @@ config HAVE_COPY_THREAD_TLS normal C parameter passing, rather than extracting the syscall argument from pt_regs. +config COMPAT_WRAPPER + bool + depends on COMPAT + # # ABI hall of shame # diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 3a55f49..88f48b0 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -336,6 +336,7 @@ config COMPAT select COMPAT_BINFMT_ELF if BINFMT_ELF select ARCH_WANT_OLD_COMPAT_IPC select COMPAT_OLD_SIGACTION + select COMPAT_WRAPPER depends on MULTIUSER help Select this option if you want to enable your system kernel to