Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756773AbcJWU5d (ORCPT ); Sun, 23 Oct 2016 16:57:33 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33069 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754198AbcJWU5b (ORCPT ); Sun, 23 Oct 2016 16:57:31 -0400 Subject: Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list To: Yury Norov , Arnd Bergmann , James Hogan , "linux-arch@vger.kernel.or" References: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> Cc: 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 , "linux-snps-arc@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-c6x-dev@linux-c6x.org" , "uclinux-h8-devel@lists.sourceforge.jp" , "linux-hexagon@vger.kernel.org" , "linux-metag@vger.kernel.org" , "nios2-dev@lists.rocketboards.org" From: Vineet Gupta Organization: Synopsys Message-ID: <4e1a4e68-5c84-ce9d-73df-b7da312cc884@synopsys.com> Date: Sun, 23 Oct 2016 13:57:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 708 Lines: 17 On 10/22/2016 05:14 AM, 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. > > Cc: Vineet Gupta Acked-by: Vineet Gupta #arch/arc bits Thx, -Vineet