This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: support for calling Linux syscalls directly
- From: Rich Felker <dalias at aerifal dot cx>
- To: "H. Peter Anvin" <hpa at zytor dot com>
- Cc: Eric Wong <normalperson at yhbt dot net>,Michael Kerrisk <mtk dot manpages at gmail dot com>, libc-alpha at sourceware dot org,"Joseph S. Myers" <joseph at codesourcery dot com>,Roland McGrath <roland at hack dot frob dot com>, keescook at chromium dot org
- Date: Wed, 6 Feb 2013 20:47:59 -0500
- Subject: Re: support for calling Linux syscalls directly
- References: <201301242314.47793.vapier@gentoo.org><5109A662.7050101@zytor.com><20130131073057.GQ20323@brightrain.aerifal.cx><Pine.LNX.4.64.1301312309490.13481@digraph.polyomino.org.uk><510AFCF3.6080109@zytor.com><20130131233654.GR20323@brightrain.aerifal.cx><CALxWeYqKWT=ww+EY4VWgfYaW62_=VGuHZqcGzbxykUnnhf1aAA@mail.gmail.com><20130204143147.GD20323@brightrain.aerifal.cx><20130206224816.GA31238@dcvr.yhbt.net><5112E644.1060108@zytor.com>
On Wed, Feb 06, 2013 at 03:24:52PM -0800, H. Peter Anvin wrote:
> On 02/06/2013 02:48 PM, Eric Wong wrote:
> > Rich Felker <dalias@aerifal.cx> wrote:
> >> On Mon, Feb 04, 2013 at 04:35:40AM +0100, Michael Kerrisk wrote:
> >>> io_cancel(2)
> >>> io_destroy(2)
> >>> io_getevents(2)
> >>> io_setup(2)
> >>> io_submit(2)
> >>
> >> There may be some existing lib for these, although if there is I
> >> question the reasoning behind that...
> >
> > I don't know the reasoning, but they're in libaio.
> > Still available in Debian: http://packages.qa.debian.org/libaio
> > but the kernel page is empty: http://www.kernel.org/pub/linux/libs/aio/
>
> It probably means the owner of the files haven't verified them and
> re-uploaded after the 2011 security breach.
I think the fact that the upstream source for the library has been
missing for nearly 2 years speaks to the argument that separate little
syscall-wrapper libraries for each new kernel API are a bad idea...
Rich