Re: [PATCH 2/8] fcntl-h: glibc now has openat2

Bruno Haible via Gnulib discussion list <[email protected]>
Newsgroups gmane.comp.lib.gnulib.bugs
Organization GNU
Message-ID <4721015.8F6SAcFxjW@nimes>
Paul Eggert wrote:
> > This should mention the module 'openat2' here, I guess?
> > And add a
> >    @mindex openat2
> > line, as usual.
> 
> Thanks, I did that via the attached.

Thanks.

> openat2 is unusual, as it is present in GNU/Linux but not GNU/Hurd. 
> That's why I listed "glibc on non-Linux" in 
> doc/glibc-functions/openat2.texi.

Right, yes.

> In that sense openat2 is like mseal, 
> pidfd_open, epoll_create, and inotify_add_watch. I don't know of any 
> other such function for which Gnulib provides a substitute.

We could add a dummy 'mseal' that does nothing.

Regarding inotify_add_watch, there is the GNU direvent package. Quote:
  "Interfaces for tracking changes to file systems are highly
   system-specific. Direvent aims to provide a uniform and
   system-independent command-level interface."

Bruno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.