Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 1999 16:00:46 -0700 (PDT)
From:      aron@cs.rice.edu
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/11919: kldload doesn't return error on loading a module multiple times
Message-ID:  <19990528230046.7524A150F3@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         11919
>Category:       kern
>Synopsis:       kldload doesn't return error on loading a module multiple times
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 28 16:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Mohit Aron
>Release:        FreeBSD-3.2-Release
>Organization:
Rice University
>Environment:
FreeBSD luzern.cs.rice.edu 3.2-RELEASE FreeBSD 3.2-RELEASE #2: Fri May 28 15:22:48 CDT 1999     aron@luzern.cs.rice.edu:/usr/src/sys/compile/LUZERN  i386
>Description:
kldload doesn't return an error when a module is loaded multiple times.
On the other hand it permits the module to be loaded multiple times.
This can lead to severe problems when by mistake some module is loaded
multiple times while development. The old lkm interface used to report
an error when a module was tried to be loaded multiple times.
>How-To-Repeat:
Compile the syscall example in /usr/share/examples/kld/syscall. Issue
'make load' multiple times.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990528230046.7524A150F3>