On Wed, Jun 10, 2026 at 4:39 PM Arnd Bergmann <[email protected]> wrote:
>
> On Wed, Jun 10, 2026, at 20:13, Steve Grubb wrote:
> > On Wednesday, June 10, 2026 1:40:47 PM Eastern Daylight Time Ricardo Robaina
> > wrote:
>
> >> > scripts/syscall.tbl:79  stat64  fstatat64
> >> > sys_fstatat64 scripts/syscall.tbl:80  stat64  fstat64
> >> >      sys_fstat64 arch/x86/entry/syscalls/syscall_32.tbl:18       i386
> >> > oldstat                 sys_stat
> >> > arch/x86/entry/syscalls/syscall_32.tbl:28       i386    oldfstat
> >> >        sys_fstat arch/x86/entry/syscalls/syscall_32.tbl:84       i386
> >> > oldlstat                sys_lstat
> >> > arch/x86/entry/syscalls/syscall_32.tbl:195      i386    stat64
> >> >        sys_stat64                      compat_sys_ia32_stat64
> >> > arch/x86/entry/syscalls/syscall_32.tbl:196      i386    lstat64
> >> >        sys_lstat64                     compat_sys_ia32_lstat64
> >> > arch/x86/entry/syscalls/syscall_32.tbl:197      i386    fstat64
> >> >        sys_fstat64                     compat_sys_ia32_fstat64
> >> > arch/x86/entry/syscalls/syscall_32.tbl:300      i386    fstatat64
> >> >        sys_fstatat64                   compat_sys_ia32_fstatat64
> >> > arch/alpha/kernel/syscalls/syscall.tbl:224      common  osf_stat
> >> >                sys_osf_stat arch/alpha/kernel/syscalls/syscall.tbl:225
> >> >    common  osf_lstat                       sys_osf_lstat
> >> > arch/alpha/kernel/syscalls/syscall.tbl:226      common  osf_fstat
> >> >                sys_osf_fstat
> >> Hi Arnd,
> >>
> >> Thanks for reviewing this patch! You're right, it seems all these stat
> >> variants should be added as well. Steve and Paul, correct me if I'm
> >> wrong here, please.
> >
> > Alpha is unsupported. Those are True64 compatibility syscalls. You can
> > include it and #ifdef will filter it everywhere else.  But, yeah. I guess 
> > the
> > rest are ok. I don't pay much attention to the 32 bit arches.
>
> Ah, indeed. I assumed that these were part of the syscalls that
> originally came from osf1 but are still used on Linux systems,
> but it appears that the stat family was never used like that
> with glibc.
>
> The oldstat family is actually in a similar category, as those
> were only used on libc5 or earlier. stat64 is definitely
> still needed on 32-bit userspace with 32-bit time_t.
>
>      Arnd
>

Thanks for the context, Arnd and Steve. I'll append just stat64,
lstat64, fstat64 and fstatat64 to the v2 I'm about to send, then.

Please let me know if there's anything else to adjust.

-Ricardo


Reply via email to