Mandrake 7.0 (kernel 2.2.14) - Issues with adding a System Call stub
I am currently working on a project in which I have to add my own system that does the same thing as gettimeofday() but ignores the timezone parameter and takes a flag parameter to determine whether output should be sent to the console. My issue is that I do not know how to make the stub (i.e. _syscalln(parameters)) work. I have googled around and cannot find enough information to know where to put this macro definition.
I have the syscall table entry and the NR definition correct as I can call the method using the syscall(191, flag, &tv) system call.
Is there anyone that can direct me to the right spot to get the stub working?