Thanks.My work is not writing keystroke logger, I know about it, but I want to call some other program which will run in bash ,and get some data from user mode and return to kernel mode on demand,
which can be called from keyboard driver.






  Thanks&Regards,

  P.Manohar,


On Mon, 28 Feb 2005, Lee Revell wrote:

On Mon, 2005-02-28 at 21:24 +0530, Payasam Manohar wrote:
hai all,
    I am a newbie to kernel, I want to work on linux kernel modules.
My task is to call a user program from keyboard driver under certain
conditions. I know that we can call user program using
call_usermodehelper(), but we can not call it direcly from driver as it is
a interrupt context. So we need to call using schedule_work(). But I need
more clarification on these points. How to call user program from the
keyboard driver. Please give ur ideas for doing this.


Are you just trying to write a keystroke logger?

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to