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:37 +0000 (11:21 -0500)
commit4fc6ea30d63cc600f70b5a8aa5ed70fc52ccadf3
tree3197cf884139ed28001bc9306c69a333472267b7
parent1b865e7e3d5efa60964d3c446568d8c4b4e39f92
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.024699 seconds and 4 git commands to generate.