kern/69502: kldload will load modules that are in the static kernel
Brooks Davis
brooks at FreeBSD.org
Fri Jul 23 12:10:23 PDT 2004
>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 at 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:
More information about the freebsd-bugs
mailing list