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
On Sun, 2006-05-07 at 04:48 -0400, Mike Frysinger wrote:
> 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
Marvelous! The new glibc works! I recompiled rsync, it noticed lchmod
and lutimes, and it preserved symlink permissions and times. Next up is
customizing chmod, touch, etc. to support -h.
Many thanks!
Matt