PERFORCE change 116691 for review

Hans Petter Selasky hselasky at FreeBSD.org
Tue Mar 27 19:20:12 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=116691

Change 116691 by hselasky at hselasky_mini_itx on 2007/03/27 19:19:24

	Patch to allow F_SETFL ioctl which uses the FIOASYNC ioctl.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/ugen.c#11 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/ugen.c#11 (text+ko) ====

@@ -1631,6 +1631,9 @@
 	}
 
 	switch (cmd) {
+	case FIOASYNC:
+		if (*(int *)addr)
+			error = EINVAL;
 	case FIONBIO:
 		/* all handled in the upper FS layer */
 		goto done;


More information about the p4-projects mailing list