Re: *at family of syscalls in FreeBSD



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@xxxxxxxxxxx> 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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • Re: How Common Lisp sucks
    ... Except that Linux has a process for managing change, ... The POSIX standard is analogous to the hyperspec. ... the Posix community has processes for developing and evolving ...
    (comp.lang.lisp)
  • Re: PTHREAD_DETACHED portabel?
    ... Einsatz des Linux Kernels POSIX Konformität zur Zeit nicht erreicht ... Wissens nach) noch nie einen Linux-kernel gegeben, ... Linux ist nicht einmal zu sich selbst konform, ... nur den Linux kernel gibt und der in jeder Version seine Schnittstellen ...
    (de.comp.os.unix.programming)
  • Re: cvs commit: src/usr.sbin/sysinstall main.c
    ... If it wasn't obvious from my post, I think that the POSIX putenvis ... most of the software in ports probably runs more often on Linux than ... :> Solaris (judging by Open Solaris's putenv() implementation). ... This breaks Linux and Solaris and POSIX as well. ...
    (freebsd-arch)
  • Re: cvs commit: src/usr.sbin/sysinstall main.c
    ... If it wasn't obvious from my post, I think that the POSIX putenvis ... most of the software in ports probably runs more often on Linux than ... :> Solaris (judging by Open Solaris's putenv() implementation). ... This breaks Linux and Solaris and POSIX as well. ...
    (freebsd-arch)
  • Re: Libc for FPC FreeBSD port
    ... These type definitions should be available in the FPC ctypes ... Which is linux specific, BSD doesn't know it. ... Posix interface should be a priority. ...
    (comp.lang.pascal.misc)