From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Subject: Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list Date: Sun, 23 Oct 2016 13:57:27 -0700 Message-ID: <4e1a4e68-5c84-ce9d-73df-b7da312cc884@synopsys.com> References: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ELj5s/+k+d1r6aDJu/QXfIpZkzZOC+e/LhuhFtj791c=; b=brAlnI4X+WXtpLTX5Gn83zVb0pJaUghhyedv/d/+VMUPWzBxaghJc6KxRYBgJqYjc0 X2qDTHnqjCBvX17rwh0uTuzO8Lh9UQAvvRa7ISE/3SVExBSJroUVDjo2eBYho4IMWkVG fiGfeDLJT5VFBbFlQgn36jdW4aOU7NpQJB7EANED6F4+/xbpWMFNjH/MXWXuED/I1c0T TyL1qAqWQkFLWKlSbsPJia75Q5eKMtgIfzFtuLzGJ+kxWLPH/VAZFv9m8uRgqCDdOukN du7J1U6BkUT5T/FE4njcElehX28yl8y4QHGoswVjY5qas/s/o58feC2WwopX1CGu3jG/ Z72g== In-Reply-To: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Yury Norov , Arnd Bergmann , James Hogan , "linux-arch@vger.kernel.or" 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" 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