On Sun, Aug 22, 2010 at 12:41, Tapas Mishra <[email protected]> wrote:
>
> Following is the program for which it was Makefile I am mentioning it
> here for the sake of clarity so that you dont have to read first post
>
> #include <linux/kernel.h>
> #include <sys/syscall.h>
> #include <linux/module.h>
> extern void *sys_table[];
^^^

uhum? AFAIK sys call table is not exported in 2.6.x.... so even if
your code is perfectly compiled and produced valid .ko kernel module,
I doubt it will work.

Unless I missed something in recent development....

Regarding the missing __NR_exit, I think you forgot to include
asm/unistd.h. And try to include asm/syscalls

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to