Subject: Re: Including sys/systm.h in lkms
To: John Birrell <>
From: Michael Graff <>
List: tech-kern
Date: 11/28/1996 10:14:19
John Birrell <> writes:

> I first started doing this on a system that didn't have sources, so
> it wasn't just a matter of -I/usr/src/sys or -I/sys. I had to go get
> the source for /usr/src/sys/lib/libkern/libkern.h. This appears
> broken IMHO. I think I should be able to compile lkms on an installed
> system. A send-pr?

FreeBSD put libkern.h in /sys n fact.  I wondered why...  That must
be it.

> Another thing that's a bit sub-optimal is that the function prototypes
> for lkmexists and lkmdispatch are only in /usr/src/sys/kern/kern_lkm.c.
> I need to call them. Don't they belong in sys/lkm.h? Another send-pr?

The whole LKM system needs a rework...