On Tue, Apr 27, 2010 at 7:55 AM, rahul patil
<[email protected]>wrote:

> Though it is bad idea to call a system call from kernel space
> is it possible any how to call a system call from kernel space?
>

Generally a better idea to user kernel interfaces directly instead of sys
calls. Further most sys call functions are not exported so you can't call
them from your kernel module. You'll have to EXPORT_SYMBOL them and
recompile your kernel which is kind of ugly.

-Joel

Reply via email to