Subject: Re: building a userland interface to a kernel structure
To: dustin sallings <>
From: David Maxwell <>
List: current-users
Date: 01/12/1999 11:31:59
On Tue, Jan 12, 1999 at 12:08:25AM -0800, dustin sallings wrote:
> 	For a kernel modification I'm doing, I need to be able to build
> and maintain a simple array of (arrays|hashes|linked lists) from a
> userland process.
> 	I don't have the slightest idea where to put this in the kernel,
> what to name it, or how to interface it.  Can someone give me an idea?

I'll tag onto this message and ask... I'd like to write a userland program
which can read the kernel disklist linked list. I've looked into the 
kernel memory syscalls in a fair amount of detail, and looked at some
examples in the tree, but I can't find anything in the tree that
reads _structures_ from the kernel, just simple variables. I haven't
been able to make my code work.

David Maxwell,| --> Mastery of UNIX, like
mastery of language, offers real freedom. The price of freedom is always dear,
but there's no substitute. Personally, I'd rather pay for my freedom than live
in a bitmapped, pop-up-happy dungeon like NT. - Thomas Scoville