From: Jiri Slaby <jirislaby@gmail.com>
To: ranjith kumar <ranjit_kumar_b4u@yahoo.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to run an a.out file in a kernel module
Date: Fri, 27 Oct 2006 13:05:03 +0159 [thread overview]
Message-ID: <4541E7F6.40504@gmail.com> (raw)
In-Reply-To: <20061027101611.67643.qmail@web27406.mail.ukl.yahoo.com>
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
next prev parent reply other threads:[~2006-10-27 11:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-27 10:16 How to run an a.out file in a kernel module ranjith kumar
2006-10-27 11:06 ` Jiri Slaby [this message]
2006-10-27 11:06 ` Erik Mouw
2006-10-29 11:19 ` ranjith kumar
2006-10-29 12:31 ` Jiri Slaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4541E7F6.40504@gmail.com \
--to=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ranjit_kumar_b4u@yahoo.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox