Re: [PATCH v3] asm-generic ABI: Allow statx syscall despite fstatat64, fstat64

2020-02-25 Thread Vineet Gupta
On 2/25/20 8:10 AM, Joseph Myers wrote: > On Mon, 24 Feb 2020, Vineet Gupta wrote: > >> Oh wait. Can we avoid this churn by simply undef __NR_fstat64 and >> __NR_fstatat64 >> from ARC sysdep.h ? And it will then automatically fallback to statx code ! > > If all files needing this information incl

Re: [PATCH v3] asm-generic ABI: Allow statx syscall despite fstatat64, fstat64

2020-02-25 Thread Joseph Myers
On Mon, 24 Feb 2020, Vineet Gupta wrote: > Oh wait. Can we avoid this churn by simply undef __NR_fstat64 and > __NR_fstatat64 > from ARC sysdep.h ? And it will then automatically fallback to statx code ! If all files needing this information include sysdep.h, that might well work. -- Joseph S

Re: [PATCH v3] asm-generic ABI: Allow statx syscall despite fstatat64, fstat64

2020-02-24 Thread Vineet Gupta
On 2/24/20 4:29 PM, Vineet Gupta wrote: > An old version of asm-generic syscall ABI (e.g. ARC 2013) provided > fstat[at]64 syscalls for implementing the stat family. > > These sycalls are passthru (no interworking/itemized-copy needed > between kernel and user structs since they are binary comapti