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:11 +0000 (11:21 -0500)
commitba8dcc8ca5b8b7bebed4e10b3dd4fcbc783d529d
treed9ffdbc9389ad740952b19ec5c4ec5bc2a43563f
parent41d1e173b52e80030b05ce7f25a45ae59765e40e
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.024838 seconds and 4 git commands to generate.