lttng-ctl: Hide symbol introduced by fix
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 22 Apr 2024 19:52:28 +0000 (15:52 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 8 Jul 2024 15:12:50 +0000 (11:12 -0400)
commit83f2539c5c084d853308993a05999016264be90e
treed2ca36c9519a5e40c575f44be90ae64ac487f954
parent0833701b362e2a8282f8373118970293ffd1ea82
lttng-ctl: Hide symbol introduced by fix

Michael Jeanson noticed that f94318611 mistakenly introduces a new
public symbol in liblttng-ctl.so. This change was not intended and is
due to a bad backport of a fix initially developed against the master
branch.

The master branch (and upcoming version) of LTTng-tools is built with
the -fvisibility=hidden. Hence, the initial version of the fix had no
need to hide the utils_create_lock_file symbol.

Since the supported stable releases (2.12 and 2.13) are not built with
those options, that symbol has to be explicitly marked as hidden.

Reported-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I874538317617003eb1c58c2d3b7b0a2bdf905ef7
src/common/lockfile.cpp
src/common/lockfile.hpp
This page took 0.025032 seconds and 4 git commands to generate.