cvs commit: src/sys/sys sysctl.h

John Baldwin jhb at FreeBSD.org
Tue Oct 21 12:43:07 PDT 2003


On 21-Oct-2003 Mike Silbersack wrote:
> silby       2003/10/21 09:48:33 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/sys              sysctl.h 
>   Log:
>   Add another sysctl flag, CTLFLAG_TUN, which is a hint to the userland
>   sysctl that a given variable is tunable.
>   
>   Also added is CTLFLAG_RDTUN, which is CTLFLAG_RD|CTLFLAG_TUN; TUN does
>   not always imply read-only, so RDTUN should be used where RD was used
>   before.

Why have a RDTUN special case flag?  You can just add CTLFLAG_TUN to the
appropriate places.  The TUN flag seems somewhat dubious as well for
that matter.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the cvs-src mailing list