Subject: CVS commit: src/sys/dev/vinum
To: None <source-changes@NetBSD.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 09/17/2004 19:21:03
Module Name: src
Committed By: jdolecek
Date: Fri Sep 17 19:21:03 UTC 2004
Modified Files:
src/sys/dev/vinum: vinumioctl.c
Log Message:
vinum_super_ioctl(): refuse unknown ioctls, rather than pretending
success; this fixes panic caused by null pointer dereference in
spec_open() after DIOCGPART ioctl call and PR bin/26981 by Simon Hitzemann
while here, also remove not reachable return statements, and also
return EINVAL for ioctl to unknown DEVTYPE()s
XXX vinum code is !@#$%^
To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 src/sys/dev/vinum/vinumioctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.