Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2003 15:44:00 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADS-UP new statfs structure condidered harmful
Message-ID:  <3FB6BA40.6B7B2FD8@mindspring.com>
References:  <200311121855.hACItAaG006605@beastie.mckusick.com> <200311152159.hAFLx2mQ074474@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FB6BA40.6B7B2FD8>