From owner-freebsd-hackers Tue Aug 31 1: 7:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from tversu.ru (mail.tversu.ru [62.76.80.2]) by hub.freebsd.org (Postfix) with ESMTP id B129714E5D for ; Tue, 31 Aug 1999 01:06:48 -0700 (PDT) (envelope-from vadim@tversu.ru) Received: from gala.tversu.ru (postfix@gala.tversu.ru [62.76.80.10]) by tversu.ru (8.8.8/8.8.8) with ESMTP id MAA11852; Tue, 31 Aug 1999 12:06:20 +0400 (MSD) Received: by gala.tversu.ru (Postfix, from userid 100) id 7DC897035; Tue, 31 Aug 1999 12:06:11 +0400 (MSD) Date: Tue, 31 Aug 1999 12:06:11 +0400 From: Vadim Kolontsov To: "John W. DeBoskey" Cc: freebsd-hackers@freebsd.org Subject: Re: seek to negative offset? Message-ID: <19990831120611.A14896@tversu.ru> References: <199908242025.QAA24724@bb01f39.unx.sas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199908242025.QAA24724@bb01f39.unx.sas.com>; from John W. DeBoskey on Tue, Aug 24, 1999 at 04:25:26PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Aug 24, 1999 at 04:25:26PM -0400, John W. DeBoskey wrote: > The subject says it all... We have some code that scans files > backwards... > > In looking through /usr/src/sys/kern/vfs_syscalls.c I can't see > where we do any validation on the resulting seek location... Do the > appropriate folks think this is a bug? How about posix? Should I > go ahead and submit a pr with a patch? I've just discovered kern/6184 (from Mar 1998, state: open). Seems like patch which fixes it was never commited. V. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message