[lttng-dev] [PATCH lttng-modules v3 0/5] Extract payload from polling syscalls
Julien Desfossez
jdesfossez at efficios.com
Fri Apr 15 19:31:08 UTC 2016
Patch serie to extract the payload of the polling system calls on x86 and ARM
(32 and 64-bit). The concerned system calls are select, pselect6, poll, ppoll,
epoll_ctl, epoll_wait, epoll_pwait.
Changes from v2:
- Make sure all user-controlled data is handled safely in the kernel
- Allocate memory instead of using the stack for arbitrarily large data
- Only extract the standard event flags and output the raw event value as hex
- Various bugfixes from v2
This code is handled in the kernel with input coming from user-space, make sure
to review it as if it was actual system calls.
Julien Desfossez (5):
Add ctf_integer_bitfield_type
Extract the FD sets in select and pselect6
Extract the FDs and flags from poll and ppoll
Extract the payload for epoll_ctl
Extract the payload of epoll_wait/epoll_pwait
.../syscalls/headers/syscalls_pointers_override.h | 862 +++++++++++++++++++++
probes/lttng-events-write.h | 8 +
2 files changed, 870 insertions(+)
--
1.9.1
More information about the lttng-dev
mailing list