From: will.deacon@arm.com (Will Deacon)
To: linux-snps-arc@lists.infradead.org
Subject: [PATCH 03/20] asm-generic: Drop getrlimit and setrlimit syscalls from default list
Date: Fri, 10 Mar 2017 18:09:39 +0000 [thread overview]
Message-ID: <20170310180938.GG18894@arm.com> (raw)
In-Reply-To: <1488395968-14313-4-git-send-email-ynorov@caviumnetworks.com>
On Thu, Mar 02, 2017@12:49:11AM +0530, 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 at arndb.de>
> Cc: James Hogan <james.hogan at imgtec.com>
> Cc: linux-arch at vger.kernel.org
> Cc: linux-snps-arc at lists.infradead.org
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: Mark Salter <msalter at redhat.com>
> Cc: Aurelien Jacquiot <a-jacquiot at ti.com>
> Cc: linux-c6x-dev at linux-c6x.org
> Cc: Richard Kuo <rkuo at codeaurora.org>
> Cc: linux-hexagon at vger.kernel.org
> Cc: linux-metag at vger.kernel.org
> Cc: Jonas Bonn <jonas at southpole.se>
> Cc: linux at lists.openrisc.net
> Cc: Chen Liqin <liqin.linux at gmail.com>
> Cc: Lennox Wu <lennox.wu at gmail.com>
> Cc: Chris Metcalf <cmetcalf at mellanox.com>
> Cc: Guan Xuetao <gxt at mprc.pku.edu.cn>
> Cc: Ley Foon Tan <lftan at altera.com>
> Cc: nios2-dev at lists.rocketboards.org
> Cc: Yoshinori Sato <ysato at users.sourceforge.jp>
> Cc: uclinux-h8-devel at lists.sourceforge.jp
> Acked-by: Arnd Bergmann <arnd at arndb.de>
> Acked-by: Mark Salter <msalter at redhat.com> [c6x]
> Acked-by: James Hogan <james.hogan at imgtec.com> [metag]
> Acked-by: Ley Foon Tan <lftan at altera.com> [nios2]
> Acked-by: Stafford Horne <shorne at gmail.com> [openrisc]
> Acked-by: Vineet Gupta <vgupta at synopsys.com> #arch/arc bits
> Signed-off-by: Yury Norov <ynorov at caviumnetworks.com>
> ---
> 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 the arm64 part:
Acked-by: Will Deacon <will.deacon at arm.com>
Will
next prev parent reply other threads:[~2017-03-10 18:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1488395968-14313-1-git-send-email-ynorov@caviumnetworks.com>
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 [this message]
[not found] <20170619155003.13218-1-ynorov@caviumnetworks.com>
2017-06-19 15:49 ` Yury Norov
2017-06-19 21:42 ` James Hogan
2017-06-19 21:58 ` Arnd Bergmann
2017-06-19 22:10 ` James Hogan
2017-06-20 13:37 ` Yury Norov
2017-06-20 14:20 ` Arnd Bergmann
2017-06-20 14:54 ` Yury Norov
2017-06-20 15:27 ` Arnd Bergmann
2017-06-20 14:36 ` Yury Norov
2017-06-20 14:42 ` Yury Norov
[not found] <20170604120009.342-1-ynorov@caviumnetworks.com>
2017-06-04 11:59 ` Yury Norov
2017-06-05 14:44 ` James Hogan
2017-06-07 18:48 ` Yury Norov
[not found] <1483961397-8599-1-git-send-email-ynorov@caviumnetworks.com>
2017-01-09 11:29 ` Yury Norov
2017-01-13 2:51 ` Xuetao Guan
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=20170310180938.GG18894@arm.com \
--to=will.deacon@arm.com \
--cc=linux-snps-arc@lists.infradead.org \
/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