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: How to make glibc support custom syscalls


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


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