System call interception by jprobe

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

 



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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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