... 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
programming.
- 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
http://www.sandipb.net
-------------------------------------
------------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-delhi