From patchwork Tue May 24 00:04:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 9132523 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3B4B7607D3 for ; Tue, 24 May 2016 00:07:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 294202824F for ; Tue, 24 May 2016 00:07:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D3562825E; Tue, 24 May 2016 00:07:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 7BC992824F for ; Tue, 24 May 2016 00:07:22 +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 1b4zqn-0005Rr-Bd; Tue, 24 May 2016 00:05:33 +0000 Received: from mail-by2on0083.outbound.protection.outlook.com ([207.46.100.83] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b4zqe-0004EM-Vi for linux-arm-kernel@lists.infradead.org; Tue, 24 May 2016 00:05:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0kqh8O2DHZGIptCb4GeNN5HY2iWpy/Br8jg2qJcPirc=; b=zEoVeiJQIVCCKCpq9p+nfNMkEr7KkZt8+25PiGKy8m7M/neKPdcYHA4b5iU/afO0krT5slqVpQUjYpWNKWQDbVYGyTUajUP7I0T/e77lfh5MXuTig/kfIXac8TzeSFOjKbn3QmlgrceupGtHne8v4P8kKl0LEichKSX/LB/83eQ= Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (50.233.148.158) by BN4PR07MB2227.namprd07.prod.outlook.com (10.164.63.145) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 24 May 2016 00:05:07 +0000 From: Yury Norov To: , , , , , , , Subject: [PATCH 02/23] all: introduce COMPAT_WRAPPER option and enable it for s390 Date: Tue, 24 May 2016 03:04:31 +0300 Message-ID: <1464048292-30136-3-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1464048292-30136-1-git-send-email-ynorov@caviumnetworks.com> References: <1464048292-30136-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [50.233.148.158] X-ClientProxiedBy: DM3PR13CA0035.namprd13.prod.outlook.com (10.164.193.45) To BN4PR07MB2227.namprd07.prod.outlook.com (10.164.63.145) X-MS-Office365-Filtering-Correlation-Id: e457beef-363c-40a2-d22d-08d38367111d X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2227; 2:aOJdo2jeAnFTGIL5zFbZkv03wyPyGQCrtjIawro7+z5skspkkURzJO3XUo/vG3B09w+v0UbZvS0UmVhSWzPboG1xlMemTNSPtdDN+K7bjHSPa267GjZNtRZyBuNhOPHaHN61/sGoA4HoPcc8VMmNvXnRrrLh9yaclWnzLbeaQZbUmq3bYlq6xM19vpYSEVpZ; 3:c+4C4tmi7TfQrFb/UsbZ4D1cXGGz7Ygz6QU65IBbXKkQGnzu5D0U8hhow2UsCXDJKqSpWnFIv2dU1zWZ9ybyz7nqthQq2t6ua+LbaunkpkB6xHSArnbTg+A7BDkFaADW X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN4PR07MB2227; X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2227; 25:sHHWUt8Q84MMF257XgDzjC8WjLVgmCy2nIQ2evBh6ogpxmXQPVp7qKWipx1OP9d/cLSy5eqlTkOPetzMN5OXLUo4T9/LgCU4Wst5nNTCqki6njwEVnJRenwNqr7lTW5b9cwnlb+/YgYQnXiWjAZ7Czq4q8NIGAfl50g4Y1VxLNZ9p7GQxDKkdu4XV02Y9euIAz84dZW15mZ2dayATLW+TqR44hznQKlw7ronhhX0pIb2l1D7taS5U98rkTEILTmcX9mefKB6LIEGps522D/FCtF7dCdRjiw9X2dDPhkFheyhrpJtigp2fyN+eEq41aUSJ8yt2Z1drRomoi6t0qVcmPIwXFISMZVNlpTCARcKqgVmac7Pw+KPQh1L0jHTcfsC354CU3F6bAft2YXatgNqhGi5RKtTqL06/X7KQuOJ1x2Q2rr417wETxZE25pGJZECJx6sa4pi3QZEK+0ps5tg/4pOFNS9HbRQW0olUpzne6Xm/vxilf8TZmVv5Yb8aYDM5g0IYQ+eG1pfpBI0Uxc+majT+LtMXAjFQukRDeuwEjoLwCmpMqnP0yjGzwcocVEfJuNU1ahSNciVysh9/htTVDtqn4dDYN12H+c6t3AAMcuZH300iivsCIpvCQt86oaxejcuNT4x17NzUbMEPL+mLsJYTPw35ew3Is6354Q+KAT3QuUBZEEeDRk8p3Xv4RtCQjP+oHnxENjJu5ibC6pnIKRcNdWATXfC3vP5XvoXWB3aseM5u5MTORx/aMMjhyh0 X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2227; 20:fJf//ANEN7BhCSEdtyDFYmpJhJTwHmNfGg1pHcZjs1vYWO1bHRL8ljZ1KVaIsw6DE845s9vREiz33uaXqCn3Ki9pGLn8kMHrJLwMV7sPOdE41c6z4DcXlnC5IjtDlZKue049VnDa9Gz+ydxVZe2v88+D2rhVNpGuFe01vsW0RxzkiZnXZAkth3UuU/YWZPslFomj6fH509in0ebgWaQfJmQo5fHsxxL3Dqyj9mvJlrMUO32sf1CuRCNjEjdVUdA82Uu9ACqDuYs4GjnGYaJMr/zg8wlwKAw2+INuBp6Y0nvqZImC+KxLCkACNXltWv8dJ9IphiW3EDxqiUXe2rucffn59reBAwLIiLSztUOUcOyti7kidewjDXjTiqlWPWwrGT5kMh/f+rhkYuq3edJ1a5aNwRNJQhmvhLW2BADPbAmmGjfEuiwxiSONpUaRuIyLGuixtNUitgWJw4rVhaXlT1R3q4lPt+At7oO8+OI0tvO5G2hpkjA3HDmYFd+up8pLk1kGezBWZthIPh4Ds0KyQF2QGxBlQpM1zFy+cFkEOQr250yJ71H6RSrJgGnYuN8+HufKLyeaxm8IsqdgZV4AmQluXZvdBTDGoKwbFfl8NFU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BN4PR07MB2227; BCL:0; PCL:0; RULEID:; SRVR:BN4PR07MB2227; X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2227; 4:D6L1/Dd4pkVITlHNz64HYhkY1EAHXcF8hpeUenDG9Oo/H1OOSiiUQJNjDm8EoB2tOiOg48GPUp3kGRcXab9F6CipWPKAHBgdm9m+DEN65xs4p/eLFipKgTZrFPz1ijcynz1+z1oq1X+UktptTrZlsYF3SbdHUGPIkojP33sRyMLBWva2MZtHONgCDXUULx6SNJlkmic+9lu1+6XU+Pso1lIG2U5NHPcMt1J9ST3t6+OgZg51z31Eocxr0NzC/j2UeGk+TJ/R/pB7riT2kUChVSRzuMiWRWDc0gn1L7FJSZxwkShCOtfwlLfx4g1i7LO2pqR/a8A7/YneKgRXLsgdn9DRz4GW8c/lYy94Z3yIKnJfk/5+xfqw2S5dn/fCwncW X-Forefront-PRVS: 09525C61DB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6009001)(6069001)(2906002)(5001770100001)(189998001)(4326007)(5008740100001)(36756003)(2201001)(33646002)(50466002)(229853001)(48376002)(66066001)(47776003)(42186005)(3846002)(50986999)(5003940100001)(586003)(77096005)(19580405001)(19580395003)(6116002)(50226002)(5004730100002)(81166006)(92566002)(2950100001)(8676002)(76176999)(76506005)(2101003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN4PR07MB2227; H:localhost; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN4PR07MB2227; 23:kQAJRebOk9ge3eejhEfSr/RcXaHkBlG7MYy2kayxB?= =?us-ascii?Q?KcL+XcWV1dNYOX3wS2sz/xN6nsY+DcG0EDiW+ELozlfN/yLT90rM1H/6aF0j?= =?us-ascii?Q?hC22M78M9P8meTdEF9ywwaPHOsE95KM8AZzZGqkPzV8uV+8vYwRBiZcbqU2m?= =?us-ascii?Q?1EpLUoBdfM23cCM9HiJptBzXIrvZX+P9FfsWDCQ7D+lrJtUqo/MkQ7QKL6sf?= =?us-ascii?Q?3YbvLi8fGD5rm02uVUUiLMdD2+LzWoo/PrOoH5KmdEutSJ8knvCP//uBLLwZ?= =?us-ascii?Q?8howSAFW4FK0+zySdooZcrVJk1qx8de/u/ShPqIEj9h7miaCZbpT2G+CJi3A?= =?us-ascii?Q?dxjmjiSUu4isYNuT/GH23eL92N5FN7tRqBcazoJuINoBEvrKfzZGJUXOZNQB?= =?us-ascii?Q?JrGtUyEy10nTTSCgvJO2Mq2LEaHzXaCy/vjifw2uLJRR/xwoDBb+vTwDQ3t4?= =?us-ascii?Q?cPTKk+z3C+emKMjx9nybD6OZlUcPAs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Yyqdd90tQcpBWPpesFY5CmxhSO9Wb+XYIiHwmgpm6jWuTNARyf+7RjqOaVx1WFvUeDfbPqif/W9g+9j7YBGp8czf8bpFWRBDtTCGowkqzJ SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 00:05:07.9065 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR07MB2227 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160523_170525_099648_AF9AFB97 X-CRM114-Status: UNSURE ( 5.40 ) X-CRM114-Notice: Please train this message. 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: kilobyte@angband.pl, pinskia@gmail.com, szabolcs.nagy@arm.com, Nathan_Lynch@mentor.com, heiko.carstens@de.ibm.com, agraf@suse.de, geert@linux-m68k.org, Prasun.Kapoor@caviumnetworks.com, klimov.linux@gmail.com, broonie@kernel.org, ynorov@caviumnetworks.com, schwidefsky@de.ibm.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, 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-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 81869a5..92fcbd4 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -589,6 +589,10 @@ config HAVE_STACK_VALIDATION Architecture supports the 'objtool check' host tool command, which performs compile-time stack metadata validation. +config COMPAT_WRAPPER + bool + depends on COMPAT + # # ABI hall of shame # diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index bf24ab1..6d643b3 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -340,6 +340,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