From owner-p4-projects@FreeBSD.ORG Tue Mar 27 19:20:12 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3AB6216A403; Tue, 27 Mar 2007 19:20:12 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2D1916A402 for ; Tue, 27 Mar 2007 19:20:11 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C9F8D13C457 for ; Tue, 27 Mar 2007 19:20:11 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2RJKBw2059458 for ; Tue, 27 Mar 2007 19:20:11 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2RJKBdR059440 for perforce@freebsd.org; Tue, 27 Mar 2007 19:20:11 GMT (envelope-from hselasky@FreeBSD.org) Date: Tue, 27 Mar 2007 19:20:11 GMT Message-Id: <200703271920.l2RJKBdR059440@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Cc: Subject: PERFORCE change 116691 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 19:20:12 -0000 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;