]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the consumers of the linker_load_file() function use
authormux <mux@FreeBSD.org>
Fri, 2 Aug 2002 20:56:07 +0000 (20:56 +0000)
committermux <mux@FreeBSD.org>
Fri, 2 Aug 2002 20:56:07 +0000 (20:56 +0000)
commita7c11c91eb4e5af89d477fbb8bfd9b7a5d42eaa7
tree97627424d15db9766ee1cd606cc49762644c096f
parent1bd16d78e2a55104eb99d69e442460fe637caab9
Make the consumers of the linker_load_file() function use
linker_load_module() instead.

This fixes a bug where the kernel was unable to properly locate and
load a kernel module in vfs_mount() (and probably in the netgraph
code as well since it was using the same function).  This is because
the linker_load_file() does not properly search the module path.

Problem found by: peter
Reviewed by: peter
Thanks to: peter
sys/kern/kern_linker.c
sys/kern/vfs_mount.c
sys/netgraph/ng_base.c
sys/sys/linker.h