Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Nov 2003 13:44:37 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        andi_payn@speedymail.org
Subject:   Re: O_NOACCESS?
Message-ID:  <3FA42945.A5EA17C1@mindspring.com>
References:  <1067528798.36829.2128.camel@verdammt.falcotronic.net> <20031031162757.GA56981@walton.maths.tcd.ie> <20031031.130229.132929054.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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



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