Re: [PATCH v2] generic syscalls: Wire up statx syscall

From: Arnd Bergmann
Date: Thu Mar 16 2017 - 05:48:50 EST


On Wed, Mar 15, 2017 at 11:26 PM, James Hogan <james.hogan@xxxxxxxxxx> wrote:
> On 13 March 2017 at 14:45, Stafford Horne <shorne@xxxxxxxxx> wrote:

>> #undef __NR_syscalls
>> -#define __NR_syscalls 291
>> +#define __NR_syscalls 292
>
> Out of interest, anybody know OTOH which other stat syscalls statx
> supersedes (such that they could at some point be disabled by default
> in asm-generic for new arches, and implemented in userspace)?

It should replace the entire stat family {old,new,}{f,}stat{at,}{64,}, but not
the {f,}statfs{64,} family, which will eventually get another replacement.

Arnd