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:14 +0000 (08:30 -0400)
commit8d2aec4fb598c65688062681a4302a59cfeb3b6f
tree57d2ef750db83edc707d8be3fe266bd547a7d48c
parent959a7d80eb0072976d159a2d022a8d7310028481
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.025919 seconds and 4 git commands to generate.