Subject: Re: openat(2) and friends
To: None <tech-kern@netbsd.org>
From: Steinar Hamre <steinarh@pvv.ntnu.no>
List: tech-kern
Date: 03/02/2005 17:59:04
Steinar Hamre <steinarh@pvv.ntnu.no> writes:

> "Gordon Waidhofer" <gww@traakan.com> writes:
> 
> > The upshot is that I certainly support Solaris
> > style subfiles. They aren't really "attributes".
> > I strongly recommend renaming them to reflect
> > their ultimate role as subfiles (opensf rather
> > than openat).
> 
> openat(2) is not related to extended attributes of either variant.

Ops! This is wrong. The low level interface to open extended
attributes, is indeed openat(2) with O_XATTR.

Note, however, that this is not the only use of openat(2). I would be
quite happy with a openat(2) without any O_XATTR.

        Steinar