Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 2014 16:14:06 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Tiwei Bie <btw@mail.ustc.edu.cn>, Mateusz Guzik <mjguzik@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] Finish the task 'sysctl reporting current working directory'
Message-ID:  <5457394E.4050905@freebsd.org>
In-Reply-To: <20141103064052.GA1739@freebsd>
References:  <1414987325-23280-1-git-send-email-btw@mail.ustc.edu.cn> <20141103051908.GC29497@dft-labs.eu> <20141103064052.GA1739@freebsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/3/14, 2:40 PM, Tiwei Bie wrote:
> On Mon, Nov 03, 2014 at 06:19:08AM +0100, Mateusz Guzik wrote:
>> On Mon, Nov 03, 2014 at 12:02:05PM +0800, Tiwei Bie wrote:
>>
>>> @@ -657,6 +657,7 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_entry);
>>>   #define	KERN_PROC_UMASK		39	/* process umask */
>>>   #define	KERN_PROC_OSREL		40	/* osreldate for process binary */
>>>   #define	KERN_PROC_SIGTRAMP	41	/* signal trampoline location */
>>> +#define	KERN_PROC_CWD		42	/* process current working directory */
>>>   
>>>
why are you using a fixed sysctl MIB number?
I thought we were moving towards dynamic sysctls when we add new ones.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5457394E.4050905>