From owner-freebsd-doc@FreeBSD.ORG Thu Mar 27 10:56:51 2014 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 014C79A6; Thu, 27 Mar 2014 10:56:51 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7C86DC0; Thu, 27 Mar 2014 10:56:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2RAuo6M040089; Thu, 27 Mar 2014 10:56:50 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2RAuo66040088; Thu, 27 Mar 2014 05:56:50 -0500 (CDT) (envelope-from bdrewery) Date: Thu, 27 Mar 2014 05:56:50 -0500 (CDT) Message-Id: <201403271056.s2RAuo66040088@freefall.freebsd.org> To: yaneurabeya@gmail.com, bdrewery@FreeBSD.org, freebsd-doc@FreeBSD.org From: bdrewery@FreeBSD.org Subject: Re: docs/168814: [patch] remove `d` negative pointer EINVAL requirement from read(2) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 10:56:51 -0000 Synopsis: [patch] remove `d` negative pointer EINVAL requirement from read(2) State-Changed-From-To: open->closed State-Changed-By: bdrewery State-Changed-When: Thu Mar 27 05:56:50 CDT 2014 State-Changed-Why: It looks like uiomove() will return EINVAL on negative offset, and I did find tmpfs_read returning EINVAL on negative offset as well. http://www.freebsd.org/cgi/query-pr.cgi?pr=168814