LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-30-2007, 03:15 AM   #1
sathishkumarr
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
Regd ioctl handler hooks in the kernel


Hello

I am looking to tap the ioctl commands in the kernel from user space to have my own application in kernel to extract necessary information from the command.
Is there any way where I can register as a listener to tap the ioctl commands ?

Currently I thought of changing the ioctl handler hooks in the Linux kernel to my_ioctl_handler which in turn will do the necessary processing according to my requirement and will call the actual ioctl handler. I was thinking if we have any such registration of handlers (something similar to NF_HOOK) for configurations also it will be better to use the same instead of tinkering the with the Linux kernel.

Any suggestions will be helpful.

Excuse me if this is a naive question.

Thanks
Sathish
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SIGSEGV handler (segmentation fauld handler) myp Programming 8 03-08-2011 02:17 PM
LXer: Debian kernel-package hooks transition LXer Syndicated Linux News 0 12-24-2005 02:46 PM
<0>Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing mrb Linux - Newbie 2 01-09-2005 09:47 AM
Kernel panic: Aiee, killing interrupt handler! vinhhv Linux - Newbie 7 09-25-2003 10:21 PM
doneshowconsole: Warning: the ioctl TIOCGDEV is not known by the kernel Consystor Linux - Hardware 3 08-05-2003 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration