Re: HEADS-UP new statfs structure condidered harmful

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Sat, 15 Nov 2003 15:44:00 -0800
Matthew Dillon wrote:
>     I recommend that instead of rolling these sorts of system calls over
>     and over again (how many versions of stat do we have now?  A lot!),
>     that instead you make a system call which returns a capability buffer
>     and then have libc load the capabilities it understands into the
>     structure.  That way you don't have to worry about forwards and
>     backwards kernel compatibility.
> 
>     This is what I plan to do with DragonFly for *stat(), *statfs*(),
>     various sysctls that return structures, and so forth.  Wherever it makes
>     sense to do it.

How do you propose to achieve POSIX compliance?  At the library
level?  Or "not at all"?

-- Terry
Received on Sat Nov 15 2003 - 14:44:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC