Bug 18473

Summary: Bug in CCD's module event handler.
Product: Base System Reporter: gelderen <gelderen>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description gelderen 2000-05-09 20:10:01 UTC
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.

Fix: 

Return EOPNOTSUPP for events that are not known:

http://jeroen.vangelderen.org/FreeBSD/ccd.diff
Comment 1 iedowse freebsd_committer freebsd_triage 2001-11-17 00:46:27 UTC
State Changed
From-To: open->closed


Committed, thanks!