Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753848AbdFSPuj (ORCPT ); Mon, 19 Jun 2017 11:50:39 -0400 Received: from mail-sn1nam02on0053.outbound.protection.outlook.com ([104.47.36.53]:13183 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752498AbdFSPue (ORCPT ); Mon, 19 Jun 2017 11:50:34 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; From: Yury Norov To: Catalin Marinas , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Yury Norov , Adam Borowski , Andreas Schwab , Andrew Pinski , Bamvor Zhangjian , Chris Metcalf , Chris Metcalf , Florian Weimer , Heiko Carstens , James Hogan , James Morse , Joseph Myers , Maxim Kuvyrkov , Nathan_Lynch@mentor.com, Prasun.Kapoor@caviumnetworks.com, Ramana Radhakrishnan , Steve Ellcey , Alexander Graf , Mark Brown , christoph.muellner@theobroma-systems.com, davem@davemloft.net, Geert Uytterhoeven , Alexey Klimov , linyongting@huawei.com, manuel.montezelo@gmail.com, philipp.tomsich@theobroma-systems.com, schwidefsky@de.ibm.com, szabolcs.nagy@arm.com, zhouchengming1@huawei.com Subject: [PATCH 01/20] compat ABI: use non-compat openat and open_by_handle_at variants Date: Mon, 19 Jun 2017 18:49:44 +0300 Message-Id: <20170619155003.13218-2-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170619155003.13218-1-ynorov@caviumnetworks.com> References: <20170619155003.13218-1-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [85.253.137.34] X-ClientProxiedBy: DB6PR0801CA0048.eurprd08.prod.outlook.com (10.169.219.16) To SN1PR0701MB1871.namprd07.prod.outlook.com (10.162.100.21) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PR0701MB1871: X-MS-Office365-Filtering-Correlation-Id: 4763208a-6567-4126-76f1-08d4b72ae6fb X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:SN1PR0701MB1871; X-Microsoft-Exchange-Diagnostics: 1;SN1PR0701MB1871;3:zUkTIGf8VURitUtcBLwwAh8h0qczBiSfdQH1hfnLbHUp/kcBCpvlH0cIUoZKRNWtCrd0M6kS3ODttatsAclyomPfU4t9Sz90EaGqNWJV+8tAz8CRgR2jgTxMcUtOOKnIXhZZmdve/Iqom9fUoa6plaz6Pl8tFxAXIjxV31tspo6DlDSn5UwY0yK6sWUTvya1ORajJXsjCgQbOq7Rc7GMkaxPQ/7pTgQ27EJf9ZfGolNc1kpOfiwauacdKL+oWIqJaK680U6svN8CWUbjthRWIfy/st2mqLqYQbv+ziy+payz8z7n/y3r1xRwxMltpj5bIV0YdV+GBhxAgTv37yhYRA== X-Microsoft-Exchange-Diagnostics: 1;SN1PR0701MB1871;25:tdvff4rfbRRIyC6IymnaAGLYHhp6rgQ3N2yiUltaKPtixmLPT8sqivysXNNn3wfTPb8ffgNqNQpfMfvZDeYHXFAidc1wNTeqq1mT5IZGwdcoyIlr6QTlgx4EGgyVfBWUokbm3mCX2W+BaJhb6dtOYWo1LSqtqM87T38IAb6tXOGcjR0ENGr38XskZYVQicXlDGroQ/qaK8tBX5MyBaAL2XgL7gyJpb6KqD5LyxO+wprBZzfRyO/fC+DynKqIyXiOvXzmOan0ruBajjAUKkk8yOpz6Mr5oyaHIRlaShCKsouoDK1a5IkutJiM2yBE/s4C2xilEPFXBJxa6EJB8v2TB0rmKcTqA86yILW96F4UCqpYmxPMWXSRTGX8O1hJxhZkIF8pLiff+QQtEETcGDCvUI3Nq5qrPtCGEeoeB/jZQCrqWKMcWfM9NBaXpYljUvjTz70P8iIUmvmuMzfdYZRgeuUcFIb8A1qzymZdstRc8HCYzjMvwmJPst766E7nPkGnBD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eborQaZRM7Or5TAnm9w3+4sZxtBkJos2oAMTVMyyEq3hYzVTeaXQbpHY/3ak= X-Microsoft-Exchange-Diagnostics: 1;SN1PR0701MB1871;20:4QVy3RK4aNs3U/cCGZU+61b9dqU9KNVCE1IAk4KI4jwrXst6U9dM4oKnnMOdExRxROsJhWfmKaXsxarLFzSk+ETthHTnQfJDaxKXdIVzNIUej7Un7Hk7QJ9DXWLVdodyb/Y53adH+eIbuGqa9dOICcYKd2AdqyQ01qpDgp69U9oGav3Np0yAL0agIlQQSUW12bP5fqyEzaTpswlEt5To4BGTIInpkd8ByscKKfVA1G+4Namiw/Z6oqe8hRcPyv+9+j3F+bTtvm/ETop99xVsJ0tXk3//1tgPu65lEV/8iTuxnMzerChVOydGcnvYj6WxEqxy4mkuis4Uy+5643WX+EvuMA6WarCw8MmfRrq3hyZgSCuuBqHJgwg5et82vX76bprcIc89/D30vPoVOxQ3spuC3h2Xsd7xgKZavjtdvrgR7+rgFleqw8rVrXokQQZJVSY++2I4lUOXjrkq9DCwPzHoOHJ8MPrE4BKqiIprscTG6qe/tcd/vllZp/dQjZ4D7kK4LrBguuNij/yN3HjKooDyDFZPGynKo51EhjlxS3Gywkq90ZY5GYUTFBgIyy5DtbmQixNj/yaTWoL8CxcCBeQoD8wzWjRhUdyX/TZsoY0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN1PR0701MB1871;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN1PR0701MB1871; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR0701MB1871;4:4b9hqjg4zPEZ36Elc2axH6LrRG/cMOjktoDPiA55?= =?us-ascii?Q?5oIi8rBxKEz3nFIl9YtnzZfri3Vaf01lN+X26AlQxc5DBJaCyytqekcvdD9V?= =?us-ascii?Q?tqRbmM1ZL7m/nFG70avdpL0caMQmqAB7VuQ1aCZS4b7Hw4AP/PbrtHKjBqwT?= =?us-ascii?Q?e+5b19XbuxEwSSGFdd31wkxxERXHlFCXwGdi6Syr9nWFd08xiqRbimYSr0ye?= =?us-ascii?Q?LI3aHFveC89PQEaw/c+1XUB8wGg2bm0jqrAfAlVBYOKdjwXlx91er1lwmgtw?= =?us-ascii?Q?7b10wY93DYSPuBIv7DYhjWb3tVzO3BsPDtt45tSHY7e7EW5qI1+h7ZK0+uf5?= =?us-ascii?Q?xNagRDgPQZhYu0hfMWQ7i525HgSwFsEbrGNQ5gerbo3OIBN7U/+KmvkEP08Q?= =?us-ascii?Q?ecVOSdnPTlwi0v76Xlnzh7Hmm4f+0lVftdzQSJK/TFU4hYyKRDiAmJbZ8GV/?= =?us-ascii?Q?vzo73pAoLycAX3l0htyJ0cvFVJ+tuMmANeoBAcDFxNQakgwSstWAiTDJkSbW?= =?us-ascii?Q?DZNIkY3to8UP/glyNPxtI0/ybYvoqzZBRmxjxIkAYbot4XXm+8lL0Vf3phjW?= =?us-ascii?Q?Ie6FOgyKSGnMXT8PFv8z52XGhfN/6zR3XZ3ct563WbymhzrdEIeFjbmM0ksP?= =?us-ascii?Q?KKA8oDBIyr6ORtayNpS1nyPf7l60271Ljvk5IZbXViPQzZiR7wQuxugondFo?= =?us-ascii?Q?Sl5U2hdrU4ekfO+NmUmiqahILMpG5p1icV5LAIM3yD59maL4c4BokOGKCJyD?= =?us-ascii?Q?T748Sl3CSjlPTVSJgQAiQ7Uga7RwGg/CGmgilFwjfibwvsDjFsp6QgnSg7O6?= =?us-ascii?Q?BXuW0SBlIG/ygs68BRZc7kSN8FeVcG72OBa1AbJ9+b8dBarBG3mcD14P9rjB?= =?us-ascii?Q?4nrUJoIjzwjCJjaXIl5buRla2FnXHnPSn0nLYKrG4e7Lcm2ECkHFG3jCdeQA?= =?us-ascii?Q?6WLBQjzBL0pqsqNU/7wpB+aONi5cuique3/p7REEhKcOiGJhYpnWvtlbP/hD?= =?us-ascii?Q?cAGUq8IYmEqa0XipDb7F1POcMbWf02yStbqUfkCuq53RNjbvBW9NF7JMPEGw?= =?us-ascii?Q?ZucDGpE/gcl+Vqs84NEaO/sJE012FkBqUbU825xSszDbAUUpaa/8vqS9Jw6O?= =?us-ascii?Q?+zScjlfT8HU=3D?= X-Forefront-PRVS: 0343AC1D30 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(39840400002)(39410400002)(39450400003)(39850400002)(39400400002)(76506005)(7736002)(42186005)(6496005)(66066001)(6666003)(33646002)(2906002)(2950100002)(5003940100001)(38730400002)(81166006)(25786009)(42882006)(50986999)(53936002)(72206003)(478600001)(54906002)(305945005)(47776003)(50226002)(7406005)(76176999)(3846002)(6486002)(1076002)(189998001)(48376002)(5660300001)(8676002)(6116002)(36756003)(50466002)(7416002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR0701MB1871;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR0701MB1871;23:9+pRXpHABjWjY1r+o55e7q4uOpi5qJuYSkBtNjY?= =?us-ascii?Q?3A8EYgP+AOCmffpHgDHWyxBtLGWbEKs6OEgady3VSKrvmIZedWxvlYWKuCpL?= =?us-ascii?Q?2FIO8p34T/tEliIGpgc8j4d6k/njiaxJBMMv6lMgrrnh/A8Ewq44DXSg3651?= =?us-ascii?Q?KLd7q53fTvkjeoT8sF0KBrpMWOmKITxfuupBZJUZ9u5gX0yLU+zuJiOuT4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qQ7?= =?us-ascii?Q?tMOTZ0hEAt329zbobX72s2ZKgNe0BEpgmYfBhtcFBgHyRyvQJs9oD9AEbe7H?= =?us-ascii?Q?DDnVY6wIZePntC60AYpfzvbWMsjIhCBb4mGha2kceUlqjGkKK2jHG5EUMDwQ?= =?us-ascii?Q?b9yxyJ9i04u1fbK8kmN4ezXyAaMROfuU+3T6/SJUz9IOmA2rjWxUY0CMO5Mc?= =?us-ascii?Q?bh8=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR0701MB1871;5:pj05h7TYJg3zpYnLTjcvCLwdL6bTCsAbsX41DkILTONilaDCXi/vAyF5adGsjboDrAOuGIrt5ttn53PNXMLpEIKqjNLdpcMYGHrCxavWjQpknOLSb1A+85Dyy76xkhphyzcXoHvTKK+VYqkkk7srJd5xGAF5+naNj6JEyT6k5ZvBv9XhaTvB80C5nNBrSx12Bv6bOUzj7GKVeuQLI48FNyNMOvuUl1fmEkl9TMxLeze3iIvVkFMbr4xD7ooONnvba0Se8kKpBa0l05Qq2NR1XgbKb6xusr+mKVqf9VvTC1I/KeZf59Ol9hSmEdX7VWSwR9EMZXeTZZ+BSJvG/6RjV6csBrLzhlInmeve5Cep5V0/uk7aEiaETgM4/FcsozLgVUdO/FwayST7AFsvx28cO64ukiolWIhlxOjjhMSZE2BB2JruZZETlVPzRLBgVE9f76rcpANCqT06dSjDoSfdGIW4aHytSh/+PqCl9yVTmDULoaAIBfq6JElMoe+JH9Gm;24:sQ/mhTa473R5NI9b+8y2E3ft/swBCwgWdjGCYY6TrbAIFwS5BaU0PR4H17SyLXz4CDtu7AmerJxnIEbkVLdqa2OascCrZajlb5irKgFrSPo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;SN1PR0701MB1871;7:jK9Ju6m6VoN8cAIzoJqK7EuMoQhpSny9zT7QOWCUYP2gBZq0JIvSJHTctDUg/y3idW4oNzaFMEZkdaD+yQaruFq46oyC05No3sCLAGKZ8l/dv8DvvtncQB50ung6YctpCIDn5Y4bk1nx51aysBdINJ4zcRjIFFq21f/zjQYEp2aoFScckbinaKhnN8MTTE+eSbb7J9b9HLq3Fs58bNWPsVMCLWApkruw3QdjLqWrCBWTeKf+QlwOFfnK1WspbzglrWceSF4jU5/wbUoOUtmNPp1qZM0XMx+i2AFw3+bOM41Xa7GD+OmlE5+yHftZWErA7ithILzXMfDITRgQMUumBVcXcW+REzXGRQJ968UoSoDJ6JiMfwzc7xSuoD3YtMjM0FRd7IStv14kImOMLTAfLlbri1LiLQwQd2sOecOSkj+tSd4K5+aqTqxdGUR6cOOGfAOql0aaNU0BOKzpnMpWhZXaFUdx+RDj5Bibq9QE8GfqE8QAYLZGL4nZpe7uIKXCWmG33HnQOObDxFCoF6M+KNUGwFnxZHBKQvxMQnHox+fod0Exw75im5yYEtg16iEqJKtRO0kHTH/i/Zp7wmojy8iF5BsXFIKrhU22mU+nlZqiYpWW300g3LS2fe8qd+VOXuhk6QJEVkxMtWahCOohfVMDSba6yQ0MKP9n97aWCCwbDFPu1adhDwM6NAhaeeGMj0lcVG26Iev90sqCZ7avb3irJV/u9LEEjSDRaR+eRpwt3DEUdAKCv16Kl7tsYXLKpkESgwAeI7wxDv+qwCW4oLdc9t/lOhV6jC7CRRqRs60= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2017 15:50:25.4237 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0701MB1871 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2186 Lines: 53 The only difference is that non-compat version forces O_LARGEFILE, and it should be the default behaviour for all architectures, as we are going to drop the support of 32-bit userspace off_t. The exception is tile32 that continues with compat version of syscalls. Signed-off-by: Yury Norov Acked-by: Arnd Bergmann Acked-by: Chris Metcalf [for tile] --- arch/tile/kernel/compat.c | 3 +++ include/uapi/asm-generic/unistd.h | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/tile/kernel/compat.c b/arch/tile/kernel/compat.c index bdaf71d31a4a..3b7853c59395 100644 --- a/arch/tile/kernel/compat.c +++ b/arch/tile/kernel/compat.c @@ -103,6 +103,9 @@ COMPAT_SYSCALL_DEFINE5(llseek, unsigned int, fd, unsigned int, offset_high, #define compat_sys_readahead sys32_readahead #define sys_llseek compat_sys_llseek +#define sys_openat compat_sys_openat +#define sys_open_by_handle_at compat_sys_open_by_handle_at + /* Call the assembly trampolines where necessary. */ #define compat_sys_rt_sigreturn _compat_sys_rt_sigreturn #define sys_clone _sys_clone diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 061185a5eb51..429dd335def6 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -178,7 +178,7 @@ __SYSCALL(__NR_fchownat, sys_fchownat) #define __NR_fchown 55 __SYSCALL(__NR_fchown, sys_fchown) #define __NR_openat 56 -__SC_COMP(__NR_openat, sys_openat, compat_sys_openat) +__SYSCALL(__NR_openat, sys_openat) #define __NR_close 57 __SYSCALL(__NR_close, sys_close) #define __NR_vhangup 58 @@ -675,8 +675,7 @@ __SYSCALL(__NR_fanotify_mark, sys_fanotify_mark) #define __NR_name_to_handle_at 264 __SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at) #define __NR_open_by_handle_at 265 -__SC_COMP(__NR_open_by_handle_at, sys_open_by_handle_at, \ - compat_sys_open_by_handle_at) +__SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at) #define __NR_clock_adjtime 266 __SC_COMP(__NR_clock_adjtime, sys_clock_adjtime, compat_sys_clock_adjtime) #define __NR_syncfs 267 -- 2.11.0