Re: input from keyboard in kernel mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/18/06, Manish Regmi <regmi.manish@xxxxxxxxx> wrote:
On 5/18/06, Nilesh Agrawal <nilesh.agrawal@xxxxxxxxx> wrote:
> Hi all,
> Is there a way to take user input directly from keyboard (without using a
> user mode helper) in kernel mode ?

Do you mean that you want to take user input in kernel mode?
I don't think it is a good idea?
Why do you want to do that?

I tried it last year to gather some statistics.

http://arhuaco.ath.cx/svn/src/pcgotchi/trunk/proc-keystrokes.patch.linux-2.6.12.2.txt

Is it what you want?

It's a little boring to compile the kernel every time.

I read about kernel function hijacking[1], but this
approach is platform dependant (and a big hack).

http://www.l0t3k.org/biblio/kernel/english/kernel-hijack.txt

If I want to do this in a module, what should I read?
How can I plug it?

Regards.

--
http://arhuaco.org/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux