Subject: Re: new sysctl(KERN_PROC, ...) interface (was: sysinfo(2))
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 04/18/2000 21:06:13
Darren Reed wrote:

> Just one thing.  If we're passing back "sanitized data", then things
> like pointers should be missing, leaving only fixed size things.  Is
> there something for which we *must* pass a pointer back, given that
> it is `meaningless' in user-space anyway ?

Agreed that they're mostly useless.

The main reason is because ps(1) uses some of them for display purposes.
Don't you have a truck load of shell scripts around that do

	ps -axo sess,tsess,nwchan,ucomm

?  I didn't want to break them :-)

Simon.