LWN.net Logo

sys_indirect()

sys_indirect()

Posted Nov 22, 2007 15:16 UTC (Thu) by tyhik (subscriber, #14747)
In reply to: sys_indirect() by i3839
Parent article: sys_indirect()

"If the systemcall isn't supposed to be used directly by applications, it isn't worth
existing."

There exist some, and rightly so. futex() comes to mind.

But indirect() is ugly indeed.


(Log in to post comments)

sys_indirect()

Posted Nov 22, 2007 18:28 UTC (Thu) by i3839 (subscriber, #31386) [Link]

The futex adds a unique and useful feature which can also be interesting for certain
apps/libraries other than glibc. The API is a bit ugly, mostly because of historical reasons
it seems.

But what they seem to be wanting to do here is providing a userspace wrapper in glibc for the
indirect variant of a syscall, and that's just plain silly.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds