Subject: Re: openat(2) and friends
To: None <>
From: Steinar Hamre <>
List: tech-kern
Date: 03/06/2005 16:55:41
A minimal patch against current which implements openat(2) is
available at:

The patch extends the use of ni_startdir in struct nameidata, so the
starting point for namei(9) on relative pathnames can be specified in
the same fashion as for individual lookup(9)s. NDINIT(9) initializes
ni_startdir with NULL which by namei(9) is taken as the normal
behavior; the process current working directory.

I'd like som feedback on this approach before continuing with
fstatat(2) and opendir(3).