fstatat is broke

Timo Teräs timo.teras at iki.fi
Sun Sep 6 13:40:00 UTC 2009

Hi all,

I'm using the *at stuff and noticed that fstatat is broke.
fstatat is a bit different since that syscall is not really

Glibc makes fstatat do fstatat64 syscall and converts the
struct kernel_stat64 to struct stat. I think that is what
was also intended in uclibc case, but someone left the work
halfway. Now it badly uses struct kernel_stat with fstatat64
syscall. We need to use the struct kernel_stat64 and implement
the new conversion case.

- Timo

More information about the uClibc mailing list