Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2007 19:20:11 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 116691 for review
Message-ID:  <200703271920.l2RJKBdR059440@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=116691

Change 116691 by hselasky@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;



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