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
a8d2038f4e
commit
8e45ccc166
@ -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