Re: Unified getcwd() implementation

From: Marc Olzheim <marcolz_at_stack.nl>
Date: Mon, 10 May 2004 18:40:08 +0200
On Sun, May 09, 2004 at 01:14:12AM +1000, Tim Robbins wrote:
> > - getcwd() having elevated permission to actually be able to find the
> >   real cwd.
> 
> >From what I can see, it still uses the caller's credentials in calls
> to VOP_GETATTR(), VOP_LOOKUP() and VOP_READDIR().

Erhm yes, you're right. That will be in the next patch. Perhaps yet
another sysctl to allow for per machine setting of allowing getcwd() to
resolv unreadable paths ?
That would be necessary for the linuxulator anyhow...

Marc
Received on Mon May 10 2004 - 07:40:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:53 UTC