Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2002 19:21:24 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern kern_proc.c src/sys/sys systm.h
Message-ID:  <20020908192024.N2381-100000@gamplex.bde.org>
In-Reply-To: <200209072211.g87MBjQB089741@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Sep 2002, Peter Wemm wrote:

> peter       2002/09/07 15:11:45 PDT
>
>   Modified files:
>     sys/kern             kern_proc.c
>     sys/sys              systm.h
>   Log:
>   Make UAREA_PAGES and KSTACK_PAGES visible to userland via sysctl, like
>   PS_STRINGS and USRSTACK is.  This is necessary in order to decode a.out
>   core dumps.  kern_proc.c was already referring to both of these values
>   but was missing the #include "opt_kstack_pages.h".  Make the sysctl
>   variables visible so that certain kld modules can see how their parent
>   kernel was configured.

Please do something to make the original macros inaccessible so that they
can't be used inadvertantly or advertantly (if you haven't already).
Many other things in <*/param.h> that are actually parameters need this
treatment.  A sysctl call (not just a variable) may be the best way to
get the parameters even in modules.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020908192024.N2381-100000>