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:34 +0000 (08:30 -0400)
commit924397cb36314bdf15d91e78fb1bf6d77c1acfa7
tree0f6bfa4180e2694d44561fcc7130c13b6d3be968
parentd4ce5fb434e9f958e617f5f8f3d6034f05e72640
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.028436 seconds and 4 git commands to generate.