Subject: Re: CVS commit: basesrc
To: None <>
From: Bill Studenmund <>
List: tech-kern
Date: 07/09/1999 16:03:40
On Fri, 9 Jul 1999, Matthias Drochner wrote:

> said:
> > it seems that we need some new preprocessor symbol to deal with this,
> > such as `_KERNEL_FROM_USERLAND' which basically means to not include
> > opt_xxx.h files, and any userland code that wants to #define _KERNEL
> > must also define this.
> I'd prefer it the other way: define a cpp symbol like
> "__EXPOSE_UFS_INTERNALS" from userland instead of _KERNEL, so we
> can control what gets exported from the system headers.
> (see sys/pool.h)

I like this idea better. If we need to expose something to userland, then
we do so explicitly.

Take care,