Subject: Re: Replacing the sysctl() interface.
To: None <lukem@cs.rmit.edu.au>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-kern
Date: 06/09/2000 09:54:29
In some email I received from Luke Mewburn, sie wrote:
> Eduardo Horvath writes:
> > On Wed, 7 Jun 2000, Luke Mewburn wrote:
> > 
> > > Simon Burge writes:
> > > > That's a rough summary, I'll see if I can dig up some of our notes
> > > > on it.
> > > 
> > > Here's those said notes.
> > > 
> > > Note that these were just a work in progress `idea after a couple of
> > > beers at a pub' type thing. [And it shows ;]
> > 
> > O.K.  How do you handle type conversions needed by the required by the
> > current emulation when copying in/out of userland?
> 
> no idea.  i *did* say they were a work in progress...
> 
> given that the idea supports explicit sizes for stuff like int32 and
> int64, i would think that that would have made it easier...

What about if you use sysctl() to get file information (KERN_FILE), or
any other situation where an opaque structure is involved ?

Essentially, each of these need to have their own `conversion' function.

Darren