Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Linux Kernel => Topic started by: hiten.upadhyay on March 04, 2009, 08:59:44 AM

Title: System call from Kernel
Post by: hiten.upadhyay on March 04, 2009, 08:59:44 AM
Hi Everyone,
I have written a kernel module in which i need to call system calls.
Actually my requirement is to shutdown the system whenever i get a signal.
But the system ("shutdown") doesn't work in kernel module.
I 've heard that if we use system_call_table and system_call then we can. But not getting any link.
Please help.....