Graeme Smecher wrote:
I've just tracked down a header mismatch that causes stack corruption
on Petalinux releases v0.20-rc3 and v0.30-rc1. The fstat64() syscall
relies on coherent headers between the kernel and userspace, but they
appear to be out-of-sync.
The original message was a bit terse. Here's a bit of clarification, in
case it helps:
* This bug affects newlib as well as uClibc.
* It affects fstat() as well as fstat64(), since one maps to the other.
* A quick glance suggests it affects both 2.4.x and 2.6.x kernels.