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:13:22 +0000 (11:13 -0400)
commitc90338356f8c1d5f7cd52207cc90ba895a9d4df0
treefb033edfd8595c01f40a33b8e1bede3fc63ac7cc
parent4290fa20633867bd6e08ee2478dc7be93f1b0386
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.02782 seconds and 4 git commands to generate.