Test version of glibc 2.3.5-10, kfreebsd-amd64

Aurelien Jarno aurelien at aurel32.net
Mon Jan 2 16:02:11 UTC 2006


Petr Salinger a écrit :
>>>We don't have to break ABI at all.
>>>Kernel structure don't have to be the same as user structure.
>>>
>>>In 2.3.0, user structure statfs is the same as in kernel,
>>>but statfs64 is different -> conversion is needed anyway.
>>
>>Yes, it's exactly what I have done for statfs, fhstatfs and fstatfs, 
>>however, have a look at getfsstat64.c. You will see that the conversion 
>>is not so tricky, it uses the fact that sizeof(statfs64) > 
>>sizeof(statfs). This is not the case in our case, so it is not that easy 
>>to do the conversion. 
> 
> 
> Here is my patch, can you give a look on it ?
> 

Oh, we are not doing the same thing, that's why we don't understand each 
other.

If I am write, you are trying to use new syscalls instead of the old 
one, while I am in addition trying to export the new statfs structure to 
the userspace land...

-- 
   .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
  : :' :  Debian developer           | Electrical Engineer
  `. `'   aurel32 at debian.org         | aurelien at aurel32.net
    `-    people.debian.org/~aurel32 | www.aurel32.net



More information about the Glibc-bsd-devel mailing list