From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 1 13:52:53 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2A5516A4CE for ; Sat, 1 Nov 2003 13:52:53 -0800 (PST) Received: from razorbill.mail.pas.earthlink.net (razorbill.mail.pas.earthlink.net [207.217.121.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0658343F75 for ; Sat, 1 Nov 2003 13:52:53 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from user-38ldtjc.dialup.mindspring.com ([209.86.246.108] helo=mindspring.com) by razorbill.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 1AG3fi-0000ZF-00; Sat, 01 Nov 2003 13:52:39 -0800 Message-ID: <3FA42945.A5EA17C1@mindspring.com> Date: Sat, 01 Nov 2003 13:44:37 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "M. Warner Losh" References: <1067528798.36829.2128.camel@verdammt.falcotronic.net> <20031031162757.GA56981@walton.maths.tcd.ie> <20031031.130229.132929054.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4dbf0814f578a02a75d57a53f0dc480f8350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: dwmalone@maths.tcd.ie cc: freebsd-hackers@freebsd.org cc: andi_payn@speedymail.org Subject: Re: O_NOACCESS? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2003 21:52:53 -0000 "M. Warner Losh" wrote: > Rewind units on tape drives? If there's no access check done, and I > open the rewind unit as joe-smoe? The close code is what does the > rewind, and you don't have enough knowledge to know if the tape was > opened r/w there. Which brings up the idea of passing fp->fd_flags to VOP_CLOSE()... -- Terry