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:15:31 +0000 (11:15 -0400)
commit3a081f7ee2aa1ca34432548f49a1ea6c1d469c31
tree9f5e4644198e3d78511430ffb762921e7f6f2620
parente6681c668131605c5ef9ab012f3357034e21e573
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.c
src/common/lockfile.h
This page took 0.026114 seconds and 4 git commands to generate.