[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New system call and User space header file
Hey,
I would recommend that you directly call syscall yourself.
#define __NR_syscall_number 324 //(e.g)
#include <linux/unistd.h>
#include <sys/syscall.h>
in the C program do
syscall(324, arg1, arg2)
_syscall2 etc. is a pain to work with, and afaik has been unsupported
for quite some time.
http://lkml.org/lkml/2007/7/5/314
Regards,
duryodhan
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ