Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2007 12:55:00 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: *at family of syscalls in FreeBSD
Message-ID:  <Pine.GSO.4.64.0706041252400.12376@sea.ntplx.net>
In-Reply-To: <20070604162430.GA76813@freebsd.org>
References:  <20070604162430.GA76813@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0706041252400.12376>