I'm porting linux kernel module written for Linux 2.4 to work with Linux 2.6.
Some syscalls declared through syscallN() macros and wrapped in set_fs() calls were used in the code.
How can I still use sycalls in Linux 2.6 where those macros are absent?
I know it's a bad taste to use syscalls from kernel space and syscallN() macros are broken on most platforms. Any reasonable way to replace getuid, geteuid, mknod, chown, unlink, sched_yield syscalls in kernel space is appreciated.