On Wed, Nov 12, 2003 at 04:03:41PM -0800, David S. Miller wrote: > On Wed, 12 Nov 2003 18:05:08 -0600 > Otto Solares <[EMAIL PROTECTED]> wrote: > > > does this make sense?, i put a printf inside the syscall number decoding > > but maybe its wrong, if write is syscall nr. 4 its right i guess. > > > > syscall number: 234 > > nis_syscall(0x292b0, 0x58) = -1 EINVAL (Invalid argument) > > syscall number: 4 > > write(2, "df: ", 4df: ) = 4 > > Perfect, that's exactly what I needed. Thanks! > > System call 234 is sys_statfs64 > > sys_statfs64() returns -EINVAL if the second argument is not > equal to sizeof(struct statfs64). > > The correct value should be 120 (or 0x78 in hex), but 88 (0x58 in > hex) is what is being passed in here. > > It seems that struct statfs64 is not correct in the sparc/sparc64 > glibc sources. Ben can you go check this out?
Hopefully glibc's statfs64 does not depend on kernel 2.4. -solca

