From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xuetao Guan" Subject: Re: [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list Date: Fri, 13 Jan 2017 10:51:44 +0800 (CST) Message-ID: <16049.175.43.247.167.1484275904.squirrel@mprc.pku.edu.cn> References: <1483961397-8599-1-git-send-email-ynorov@caviumnetworks.com> <1483961397-8599-4-git-send-email-ynorov@caviumnetworks.com> Reply-To: gxt@mprc.pku.edu.cn Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1483961397-8599-4-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 Cc: linux-doc@vger.kernel.org, Andrew Pinski , Catalin Marinas , Heiko Carstens , Chris Metcalf , Yury Norov , linux@lists.openrisc.net, linux-hexagon@vger.kernel.org, philipp.tomsich@theobroma-systems.com, Joseph Myers , linux-arch@vger.kernel.org, Chen Liqin , zhouchengming1@huawei.com, Guan Xuetao , Steve Ellcey , linux-c6x-dev@linux-c6x.org, Yoshinori Sato , prasun.kapoor@caviumnetworks.com, Andreas Schwab , Aurelien Jacquiot , agraf@suse.de, szabolcs.nagy@arm.com, geert@linux-m68k.org, Lennox Wu , Mark Salter , linux-snps-arc@lists.infradead List-Id: linux-arch.vger.kernel.org > 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: Arnd Bergmann > Cc: James Hogan > Cc: linux-arch@vger.kernel.org > Cc: linux-snps-arc@lists.infradead.org > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-kernel@lists.infradead.org > Cc: Mark Salter > Cc: Aurelien Jacquiot > Cc: linux-c6x-dev@linux-c6x.org > Cc: Richard Kuo > Cc: linux-hexagon@vger.kernel.org > Cc: linux-metag@vger.kernel.org > Cc: Jonas Bonn > Cc: linux@lists.openrisc.net > Cc: Chen Liqin > Cc: Lennox Wu > Cc: Chris Metcalf > Cc: Guan Xuetao > Cc: Ley Foon Tan > Cc: nios2-dev@lists.rocketboards.org > Cc: Yoshinori Sato > Cc: uclinux-h8-devel@lists.sourceforge.jp > Acked-by: Arnd Bergmann > Acked-by: Mark Salter [c6x] > Acked-by: James Hogan [metag] > Acked-by: Ley Foon Tan [nios2] > Acked-by: Stafford Horne [openrisc] > Acked-by: Vineet Gupta #arch/arc bits > Signed-off-by: Yury Norov > --- > arch/arc/include/uapi/asm/unistd.h | 1 + > arch/arm64/include/uapi/asm/unistd.h | 1 + > arch/c6x/include/uapi/asm/unistd.h | 1 + > arch/h8300/include/uapi/asm/unistd.h | 1 + > arch/hexagon/include/uapi/asm/unistd.h | 1 + > arch/metag/include/uapi/asm/unistd.h | 1 + > arch/nios2/include/uapi/asm/unistd.h | 1 + > arch/openrisc/include/uapi/asm/unistd.h | 1 + > arch/score/include/uapi/asm/unistd.h | 1 + > arch/tile/include/uapi/asm/unistd.h | 1 + > arch/unicore32/include/uapi/asm/unistd.h | 1 + > include/uapi/asm-generic/unistd.h | 5 +++++ > 12 files changed, 16 insertions(+) For UniCore32: Acked-by: Guan Xuetao Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: gxt@mprc.pku.edu.cn (Xuetao Guan) Date: Fri, 13 Jan 2017 10:51:44 +0800 (CST) Subject: [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list In-Reply-To: <1483961397-8599-4-git-send-email-ynorov@caviumnetworks.com> References: <1483961397-8599-1-git-send-email-ynorov@caviumnetworks.com> <1483961397-8599-4-git-send-email-ynorov@caviumnetworks.com> List-ID: Message-ID: <16049.175.43.247.167.1484275904.squirrel@mprc.pku.edu.cn> To: linux-snps-arc@lists.infradead.org > 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: Arnd Bergmann > Cc: James Hogan > Cc: linux-arch at vger.kernel.org > Cc: linux-snps-arc at lists.infradead.org > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-kernel at lists.infradead.org > Cc: Mark Salter > Cc: Aurelien Jacquiot > Cc: linux-c6x-dev at linux-c6x.org > Cc: Richard Kuo > Cc: linux-hexagon at vger.kernel.org > Cc: linux-metag at vger.kernel.org > Cc: Jonas Bonn > Cc: linux at lists.openrisc.net > Cc: Chen Liqin > Cc: Lennox Wu > Cc: Chris Metcalf > Cc: Guan Xuetao > Cc: Ley Foon Tan > Cc: nios2-dev at lists.rocketboards.org > Cc: Yoshinori Sato > Cc: uclinux-h8-devel at lists.sourceforge.jp > Acked-by: Arnd Bergmann > Acked-by: Mark Salter [c6x] > Acked-by: James Hogan [metag] > Acked-by: Ley Foon Tan [nios2] > Acked-by: Stafford Horne [openrisc] > Acked-by: Vineet Gupta #arch/arc bits > Signed-off-by: Yury Norov > --- > arch/arc/include/uapi/asm/unistd.h | 1 + > arch/arm64/include/uapi/asm/unistd.h | 1 + > arch/c6x/include/uapi/asm/unistd.h | 1 + > arch/h8300/include/uapi/asm/unistd.h | 1 + > arch/hexagon/include/uapi/asm/unistd.h | 1 + > arch/metag/include/uapi/asm/unistd.h | 1 + > arch/nios2/include/uapi/asm/unistd.h | 1 + > arch/openrisc/include/uapi/asm/unistd.h | 1 + > arch/score/include/uapi/asm/unistd.h | 1 + > arch/tile/include/uapi/asm/unistd.h | 1 + > arch/unicore32/include/uapi/asm/unistd.h | 1 + > include/uapi/asm-generic/unistd.h | 5 +++++ > 12 files changed, 16 insertions(+) For UniCore32: Acked-by: Guan Xuetao Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xuetao Guan" Subject: Re: [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list Date: Fri, 13 Jan 2017 10:51:44 +0800 (CST) Message-ID: <16049.175.43.247.167.1484275904.squirrel@mprc.pku.edu.cn> References: <1483961397-8599-1-git-send-email-ynorov@caviumnetworks.com> <1483961397-8599-4-git-send-email-ynorov@caviumnetworks.com> Reply-To: gxt@mprc.pku.edu.cn Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1483961397-8599-4-git-send-email-ynorov@caviumnetworks.com> List-Id: 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: linux-doc@vger.kernel.org, Andrew Pinski , Catalin Marinas , Heiko Carstens , Chris Metcalf , Yury Norov , linux@lists.openrisc.net, linux-hexagon@vger.kernel.org, philipp.tomsich@theobroma-systems.com, Joseph Myers , linux-arch@vger.kernel.org, Chen Liqin , zhouchengming1@huawei.com, Guan Xuetao , Steve Ellcey , linux-c6x-dev@linux-c6x.org, Yoshinori Sato , prasun.kapoor@caviumnetworks.com, Andreas Schwab , Aurelien Jacquiot , agraf@suse.de, szabolcs.nagy@arm.com, geert@linux-m68k.org, Lennox Wu , Mark Salter , linux-snps-arc@lists.infradead > 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: Arnd Bergmann > Cc: James Hogan > Cc: linux-arch@vger.kernel.org > Cc: linux-snps-arc@lists.infradead.org > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-kernel@lists.infradead.org > Cc: Mark Salter > Cc: Aurelien Jacquiot > Cc: linux-c6x-dev@linux-c6x.org > Cc: Richard Kuo > Cc: linux-hexagon@vger.kernel.org > Cc: linux-metag@vger.kernel.org > Cc: Jonas Bonn > Cc: linux@lists.openrisc.net > Cc: Chen Liqin > Cc: Lennox Wu > Cc: Chris Metcalf > Cc: Guan Xuetao > Cc: Ley Foon Tan > Cc: nios2-dev@lists.rocketboards.org > Cc: Yoshinori Sato > Cc: uclinux-h8-devel@lists.sourceforge.jp > Acked-by: Arnd Bergmann > Acked-by: Mark Salter [c6x] > Acked-by: James Hogan [metag] > Acked-by: Ley Foon Tan [nios2] > Acked-by: Stafford Horne [openrisc] > Acked-by: Vineet Gupta #arch/arc bits > Signed-off-by: Yury Norov > --- > arch/arc/include/uapi/asm/unistd.h | 1 + > arch/arm64/include/uapi/asm/unistd.h | 1 + > arch/c6x/include/uapi/asm/unistd.h | 1 + > arch/h8300/include/uapi/asm/unistd.h | 1 + > arch/hexagon/include/uapi/asm/unistd.h | 1 + > arch/metag/include/uapi/asm/unistd.h | 1 + > arch/nios2/include/uapi/asm/unistd.h | 1 + > arch/openrisc/include/uapi/asm/unistd.h | 1 + > arch/score/include/uapi/asm/unistd.h | 1 + > arch/tile/include/uapi/asm/unistd.h | 1 + > arch/unicore32/include/uapi/asm/unistd.h | 1 + > include/uapi/asm-generic/unistd.h | 5 +++++ > 12 files changed, 16 insertions(+) For UniCore32: Acked-by: Guan Xuetao Thanks.