Add close_range wrapper to liblttng-ust-fd.so
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 18 Apr 2024 15:25:55 +0000 (11:25 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 19 Apr 2024 15:19:25 +0000 (11:19 -0400)
commitd6fbc3fd938da93b77edd5033af0f2591eb8a806
treed517e52206993c443d63d32e28a9bce150ea61dc
parent9261aeadea4674c3d68e05c2e8fcbcefa54feb56
Add close_range wrapper to liblttng-ust-fd.so

glibc 2.34 implements close_range(2), which is used by the ssh client
(amongst others). This needs to be overridden to make sure ssh does not
close lttng-ust file descriptors.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ic4e0046499e1f010395aec71a48316b9d1e9bf3f
src/common/ust-fd.h
src/lib/lttng-ust-common/fd-tracker.c
src/lib/lttng-ust-fd/lttng-ust-fd.c
This page took 0.027719 seconds and 4 git commands to generate.