Results 1 to 5 of 5
Which is the simple and safe method to execute a user side application from kernel side?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-14-2006 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 5
Executing user side application
Which is the simple and safe method to execute a user side application from kernel side?
- 11-15-2006 #2
You shouldn't do that.
Can you explain what is exactly your problem?
Best Regards
- 11-15-2006 #3
Well, it does run init, but that's all.
I have sold my soul to the penguin
- 11-16-2006 #4Just Joined!
- Join Date
- Sep 2005
- Posts
- 5
Thanks for the replies.
My idea is to monitor file open/close in a particular directory. For this I'll be trapping VFS sys_open and sys_close and if the path matches, I need to call a user application to log it.
- 11-16-2006 #5
Ok, there is a daemon that do that but sorry, I don't remember the name:
However, I think your design is not totally correct:
Your app. should call kernel services and not the contrary. In my opinion, you could use kprobes to make some hooks (clean hooks, not changing the kernel sources) and then put the information you need in /proc or other pseudo-filesystem. Then, your app. can read data from it.
Best Regards


Reply With Quote
