[PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list

Vineet Gupta vgupta at synopsys.com
Sun Oct 23 13:57:27 PDT 2016


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 <vgupta at synopsys.com>

Acked-by: Vineet Gupta <vgupta at synopsys.com> #arch/arc bits

Thx,
-Vineet



More information about the linux-arm-kernel mailing list