Date: Fri, 2 Aug 2002 13:56:07 -0700 (PDT) From: Maxime Henrion <mux@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_linker.c vfs_mount.c src/sys/sys linker.h src/sys/netgraph ng_base.c Message-ID: <200208022056.g72Ku7Jb003446@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2002/08/02 13:56:07 PDT
Modified files:
sys/kern kern_linker.c vfs_mount.c
sys/sys linker.h
sys/netgraph ng_base.c
Log:
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
Revision Changes Path
1.93 +2 -5 src/sys/kern/kern_linker.c
1.81 +2 -2 src/sys/kern/vfs_mount.c
1.63 +1 -1 src/sys/netgraph/ng_base.c
1.31 +4 -2 src/sys/sys/linker.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208022056.g72Ku7Jb003446>
