From patchwork Mon Jun 19 15:49:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 105866 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp914241obh; Mon, 19 Jun 2017 08:50:44 -0700 (PDT) X-Received: by 10.99.2.135 with SMTP id 129mr26505186pgc.174.1497887444648; Mon, 19 Jun 2017 08:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497887444; cv=none; d=google.com; s=arc-20160816; b=yNyzn1O+critq08fQI1Qh4Tr8CT6JVIiCJObtg0xmgBOXVfohOe/+d97mnmGC/zhT0 s+qpGRVdMHw8FX/bc2VCAp5oFLaNVaFxVXsRd+R9W5QRYEFCkQCHdSrjyIox0Mcb8IQu rWhkHSTfJALgYuQKz9vD0I2wPmt0PVNsl2r9SKurJYf8D8tXkFf0qtzMvXK5BNsbg7yA DZHh/C5W0JFf0+E6/+bCPiofFihXTNK/+E/1lrhPVHBPfD5nBLQJ4QyCx+ppqa7amClI srrRRKtYbMaZaqsBCT/R6D+eOwt/5EEmOeT8r6et7bV62MVleC2IWAt+/ff2p/4vmA/W +YKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=4bJJH3LhcPoyGTm42YyBI8K/mn3mUzVF37e1QJGVMcs=; b=FGJwzAKdbfPJi/IVZ9iipOBYInJOTV6dyYACV7Y/VAHwWyy7lMHDsXqGAW9O5pnSJe NHavEkdU0PHuPRxOx4n1+Lm+H8KJPJrk2tgywUsPgLFOqSynweg8omZsoJIjynMQ5GSb Qplj6p8lQcBwqd2LTnBWEQnkmEkfVXfdzjk27jlZ2orObz1AHAmtvdRJaLVAWtHqYqG6 C8t+XnLqy/VvTTZVpkZpmM2g8ZK42CfEkhzTwE1VxhxbqZjMl/cdtdGJspNCcEycU+/W z3k+ZD1Q1ReX+RLUkOPqRhpxwbN6CPinBArERPCzeRDrheRNTthJ2l2h1aIG8Hg93oOB 8moA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.b=haj/m6Uo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si8087055pfv.344.2017.06.19.08.50.44; Mon, 19 Jun 2017 08:50:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.b=haj/m6Uo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753849AbdFSPuj (ORCPT + 25 others); 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4bJJH3LhcPoyGTm42YyBI8K/mn3mUzVF37e1QJGVMcs=; b=haj/m6Uoout/mpTLZVoKiiuuQrOH4jC6G1BmY0Cg46/V1rBFxq2HziTGS5InEvsWUMF+SDnN8M+s9P6wEqrnYr7pjINP+0mZUohlN48ourQ5VB0eACIrRWq28m7smm4qiMDufz+5Su8HeosjkOe7M1KZ0AwJ01sSvz9BS0GFGyI= Authentication-Results: arm.com; dkim=none (message not signed) header.d=none; arm.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (85.253.137.34) by SN1PR0701MB1871.namprd07.prod.outlook.com (10.162.100.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Mon, 19 Jun 2017 15:50:25 +0000 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 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/jZQCrqWKMcWfM9NBaXpYljUvjTz70P8iIUmvmuMzfdYZRgeuUcFIb8A1qzymZdstRc8HCYzjMv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2VUnIl4auxl/SrJNmeborQaZRM7Or5TAnm9w3+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: 1; SN1PR0701MB1871; 4:4b9hqjg4zPEZ36Elc2axH6LrRG/cMOjktoDPiA555oIi8rBxKEz3nFIl9YtnzZfri3Vaf01lN+X26AlQxc5DBJaCyytqekcvdD9VtqRbmM1ZL7m/nFG70avdpL0caMQmqAB7VuQ1aCZS4b7Hw4AP/PbrtHKjBqwTe+5b19XbuxEwSSGFdd31wkxxERXHlFCXwGdi6Syr9nWFd08xiqRbimYSr0yeLI3aHFveC89PQEaw/c+1XUB8wGg2bm0jqrAfAlVBYOKdjwXlx91er1lwmgtw7b10wY93DYSPuBIv7DYhjWb3tVzO3BsPDtt45tSHY7e7EW5qI1+h7ZK0+uf5xNagRDgPQZhYu0hfMWQ7i525HgSwFsEbrGNQ5gerbo3OIBN7U/+KmvkEP08QecVOSdnPTlwi0v76Xlnzh7Hmm4f+0lVftdzQSJK/TFU4hYyKRDiAmJbZ8GV/vzo73pAoLycAX3l0htyJ0cvFVJ+tuMmANeoBAcDFxNQakgwSstWAiTDJkSbWDZNIkY3to8UP/glyNPxtI0/ybYvoqzZBRmxjxIkAYbot4XXm+8lL0Vf3phjWIe6FOgyKSGnMXT8PFv8z52XGhfN/6zR3XZ3ct563WbymhzrdEIeFjbmM0ksPKKA8oDBIyr6ORtayNpS1nyPf7l60271Ljvk5IZbXViPQzZiR7wQuxugondFoSl5U2hdrU4ekfO+NmUmiqahILMpG5p1icV5LAIM3yD59maL4c4BokOGKCJyDT748Sl3CSjlPTVSJgQAiQ7Uga7RwGg/CGmgilFwjfibwvsDjFsp6QgnSg7O6BXuW0SBlIG/ygs68BRZc7kSN8FeVcG72OBa1AbJ9+b8dBarBG3mcD14P9rjB4nrUJoIjzwjCJjaXIl5buRla2FnXHnPSn0nLYKrG4e7Lcm2ECkHFG3jCdeQA6WLBQjzBL0pqsqNU/7wpB+aONi5cuique3/p7REEhKcOiGJhYpnWvtlbP/hDcAGUq8IYmEqa0XipDb7F1POcMbWf02yStbqUfkCuq53RNjbvBW9NF7JMPEGwZucDGpE/gcl+Vqs84NEaO/sJE012FkBqUbU825xSszDbAUUpaa/8vqS9Jw6O+zScjlfT8HU= 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: 1; SN1PR0701MB1871; 23:9+pRXpHABjWjY1r+o55e7q4uOpi5qJuYSkBtNjY3A8EYgP+AOCmffpHgDHWyxBtLGWbEKs6OEgady3VSKrvmIZedWxvlYWKuCpL2FIO8p34T/tEliIGpgc8j4d6k/njiaxJBMMv6lMgrrnh/A8Ewq44DXSg3651KLd7q53fTvkjeoT8sF0KBrpMWOmKITxfuupBZJUZ9u5gX0yLU+zuJiOuT4JT7ZuOyccIdjbRzVtSFkl/EUyLoIZu0PBD7zIgoKOh469WPhwxmsieC6Nw3aEjUip+2Bu1KSlpSpKQ0Tqz2+m8fp4vfrife1PeX1oiHKR1jfwowHSRu68+gtLkvKXX/Eys/OWW1RH0iQaCWzY4/nc/Dgd5MfF2vMTaNZ+omUv4x4MQRU30YaAAQJFXCnj097GxYSvVx2u/458eM4nwk8RBALOW72aLEXI/fP/uxW4Vl4UK9NgJCtTyl/tK9hmaR2bib4mk1cxmvvqkKduvtaUFbKHJG89PswyKxcW+ctiCRc392qhnHEBVR1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JElMoe+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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.11.0 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