From: Jonathan Rajotte Date: Fri, 10 Nov 2017 16:06:41 +0000 (-0500) Subject: Fix: fd of an elf object must be registered to the fd tracker X-Git-Tag: v2.11.0-rc1~32 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=ba8dcc8ca5b8b7bebed4e10b3dd4fcbc783d529d;hp=ba8dcc8ca5b8b7bebed4e10b3dd4fcbc783d529d;p=lttng-ust.git 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 Signed-off-by: Mathieu Desnoyers ---