This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: support for calling Linux syscalls directly


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]