Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760669AbcDEWJs (ORCPT ); Tue, 5 Apr 2016 18:09:48 -0400 Received: from mail-bl2on0053.outbound.protection.outlook.com ([65.55.169.53]:19488 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760641AbcDEWJq (ORCPT ); Tue, 5 Apr 2016 18:09:46 -0400 Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=caviumnetworks.com; From: Yury Norov To: , , , CC: , , , , , , , , , , , , , , , Subject: [PATCH 02/25] all: introduce COMPAT_WRAPPER option and enable it for s390 Date: Wed, 6 Apr 2016 01:08:24 +0300 Message-ID: <1459894127-17698-3-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR03CA0019.eurprd03.prod.outlook.com (10.160.207.29) To BY2PR07MB613.namprd07.prod.outlook.com (10.141.222.144) X-MS-Office365-Filtering-Correlation-Id: 9286a471-f5c0-4a6a-eed1-08d35d9efd9b X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB613;2:KpMv6mg2LTOi64xkLf3JJULUC54z8DNFFIpzhvl0xrzA1ubSuu+hihEpl+ypXHhUx5nLfNL4ZbvGOvcUhKqzlWvW2I5vKx+JwLc5l20ylB0cHPnrAeAdHSpdyHox73GWVkLFT3f6PGzLvVrbC0FEOpwFA48ZM1YWLVDnasYLH6bA+0Oxfvy9Ks7U60uobV8d;3:ATNsr+NUg6PT8qXt+a5mYAiglpoSyTpfqrfBentGv1KgbhpE0/XglenHzaNDqblmJOIYGvYHShIgMzzwovifwSB7IVLXe0fWAO18j+he2AZiqe1YKseA7QFiYtYiJvIM X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB613; X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB613;25:EKT1keducimApNmTlpOoJbEM2PddpI1Q/Nv9jB9iUy8mI4QMl6XutMbkcplHrHku4GzJW6XXYNs4HZlywvWiNKFXqhsn4UIymfOhcKVOCrJ6zu22RuAye8QhVwFAuIMsf+3IJ4CU3u+sdkyO0HJqHrHaoWzf2hvgEVeGMVaCKpYnMb/ows4yx3BNH4Q5QXr422D+Zy/o2VWbsLDX4JIEkWVfvlVsIwd2DvDrNLMRT43F9y1qNap75vVB73JCYZscIgPHOBZ8cDCv0gJZRO11B0I/gxrBbDhnjRoslcoQzx4G6/9FlT2Iroq3+49jlQ/lJVbxMQBFMEeFLZBcZgjFzEDyxnzb9vURngjFjJ4xz78wiAp2MqKKR8fNhNJWVZKMfd6yBplN745Wru3hdFeSOht1EI9ixZcM3gnaYyb6DQu+vQ8yPvXV3PkcvOQebsbXrE06sPTNfWtmy7RrqJh/LCx59HH0wnZhCxkzfFT2vncXHa5RN9ijY0jeEPajwD2QVDCS/FqgJryA828cgIZI6kRCfD1NPC1Dn1kqvQsj08TYUGjerZv1/dHvPgbZwaXpWFAvtMNBvQNOueEg6MWUmNdrHH4lfdfV+HVP7PBgDars7WasXMd/Un8HHNhNrpRMBJayzkc9G/vgfqUT5N+Fcg== X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB613;20:384vfmYT2pQkFgIVxABr477EED5v/3/dOXg3vg5liZ8SqV4MV9MjhoSXFxCAPShltH+Ifv0tQthBStzkb2zSaHbWYucZpXc5/7UGpE2LKIKPlNmKxgqriGn2JIStraxxt2TRxqQ/aODXK3t5irKrUnHq9jCCCuDN9ERtdI72QNWuGiSyjaGyRUV882TwFBQY9Z79bW0PR8DQRJDJsOtlG/oU7qEU3qj7euYVtMaGXs0shKvLHRU2KxVZ5Tj2RZPZ+EMmDZdQygFmPMWEKKTOfPoEc4CO++3tC1S0JD8MGQSnNrU7hgcYu0lsYBvUCgaO/69NhSWalGOn5BhWtK42lcCWxFtwk3Et41+GwZbt67OGOL1w3lT0A4gqT/bUel2+W54mX8xqNWgkltegg3u7c6k2GhaLc7d8dcgbZF3xhEWgdXI5wbSKjfn9PzTPcf8bFw+zrcj6pFtLXzkj5PcSSpdBq3QSO3atPj0I7BettmW/07NhoR968s7ct53NFdJ9ls7Glq2kF9d/95nZ+33ZJIYYAFTLr3QXCn0DFDX0uYgd2NfHwcxlaB2atmhbit00+D9jdzutAOU4cUqDGHvgFeGo3qjSwHYUM99Ie/6T5Wg= 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:BY2PR07MB613;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB613; X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB613;4:lkqYuv1g65hcUuny6eJS/JvQnfWiZkSgT0Ta318D4/qNA3756Yq6d4f4URXy1jmjawSULGqPCpIWF935WkXjwZv7D2WHsAL/7VQtAlccRwJ/00IhrSPLYSRrcuCAQLd9X1dF1Jp7DGU9ahK3Lk0Tyo1EsUVFdnGNdSMlaPOQoE3uYYi2r5c8IPLTFzR4m2OJFO9hHnnYWFuZOzV13tBrqL/0Q6SSDcRyoIAz3dpPZ7HUKZm8Dkv2c5f4vb4DEkgKfEiFwpeCDuNkaO+yr0jqMdBQnQ6i72xXL8z5/kpLIdIQN7PVtcNXhVRxuBlzJCja6fFs6CPHpjkqzwhYThx+z6bSPK6zH1RKOupEqXV6blnsTA7lhuPe7TjqffRARudT X-Forefront-PRVS: 0903DD1D85 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(2950100001)(2201001)(5003940100001)(36756003)(2906002)(77096005)(1096002)(47776003)(4326007)(6116002)(5008740100001)(586003)(19580405001)(33646002)(3846002)(19580395003)(42186005)(5004730100002)(81166005)(76506005)(50226001)(66066001)(189998001)(50986999)(229853001)(92566002)(5001770100001)(76176999)(50466002)(48376002)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR07MB613;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB613;23:ebWCATKUOpTBdAlPtDBiDZTwP9YYPpmbXWquiNcUG0G91UC9Kx/g2vD2RQlFVgFiBdPvjcGMYS8KS5QjFNgvrAyCPKJ6cf07TelkjPhOx/AsTwwsacrK6v+YVr+fNEg1vTFNx8TKA3epxsn+lI0unghfRCfwfFgJCUfRQKZ57jB7lHII8uiH84+l7ZKSHP7vTqTd57XlSfQIrMfiO+yul08Hby9mYoN8tCDP6JLNW8i1RNteb+5WONOXzllMCHKfqv4ypcsDVlMMOWp8BI/yLf5aOsXXC0Mqe5nC7tqr1W3Po0Hjc/6Iy5BbPd9Bs+B1yHPFJ8jQ13klDkg8bTEkceUqVvfltNEyL6+xllPWdBObB2TyYPhYGxgxjdcIoRrNtLBr/XYgXZjDWhF9XaK6uF3AswYvwF/lJ6yR0O4xblsPNmXQiobAOL6y52ijuPBqj0HOhrr+rbh6hk6GEEdQ3MTDI4OENTuWmXaWfQbGi1yD3Z1woaQJ5ESImrOk2f0mJXnHbPe9MeWmudvaZk0kD+6hIa+QdxtUfoU3ewKJVLe3j+yxMSmMwQvwrLWBTWlLj7r7HYuBV8KWDOBeK9SW8GTLq/wfqCpcs8vRJMKGrlc+HYUTQ2WJcmIOWoPeNPWsrIGPQCzsiU1ltm+IEgZ5iwv+SvO5hsOIdIDGx28NtWqXTZz6kSY3UM5N+AI17U2VVcMJ5LOZMzHRucTusigBoe4S5AU4VE9RjbnsQAnsHyLY9R5Zl/4RTTVOZjLy8dicZJAxnj1K43aFa7VxxV0gAxqz0j4rszY2ngGApxypbPKw9GuHES5CLyPrAMN9v3Hf+j2ZwWGGx73djWUz6v1sue+yN+LGkkxJ7/vNbvihCmay4+hpr8JE/XI1GzVojjPz+NDiY8ZTpISW1wEiT69QymLOYuDcmh6CtoLsdzZtcNU1o7mRs1BJSXxW2E5yRYpt X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB613;5:6WdOfMz7qyRbByLlLuze7xKs/wi/+KasxZIsYd6YDPzfMMLsfnbzhQ+TA/SGR5139BdVGQ3DfrNjR/Trd7B2kSpFLH3QMwNi4iW2kecgD/yeWdKcUY4nIfV4wUUAN7K7009VGLgBlC0f3Na/eMGrCA==;24:qPUoY1NV57srvR1+rySOk45NlFGFRQShdo5i4qXvHnhOD7YxcaP/T/KkjfGZuH2aDPOk0jIY4oethxMejpQwvyOYgQlKERrYtPuiWE6dNU8= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2016 22:09:42.6067 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB613 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 36 Signed-off-by: Yury Norov Acked-by: Heiko Carstens --- 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 aad23e3..cdc02e0 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -337,6 +337,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 -- 2.5.0