Subject: Re: openat(2) and friends
To: None <tech-kern@netbsd.org>
From: Steinar Hamre <steinarh@pvv.ntnu.no>
List: tech-kern
Date: 03/07/2005 19:18:28
Jason Thorpe <thorpej@shagadelic.org> writes:

> On Mar 7, 2005, at 2:44 AM, Hubert Feyrer wrote:
> 
> > On Sun, 6 Mar 2005, Steinar Hamre wrote:
> >> http://www.pvv.ntnu.no/~steinarh/diff.openat
> >
> > There's no manpage in there, and given the discussion here (and my
> > own lack of knowledge), it would be nice to have some source where
> > one can get more information about openat(2) in general.
> 
> Maybe you missed the open(2) man page part of the diff?

He didn't. I updated the diff at his request. ;-)

I'm still interested in feedback on my change to namei() to make this
work. If it's ok, I should add a sentence to namei(9) too.

Oh, and AT_FDCWD: This could be any value that will never be used as a
file descriptor. Currently it's the same value as Solaris (makes binary
compability easier), but I don't particulary like the value they have
chosen: 0xffd19553   (= -3041965 (mod 2^32))  Any opinions?

        Steinar