In the KLD "load" make target, don't load using the "absolute" path of
"./foo.ko". Use "/full/path/foo.ko" instead so that when the path is reported as being an absolute path to the "shared library", at least it's not really a relative path. Obtained from: LOMAC/FreeBSD project
This commit is contained in:
parent
5972d8df5b
commit
46877fb22c
@ -257,7 +257,7 @@ distribute: _SUBDIR
|
||||
|
||||
.if !target(load)
|
||||
load: ${PROG}
|
||||
${KMODLOAD} -v ./${KMOD}.ko
|
||||
${KMODLOAD} -v ${.CURDIR}/${KMOD}.ko
|
||||
.endif
|
||||
|
||||
.if !target(unload)
|
||||
|
Loading…
Reference in New Issue
Block a user