Re: making syscalls from within an interrupt

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

 



On Sun, Mar 21, 2004 at 08:35:12PM +0100, threadhead@web.de wrote:
|hi list.
|
|assume i have registered my own network interrupt handler.
|what if i would want to write(2) the packets values, like flags, to an already open filedescriptor?

ABSOLUTELY DON'T DO IT!
Rather, why not using "printk" to dump those values to a registred
console ?

you may (for example) setup a serial console, and save the output of printk
to a file from minicom (by using the "capture" feature of minicom).




-- 

/Daniele.

--
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