[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4541E7F6.40504@gmail.com>
Date: Fri, 27 Oct 2006 13:05:03 +0159
From: Jiri Slaby <jirislaby@...il.com>
To: ranjith kumar <ranjit_kumar_b4u@...oo.co.uk>
CC: linux-kernel@...r.kernel.org
Subject: Re: How to run an a.out file in a kernel module
ranjith kumar wrote:
> Hi,
>
> How to run an a.out file in a kernel module
> I tried to include
> system("./a.out");
> in the C file. But I got compilation errors.
And what exactly do you want kernel to do?
If you want to create a process, see module loading procedure from kernel (i.e.
calling modprobe) -- request_module function or calling 'init=' program --
run_init_process.
regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists