*at family of syscalls in FreeBSD

Ali Mashtizadeh mashtizadeh at gmail.com
Mon Jun 4 17:29:39 UTC 2007


Hey,

Its not defined by POSIX. I like the naming changes compared to the linux
versions.

-- 
Ali Mashtizadeh
علی مشتی زاده

On 6/4/07, Daniel Eischen <deischen at freebsd.org> wrote:
>
> On Mon, 4 Jun 2007, Roman Divacky wrote:
>
> > Hi,
> >
> > Starting from Linux 2.6.16, there is available so called *at syscalls.
> For example
> > openat(), linkat() etc. Those syscalls are used to avoid races in
> threaded programs
> > and to implement per-thread CWD. in other words they are usefull. Thats
> why Linux
> > implemented them.
> >
> > I am currently implementing those in our Linuxulator. As suggested by
> Robert Watson
> > I implemented general kern_fooat() functions and wrapped them around
> those kern_fooat()
> > functions. It works ok and everything. But I want to introduce native
> *at syscalls
> > for FreeBSD binaries. Hence I am here to discuss the API.
> >
> > My suggestion:
> >
> > use Linux API with some slight naming changes:
>
> These are (unless Linux added some new interfaces) defined by POSIX.
> The API and behavior should be conformant with POSIX.  See the
> POSIX spec for more info:
>
>    http://www.opengroup.org/onlinepubs/009695399/toc.htm
>
> --
> DE
> _______________________________________________
> freebsd-arch at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
>


More information about the freebsd-arch mailing list