O_NOACCESS?

Terry Lambert tlambert2 at mindspring.com
Sat Nov 1 13:52:53 PST 2003


"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


More information about the freebsd-hackers mailing list