This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: How to make glibc support custom syscalls
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Cc: Matt McCutchen <hashproduct at gmail dot com>
- Date: Sun, 7 May 2006 04:48:36 -0400
- Subject: Re: How to make glibc support custom syscalls
- References: <1146960288.1255.20.camel@mattlaptop>
On Saturday 06 May 2006 20:04, Matt McCutchen wrote:
> Do I need to add implementations of lchmod and lutimes to the glibc
> source? If so, could someone help me? The innards of glibc look
> terribly complex, and though I bet adding a wrapper for a syscall takes
> only a few lines, I don't know what those lines would be.
if your versions have the same API as the current chmod/utimes, then you
should just be able to update the sysdeps/unix/sysv/linux/syscalls.list
add two lines to that file ... see the sysdeps/unix/syscalls.list file to see
what sort of two lines by looking at the existing chmod/utimes lines
-mike