[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: system() call in kernel module

... because in module programming, you only have access to system and
internal kernel calls/symbols.  The system() call is actually based on
the fork() and 
execve() system calls. You can call these system calls AFAIK. But
library calls like system() are definitely out of your reach in module

- Sandip

On Tue, Jul 24, 2001 at 03:44:42PM +0100, manish arya merrily said:
> hi
>    i was writin a kernel module in which i needed to call system() defined in stdlib.h. program compiled with no errors, but when i try to insert this module it says ./prog : unresolved symbol system
>    and if i write same thing as normal program and run it , it runs properly without any problem why?

Sandip Bhattacharya 
sandipb @ bigfoot.com