Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libkvm



On Wed, Feb 07, 2007 at 02:19:05PM +1100, Simon Burge wrote:
> 
>       /*
>        * This file contains a private definition for 'struct kauth_cred'
>        * that must only be used by kern/kern_auth.c and kmem grovellers
>        * like ps(1).
>        */
> 
>       #ifdef _KAUTH_CRED_PRIVATE
>       struct kauth_cred {
>               ...
>       }
>       #endif /* _KAUTH_CRED_PRIVATE */

Actually there is a more general point that maybe we should use
        #ifdef NETBSD_KMEM_USER
        ....
        #endif
for stuff in kernel headers that normal kmem grovellers access.
Rather than have any userspace stuff compiled with _KERNEL defined.

        David

-- 
David Laight: david%l8s.co.uk@localhost



Home | Main Index | Thread Index | Old Index