NetBSD-Bugs archive

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

Re: lib/53125: sys/timevar.h is absent in installed systems.



The following reply was made to PR lib/53125; it has been noted by GNATS.

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: Utkarsh Anand <utkarsh009%yandex.com@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>,
        "lib-bug-people%netbsd.org@localhost" <lib-bug-people%netbsd.org@localhost>,
        "gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>,
        "netbsd-bugs%netbsd.org@localhost" <netbsd-bugs%netbsd.org@localhost>
Subject: Re: lib/53125: sys/timevar.h is absent in installed systems.
Date: Sat, 24 Mar 2018 17:28:34 +0100

 On Sat, Mar 24, 2018 at 04:47:24PM +0530, Utkarsh Anand wrote:
 > 
 > >  Why do you want to do this ? _KERNEL code is not available to userland
 > If this builds, I wouldn't need to define _KERNEL:
 > 
 > #define _KMEMUSER
 > #include <uvm/uvm_map.h>
 > int main(){
 >     return 0;
 > }
 
 You still don't explain what you want to do. _KMEMUSER use is restricted
 even in the kernel, it's in no way designed to be used in userland.
 
 -- 
 Manuel Bouyer <bouyer%antioche.eu.org@localhost>
      NetBSD: 26 ans d'experience feront toujours la difference
 --
 


Home | Main Index | Thread Index | Old Index