From nobody@FreeBSD.ORG  Tue May  9 12:07:07 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 847CE37BEDD; Tue,  9 May 2000 12:07:07 -0700 (PDT)
Message-Id: <20000509190707.847CE37BEDD@hub.freebsd.org>
Date: Tue,  9 May 2000 12:07:07 -0700 (PDT)
From: gelderen@systemics.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Bug in CCD's module event handler.
X-Send-Pr-Version: www-1.0

>Number:         18473
>Category:       kern
>Synopsis:       Bug in CCD's module event handler.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 09 12:10:01 PDT 2000
>Closed-Date:    Fri Nov 16 16:46:27 PST 2001
>Last-Modified:  Fri Nov 16 16:46:47 PST 2001
>Originator:     Jeroen C. van Gelderen
>Release:        -CURRENT
>Organization:
>Environment:
n/a
>Description:
The module event handler in the CCD module returns OK for event 
codes it does not understand. When new event codes are added in
the future, the kernel will incorrectly believe that the module
has handled these correctly and potentially make false assumptions
regarding the module's state.
>How-To-Repeat:

>Fix:
Return EOPNOTSUPP for events that are not known:

http://jeroen.vangelderen.org/FreeBSD/ccd.diff

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Fri Nov 16 16:46:27 PST 2001 
State-Changed-Why:  

Committed, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18473 
>Unformatted:
