All of lore.kernel.org
 help / color / mirror / Atom feed
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: Sun, 29 Oct 2006 13:30:52 +0059	[thread overview]
Message-ID: <45449F13.7060202@gmail.com> (raw)
In-Reply-To: <20061029111953.51907.qmail@web27408.mail.ukl.yahoo.com>

Do NOT top-post.

ranjith kumar wrote:
> Hi,
>     1) What is the synatx of call_usermodehelper()
> function?
>         I found out that it takes 4 arguments. But
> what values  we have to pass as argumets.
> I did searched in internet. But could not find out.
> Sorry to post this question.

grep -r call_usermodehelper linux/

> 2) How to print something  using C code such that it
> will be displayed when corresponding a.out file is
> called in a kernel module using call_usermodehelper()
> function.

By adding printk to call_usermodehelper?

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

      reply	other threads:[~2006-10-29 12:30 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
2006-10-27 11:06 ` Erik Mouw
2006-10-29 11:19   ` ranjith kumar
2006-10-29 12:31     ` Jiri Slaby [this message]

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=45449F13.7060202@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.