From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list Date: Sat, 29 Oct 2016 23:54:08 +0200 Message-ID: <5823871.3DMLUx5Xtp@wuerfel> References: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+gla-linux-snps-arc=m.gmane.org@lists.infradead.org To: Yury Norov Cc: Aurelien Jacquiot , Catalin Marinas , Will Deacon , Guan Xuetao , Lennox Wu , linux-arch@vger.kernel.org, Chen Liqin , linux-c6x-dev@linux-c6x.org, Yoshinori Sato , linux-hexagon@vger.kernel.org, Mark Salter , linux-snps-arc@lists.infradead.org, uclinux-h8-devel@lists.sourceforge.jp, Jonas Bonn , James Hogan , Chris Metcalf , nios2-dev@lists.rocketboards.org, linux-metag@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andrew Pinski , Vineet Gupta , linux-kernel@vger.kernel.org, Richard Kuo , Ley Foon Tan List-Id: linux-arch.vger.kernel.org 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? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de ([212.227.17.10]:61962 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754996AbcJ2VzS (ORCPT ); Sat, 29 Oct 2016 17:55:18 -0400 From: Arnd Bergmann Subject: Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list Date: Sat, 29 Oct 2016 23:54:08 +0200 Message-ID: <5823871.3DMLUx5Xtp@wuerfel> In-Reply-To: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> References: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Yury Norov Cc: James Hogan , linux-arch@vger.kernel.org, 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 Message-ID: <20161029215408.YSJ_iXyMknvK7i7jKXG8PONehXnkGNDpXOiyV79CCVA@z> 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? From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Sat, 29 Oct 2016 23:54:08 +0200 Subject: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list In-Reply-To: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> References: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> List-ID: Message-ID: <5823871.3DMLUx5Xtp@wuerfel> To: linux-snps-arc@lists.infradead.org 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? From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Sat, 29 Oct 2016 23:54:08 +0200 Subject: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list In-Reply-To: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> References: <1477138444-14993-1-git-send-email-ynorov@caviumnetworks.com> Message-ID: <5823871.3DMLUx5Xtp@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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?