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 <[email protected]>
> > Cc: James Hogan <[email protected]>
> > Cc: [email protected]
> > Cc: [email protected]
> > Cc: Catalin Marinas <[email protected]>
> > Cc: Will Deacon <[email protected]>
> > Cc: [email protected]
> > Cc: Mark Salter <[email protected]>
> > Cc: Aurelien Jacquiot <[email protected]>
> > Cc: [email protected]
> > Cc: Richard Kuo <[email protected]>
> > Cc: [email protected]
> > Cc: [email protected]
> > Cc: Jonas Bonn <[email protected]>
> > Cc: [email protected]
> > Cc: Chen Liqin <[email protected]>
> > Cc: Lennox Wu <[email protected]>
> > Cc: Chris Metcalf <[email protected]>
> > Cc: Guan Xuetao <[email protected]>
> > Cc: Ley Foon Tan <[email protected]>
> > Cc: [email protected]
> > Cc: Yoshinori Sato <[email protected]>
> > Cc: [email protected]
> > Signed-off-by: Yury Norov <[email protected]>
> > Acked-by: Arnd Bergmann <[email protected]>
> > Acked-by: Mark Salter <[email protected]> [c6x]
> > Acked-by: James Hogan <[email protected]> [metag]
> > Acked-by: Ley Foon Tan <[email protected]> [nios2]
> > Acked-by: Stafford Horne <[email protected]> [openrisc]
> > Acked-by: Will Deacon <[email protected]> [arm64]
> > Acked-by: Vineet Gupta <[email protected]> #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

Reply via email to