Fix: Sleeping function called from invalid context
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jul 2017 12:22:04 +0000 (08:22 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jul 2017 12:30:18 +0000 (08:30 -0400)
commitc1af5643e0df56b92481f7a7bc4110a58e4e5abb
tree23b65c5dc30a27d8413172a4e10a57acc74b0f98
parent8db274f8dda050c4f2ee3dbd0f36a5ad8f8bd993
Fix: Sleeping function called from invalid context

It affects system call instrumentation for accept, accept4 and connect,
only on the x86-64 architecture.

We need to use the LTTng accessing functions to touch user-space memory,
which take care of disabling the page fault handler, so we don't preempt
while in preempt-off context (tracepoints disable preemption).

Fixes #1111

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h
This page took 0.030517 seconds and 4 git commands to generate.