HEADS-UP new statfs structure condidered harmful
tlambert2 at mindspring.com
Sat Nov 15 15:44:23 PST 2003
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"?
More information about the freebsd-current