Greetings all, I'm trying to be good and not include userland headers in my NKE. In the process I found in Apple's Kernel Programming pdf information about how to do locks correctly in the kernel. It says one should use mutexes and proceeds to describe functions like mutex_alloc(). That all makes sense. Except for one thing. It says these headers should be in <kern/lock.h> or xnu/osfmk/kern/lock.h. But I don't have either of these files and I'm using a standard 10.2.1, it's dev tools installed plus the August update. (I have a <sys/lock.h> but it looks much lower-level than the API described in the PDF.) Is that not a complete setup for doing NKEs? Do I need to download something else, possibly from the Darwin repository)? If so, what (and what tag) would ensure I get files compatible with Apple's released kernels? I've also noted that KNE samples (NKEMgr, SharedIP and TCPLogger) also don't compile due to missing system headers. Thanks, Mike _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.