Subject: Re: funlink() for fun!
To: Bill Studenmund <wrstuden@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 07/16/2003 03:05:54
[ On Tuesday, July 15, 2003 at 12:00:19 (-0700), Bill Studenmund wrote: ]
> Subject: Re: funlink() for fun!
>
> The reason we have the three fh calls we do is because when I created
> them, I didn't see any need for anything else. Once we have fhopen(2), we
> have all of the fxx(2) calls.
Yes, true enough -- unless fhopen(2) enforces the access rights checks
that open(2) would have enforced. In that case fhchdir(2) gives one the
same advantage that could be afforded by O_NOACCESS.
--
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>