Re: [PATCH] syscalls: Update the syscall #defines to match uapi
From: Alistair Francis
Date: Sun Aug 11 2019 - 23:04:54 EST
On Sun, Aug 11, 2019 at 5:00 PM Andy Lutomirski <luto@xxxxxxxxxx> wrote:
>
> On Fri, Aug 9, 2019 at 6:11 PM Alistair Francis
> <alistair.francis@xxxxxxx> wrote:
> >
> > Update the #defines around sys_fstat64() and sys_fstatat64() to match
> > the #defines around the __NR3264_fstatat and __NR3264_fstat definitions
> > in include/uapi/asm-generic/unistd.h. This avoids compiler failures if
> > one is defined.
>
> What do you mean by "if one is defined"?
Yeah, I guess that isn't clear. What I mean is that if
__ARCH_WANT_NEW_STAT is defined but __ARCH_WANT_STAT64 isn't currently
it will fail to build.
>
> The patch seems like it's probably okay, but I can't understand the changelog.
I can send a v2 with an updated commit message.
Alistair
>
> --Andy