From: Yury Norov <ynorov@caviumnetworks.com>
To: James Hogan <james.hogan@imgtec.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
Arnd Bergmann <arnd@arndb.de>, Andrew Pinski <pinskia@gmail.com>,
Andrew Pinski <Andrew.Pinski@caviumnetworks.com>,
Adam Borowski <kilobyte@angband.pl>,
Chris Metcalf <cmetcalf@ezchip.com>,
Steve Ellcey <sellcey@caviumnetworks.com>,
Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>,
Ramana Radhakrishnan <ramana.gcc@googlemail.com>,
Florian Weimer <fweimer@redhat.com>,
Bamvor Zhangjian <bamvor.zhangjian@huawei.com>,
Andreas Schwab <schwab@suse.de>,
Chris Metcalf <cmetcalf@mellanox.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
schwidefsky@de.ibm.com, broonie@kernel.org,
Joseph Myers <joseph@codesourcery.com>,
christoph.muellner@theobroma-systems.com, szabolcs.nagy@arm.com,
klimov.linux@gmail.com, Nathan_Lynch@mentor.com, agraf@suse.de,
Prasun.Kapoor@caviumnetworks.com, geert@linux-m68k.org,
philipp.tomsich@theobroma-systems.com,
manuel.montezelo@gmail.com, linyongting@huawei.com,
davem@davemloft.net, zhouchengming1@huawei.com,
linux-arch@vger.kernel.org, linux-snps-arc@lists.infradead.org,
Will Deacon <will.deacon@arm.com>,
Mark Salter <msalter@redhat.com>,
Aurelien Jacquiot <a-jacquiot@ti.com>,
linux-c6x-dev@linux-c6x.org, Richard Kuo <rkuo@codeaurora.org>,
linux-hexagon@vger.kernel.org, linux-metag@vger.kernel.org,
Jonas Bonn <jonas@southpole.se>,
linux@lists.openrisc.net, Chen Liqin <liqin.linux@gmail.com>,
Lennox Wu <lennox.wu@gmail.com>,
Guan Xuetao <gxt@mprc.pku.edu.cn>,
Ley Foon Tan <lftan@altera.com>,
nios2-dev@lists.rocketboards.org,
Yoshinori Sato <ysato@users.sourceforge.jp>,
uclinux-h8-devel@lists.sourceforge.jp
Subject: Re: [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list
Date: Wed, 7 Jun 2017 21:48:09 +0300 [thread overview]
Message-ID: <20170607184809.e4hmsvewkrmigmww@yury-thinkpad> (raw)
In-Reply-To: <20170605144406.GT6973@jhogan-linux.le.imgtec.org>
On Mon, Jun 05, 2017 at 03:44:06PM +0100, James Hogan wrote:
> Hi Yury,
>
> On Sun, Jun 04, 2017 at 02:59:52PM +0300, 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: Arnd Bergmann <arnd@arndb.de>
> > Cc: James Hogan <james.hogan@imgtec.com>
> > Cc: linux-arch@vger.kernel.org
> > Cc: linux-snps-arc@lists.infradead.org
> > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > Cc: Will Deacon <will.deacon@arm.com>
> > Cc: linux-arm-kernel@lists.infradead.org
> > Cc: Mark Salter <msalter@redhat.com>
> > Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
> > Cc: linux-c6x-dev@linux-c6x.org
> > Cc: Richard Kuo <rkuo@codeaurora.org>
> > Cc: linux-hexagon@vger.kernel.org
> > Cc: linux-metag@vger.kernel.org
> > Cc: Jonas Bonn <jonas@southpole.se>
> > Cc: linux@lists.openrisc.net
> > Cc: Chen Liqin <liqin.linux@gmail.com>
> > Cc: Lennox Wu <lennox.wu@gmail.com>
> > Cc: Chris Metcalf <cmetcalf@mellanox.com>
> > Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
> > Cc: Ley Foon Tan <lftan@altera.com>
> > Cc: nios2-dev@lists.rocketboards.org
> > Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> > Cc: uclinux-h8-devel@lists.sourceforge.jp
> > Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
> > Acked-by: Arnd Bergmann <arnd@arndb.de>
> > Acked-by: Mark Salter <msalter@redhat.com> [c6x]
> > Acked-by: James Hogan <james.hogan@imgtec.com> [metag]
> > Acked-by: Ley Foon Tan <lftan@altera.com> [nios2]
> > Acked-by: Stafford Horne <shorne@gmail.com> [openrisc]
> > Acked-by: Will Deacon <will.deacon@arm.com> [arm64]
> > Acked-by: Vineet Gupta <vgupta@synopsys.com> #arch/arc bits
> > ---
> > 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 +++++
>
> Don't forget to add __IGNORE_getrlimit and __IGNORE_setrlimit to
> scripts/checksyscalls.sh, or you'll get warnings about missing syscalls.
>
> Cheers
> James
Hi James,
Thanks for the hint.
Yury
next prev parent reply other threads:[~2017-06-07 18:48 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-04 11:59 Yury Norov
2017-06-04 11:59 ` [PATCH 01/20] compat ABI: use non-compat openat and open_by_handle_at variants Yury Norov
2017-06-04 11:59 ` [PATCH 02/20] 32-bit ABI: introduce ARCH_32BIT_OFF_T config option Yury Norov
2017-06-08 15:09 ` Catalin Marinas
2017-06-13 11:04 ` Yury Norov
2017-06-14 12:31 ` Catalin Marinas
2017-06-04 11:59 ` [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list Yury Norov
2017-06-05 14:44 ` James Hogan
2017-06-07 18:48 ` Yury Norov [this message]
2017-06-04 11:59 ` [PATCH 04/20] arm64: ilp32: add documentation on the ILP32 ABI for ARM64 Yury Norov
2017-06-04 11:59 ` [PATCH 05/20] arm64: rename COMPAT to AARCH32_EL0 in Kconfig Yury Norov
2017-06-08 14:09 ` Catalin Marinas
2017-06-08 22:40 ` Yury Norov
2017-06-09 10:59 ` Catalin Marinas
2017-06-19 15:58 ` James Morse
2017-06-20 23:10 ` Yury Norov
2017-06-22 11:45 ` Yury Norov
2017-06-04 11:59 ` [PATCH 06/20] arm64: ensure the kernel is compiled for LP64 Yury Norov
2017-06-04 11:59 ` [PATCH 07/20] arm64:uapi: set __BITS_PER_LONG correctly for ILP32 and LP64 Yury Norov
2017-06-04 11:59 ` [PATCH 08/20] thread: move thread bits accessors to separated file Yury Norov
2017-06-04 11:59 ` [PATCH 09/20] arm64: introduce is_a32_task and is_a32_thread (for AArch32 compat) Yury Norov
2017-06-04 11:59 ` [PATCH 10/20] arm64: ilp32: add is_ilp32_compat_{task,thread} and TIF_32BIT_AARCH64 Yury Norov
2017-06-04 12:00 ` [PATCH 11/20] arm64: introduce binfmt_elf32.c Yury Norov
2017-06-04 12:00 ` [PATCH 12/20] arm64: ilp32: introduce binfmt_ilp32.c Yury Norov
2017-06-04 12:00 ` [PATCH 13/20] arm64: ilp32: share aarch32 syscall handlers Yury Norov
2017-06-08 14:10 ` Catalin Marinas
2017-06-08 14:28 ` Arnd Bergmann
2017-06-04 12:00 ` [PATCH 14/20] arm64: ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it Yury Norov
2017-06-08 15:05 ` James Morse
2017-06-09 7:06 ` Yury Norov
2017-06-04 12:00 ` [PATCH 15/20] arm64: signal: share lp64 signal routines to ilp32 Yury Norov
2017-06-04 12:00 ` [PATCH 16/20] arm64: signal32: move ilp32 and aarch32 common code to separated file Yury Norov
2017-06-19 16:16 ` James Morse
2017-06-20 14:16 ` Yury Norov
2017-06-04 12:00 ` [PATCH 17/20] arm64: ilp32: introduce ilp32-specific handlers for sigframe and ucontext Yury Norov
2017-06-04 12:00 ` [PATCH 18/20] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32 Yury Norov
2017-06-23 17:03 ` James Morse
2017-06-23 22:28 ` Yury Norov
2017-06-27 10:12 ` James Morse
2017-06-04 12:00 ` [PATCH 19/20] arm64:ilp32: add vdso-ilp32 and use for signal return Yury Norov
2017-06-08 15:24 ` Catalin Marinas
2017-06-08 23:06 ` Yury Norov
2017-06-04 12:00 ` [PATCH 20/20] arm64:ilp32: add ARM64_ILP32 to Kconfig Yury Norov
2017-06-14 20:16 ` your mail Yury Norov
[not found] <CAK8P3a1rXfrXotJa=mZf3cJu+WVWHKWjTMk8FA16xnkGvU0MmQ@mail.gmail.com>
2017-06-20 21:14 ` [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list Palmer Dabbelt
-- strict thread matches above, loose matches on Subject: below --
2017-06-19 15:49 [PATCH v8 00/20] ILP32 for ARM64 Yury Norov
2017-06-19 15:49 ` [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list Yury Norov
2017-03-01 19:19 [PATCH v7 resend 00/20] ILP32 for ARM64 Yury Norov
2017-03-01 19:19 ` [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list Yury Norov
2017-03-10 18:09 ` Will Deacon
2017-01-09 11:29 [PATCH v7 00/20] ILP32 for ARM64 Yury Norov
2017-01-09 11:29 ` [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list Yury Norov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170607184809.e4hmsvewkrmigmww@yury-thinkpad \
--to=ynorov@caviumnetworks.com \
--cc=Andrew.Pinski@caviumnetworks.com \
--cc=Nathan_Lynch@mentor.com \
--cc=Prasun.Kapoor@caviumnetworks.com \
--cc=a-jacquiot@ti.com \
--cc=agraf@suse.de \
--cc=arnd@arndb.de \
--cc=bamvor.zhangjian@huawei.com \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=christoph.muellner@theobroma-systems.com \
--cc=cmetcalf@ezchip.com \
--cc=cmetcalf@mellanox.com \
--cc=davem@davemloft.net \
--cc=fweimer@redhat.com \
--cc=geert@linux-m68k.org \
--cc=gxt@mprc.pku.edu.cn \
--cc=heiko.carstens@de.ibm.com \
--cc=james.hogan@imgtec.com \
--cc=jonas@southpole.se \
--cc=joseph@codesourcery.com \
--cc=kilobyte@angband.pl \
--cc=klimov.linux@gmail.com \
--cc=lennox.wu@gmail.com \
--cc=lftan@altera.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-c6x-dev@linux-c6x.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hexagon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-metag@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=linux@lists.openrisc.net \
--cc=linyongting@huawei.com \
--cc=liqin.linux@gmail.com \
--cc=manuel.montezelo@gmail.com \
--cc=maxim.kuvyrkov@linaro.org \
--cc=msalter@redhat.com \
--cc=nios2-dev@lists.rocketboards.org \
--cc=philipp.tomsich@theobroma-systems.com \
--cc=pinskia@gmail.com \
--cc=ramana.gcc@googlemail.com \
--cc=rkuo@codeaurora.org \
--cc=schwab@suse.de \
--cc=schwidefsky@de.ibm.com \
--cc=sellcey@caviumnetworks.com \
--cc=szabolcs.nagy@arm.com \
--cc=uclinux-h8-devel@lists.sourceforge.jp \
--cc=will.deacon@arm.com \
--cc=ysato@users.sourceforge.jp \
--cc=zhouchengming1@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).