Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754996AbcJ2WF4 (ORCPT ); Sat, 29 Oct 2016 18:05:56 -0400 Received: from mail-sn1nam02on0046.outbound.protection.outlook.com ([104.47.36.46]:23616 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752340AbcJ2WFx (ORCPT ); Sat, 29 Oct 2016 18:05:53 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Date: Sun, 30 Oct 2016 01:05:38 +0300 From: Yury Norov To: Arnd Bergmann CC: James Hogan , , Vineet Gupta , Catalin Marinas , Will Deacon , Mark Salter , Aurelien Jacquiot , Yoshinori Sato , Richard Kuo , Ley Foon Tan , Jonas Bonn , Chen Liqin , Lennox Wu , Chris Metcalf , Guan Xuetao , Andrew Pinski , , , , , , , , Subject: Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list Message-ID: <20161029220538.GB20037@yury-N73SV> References: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> <5823871.3DMLUx5Xtp@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <5823871.3DMLUx5Xtp@wuerfel> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [176.59.32.58] X-ClientProxiedBy: AM4PR02CA0021.eurprd02.prod.outlook.com (10.165.239.159) To CY1PR07MB2246.namprd07.prod.outlook.com (10.164.112.148) X-MS-Office365-Filtering-Correlation-Id: 122cca26-7e25-4b82-1831-08d40047be42 X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2246;2:Cl7cZ5VfCZxsu0NtIJ6XuzrJ/mfTFVS/vfdIgcYMdN38YAPjrEU1OducTJQwzywCWlU/HMR2EWfXhhp1NYOYvuqtLPOJ1WdHDpPjzD0dLTjFVh5x1Ne3qWNeVwaNNZQAcxOGqWOiOOV+d0eGB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DlvFJWqNFPDzA5EtUTMGFD0Sa9zrt0AAhGbSIl6uSXz0MiEuCj3Pwam4UpLCy4NJ8ZLsOFdG0vcv1ciHhcPHRSawZWkfhZSiblpvgGqhWlAi2nj2BDujQWtv1Q4O6nkVpwCLSE7hMaJIdS1uTXj6vd1ur9ajpfAsWCwgY8pEtnsEJCxFhBCSq5anUZXgGHFJHkmmz6clfQSCZhwamzUENOat4ygxj+Bk7A96DpP2LeKY5AUGZrO8+oJbVqNR/gODjuHDIPiz+yVBtA0HWw3CbpYHB5jLV3cYW8FC5uOFCmh8ZJdKHfopYFoYKyqokowklBFch/STTkDCGWh5unPhuKE9GOtoyNFWza92ePFRQXXIsHIz0Vr52QzLC9nlO6E5zKUUTMUQs0ew6lJFPfTx5dJiSN23tXLLiFmUsmZxRUeDFzBt3hjE4OS73+1/QYWFEI8BYsBaqae5cxe/tPPSUGdCRWfANPgUVTV8ZhVqhZ2AIf8qmM1sgHgTiWB3PABj/wOFytzhbbN8XDTnriZWkxMew3tQVWMg6cXoPDeRnL7Yh4ifK6CZzfltdKCpk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001);SRVR:CY1PR07MB2246;BCL:0;PCL:0;RULEID:;SRVR:CY1PR07MB2246; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2246;4:HVt6vVB2b3zfEKx2oiSz3AB1ujiR/dRcvm6UjZuXdiTXU/RStDXAVJoapMhAaMozDPP5+kQQ+Mi6sN5UlgkpKv1B9VcK22RDW70O5Yao+POkZj4E7W5oliVTRWw6RUnq4AQVKYfxaqftg8PO41kd9xHeVqh8XUD8STNqACKl9RPmtzI3GvVj8YFlmPmx5MwFDsVjFs6j0x3Sg1v36R9wxDhdiHKGVo978F9rbq4O97++9m88wYF0/CDACHc7jEz6oikbAyIcHzLu1a6iIqWBNU8Ib1CHVuWy+xcV48H52myjSXH0tt1iAyPzOeYls5/wuasMJcSgHTd75WtVcE+pK7Y0rzuhv96kONvwzQbue2kc8Px8NU/q3rToUENd3XB/I5+bHlAdY6Pz6/mPWerG1EyI1vF5tng6ZDfkEAZvGaEu4K1YOFmljtUcmSIMC3cF X-Forefront-PRVS: 01106E96F6 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(189002)(24454002)(199003)(377454003)(81156014)(97756001)(105586002)(50466002)(7846002)(106356001)(8676002)(76506005)(68736007)(81166006)(5660300001)(101416001)(33656002)(6116002)(23726003)(50986999)(586003)(1076002)(7736002)(8666005)(2906002)(46406003)(305945005)(76176999)(42186005)(3846002)(54356999)(7416002)(4326007)(6916009)(33716001)(66066001)(110136003)(189998001)(83506001)(2950100002)(97736004)(9686002)(6666003)(4001350100001)(19580395003)(15975445007)(19580405001)(77096005)(47776003)(92566002)(18370500001)(41533002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2246;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2246;23:LyCoCUqrmCW9lAFkCS2BAhi7im59gmnVf3P76Y4BE?= =?us-ascii?Q?QupGWArLet/gwBLh3Z/6mBOqr/jOTbgR658C4vOKO/LTkP3pa3HboY+6Vr2r?= =?us-ascii?Q?9ETzxPakE4iaRDL3OB80pMI4zJenxDxaCN7FgT0NpAXsQQPTlSJM9VZOUkGn?= =?us-ascii?Q?9XpAAVsCIkEEigAB2pyQQE/iCVPyp/0O5Ydbem1GmxN5atv4H36hcwA9WS5u?= =?us-ascii?Q?DHUCb/AfzyCQ3GdZOh2585bdal3+O+pXobBe+Cx3VdQc6xMP3ZaoE2/pWQam?= =?us-ascii?Q?QB4FvpDTd8KlVzaP0C3ckT8SV4dCdWsX+kdds6rrP2TVuN4Vd9V/0EuvvL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WDOD/y4yxk17/SSZ+lSme5/UWvt+OKiPbDsm5UfbSoIcQ5R+THFUIt+ifQ/5qTQqWFyssJduV4GH2GjaNXCY9lgy9PUecK7cGAQrBdiEMqFDAeEYg7npDPPmGJ4bIDS2QtgDx86IYHazEj/Dq9GILXe0EPVju7onklg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2016 22:05:49.5659 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2246 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 863 Lines: 19 On Sat, Oct 29, 2016 at 11:54:08PM +0200, Arnd Bergmann wrote: > On Saturday, October 22, 2016 3:14:04 PM CEST Yury Norov wrote: > > The newer prlimit64 syscall provides all the functionality provided by > > the getrlimit and setrlimit syscalls and adds the pid of target process, > > so future architectures won't need to include getrlimit and setrlimit. > > > > Therefore drop getrlimit and setrlimit syscalls from the generic syscall > > list unless __ARCH_WANT_SET_GET_RLIMIT is defined by the architecture's > > unistd.h prior to including asm-generic/unistd.h, and adjust all > > architectures using the generic syscall list to define it so that no > > in-tree architectures are affected. > > > > Acked-by: Arnd Bergmann > > Can you include this patch in your ilp32 series? Already did. https://github.com/norov/linux/commits/ilp32-4.9