Date: Fri, 23 Jul 2004 19:05:22 GMT From: Brooks Davis <brooks@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/69502: kldload will load modules that are in the static kernel Message-ID: <200407231905.i6NJ5M20047221@freefall.freebsd.org> Resent-Message-ID: <200407231910.i6NJAMRK050882@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69502 >Category: kern >Synopsis: kldload will load modules that are in the static kernel >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 23 19:10:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Brooks Davis >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD minya 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Jul 16 09:09:10 PDT 2004 brooks@minya:/usr/obj/home/brooks/working/freebsd/p4/cleanup/sys/MINYA i386 >Description: It is possiable to compile a module such as tun into the kernel and then load it with kldload. I'm not sure which on actually gets run if you create a module. We should either forbid this or treat static modules just like dynamic ones and allow them to be unloaded and replaced with another module. >How-To-Repeat: Compile "device tun" into your kernel. Then run "kldload if_tun". Similar problems presumably exist with other modules. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407231905.i6NJ5M20047221>
