"Samuel" <[email protected]> writes:
> [...] I am using kprobes/jprobes to try and understand how IP
> options are handled in the kernel. From one of these probes I want
> to call another function inside the kernel, namely
> ip_options_get_from_user. [...]
Other than symbol exporting issues, you may encounter another problem
that we have encountered in systemtap (which is also a kprobes
client). That is that the context where the kprobe was placed may be
such that calling most ordinary kernel routines is unsafe. In
particular, ip_options_get_from_user may sleep, which may or may not
be legal from the context of the kprobe. (In systemtap probes, we
don't permit anything to block/sleep/schedule, so instead suffer
absent-page errors.)
- FChE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]