[PATCH] Finish the task 'sysctl reporting current working directory'

Konstantin Belousov kostikbel at gmail.com
Mon Nov 3 09:09:48 UTC 2014


On Mon, Nov 03, 2014 at 09:41:29AM +0100, Mateusz Guzik wrote:
> On Mon, Nov 03, 2014 at 04:14:06PM +0800, Julian Elischer wrote:
> > why are you using a fixed sysctl MIB number?
> > I thought we were moving towards dynamic sysctls when we add new ones.
> > 
> 
> We are? KERN_PROC_* seems to be a complete list with SIGTRAMP added last
> year.
> 
> I guess we can do it with OID_AUTO, if there will be any need we can
> switch it back to a static var.

I am very curious how would you make kern.proc.cwd auto, while
still using kern.proc leaf.  And more important question is, why ?


More information about the freebsd-hackers mailing list