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.
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
