* Kevin Kofler via devel:

> Unfortunately, the fix is more complicated than that. It is really not
> helpful behavior from glibc to use the fstatat syscall to implement fstat.
> (What is the benefit of doing that?)

The fstat/fstat64 system call does not exist on arc and riscv/rv32.
glibc tries to consolidate the implementations as far as possible, so if
the kernel deprecates a system call and the replacement is already
supported by all architectures, glibc uses that, rather than maintaing
architecture-specific code to call the earliest possible implemented
system call.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to