Fix: fd of an elf object must be registered to the fd tracker
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 10 Nov 2017 16:06:41 +0000 (11:06 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 10 Nov 2017 16:21:39 +0000 (11:21 -0500)
commit1b5b09266e9a3e023d4d7cc160ce9af94837f9d9
tree2d36de608643d45387795bfd6a85bdfa1350a941
parent23948cd7c95fec27f11f46bf982ec1e4beb0ec55
Fix: fd of an elf object must be registered to the fd tracker

The open call take place inside ust, it must be tracked to prevent external
closing.

The bug can be hit during tracing of an application for which the probe
provider is loaded using LD_PRELOAD in combination with the fd utility
shared object. The application is responsible for closing all possible fd.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-elf.c
This page took 0.024398 seconds and 4 git commands to generate.