System call interception by jprobe
edsionte
edsionte at gmail.com
Mon Mar 31 23:14:31 EDT 2014
Hi, guys,
I am trying to use jprobe to intercept syscalls in linux kernel.
Such as open(),the original flow is open()-->sys_open(),
and now,
open()-->check_file()-->sys_oepn()
The check_file() is jprobe's entry point.
If check_file() returns sucessfully, jprobe_return() will be called and
sys_open() will be running, or the open() return and user gets errno in
user space.
And the problem is, I have no idea what jprobe should return when I want to
end open() flow.
Any hint will be deeply appreciated.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140401/e779689e/attachment.html
More information about the Kernelnewbies
mailing list