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:18 +0000 (11:19 -0400)
commit4b01076fea0f635af6af6762a8edce1be03e5d39
tree2615d9c3a6a60b8807a1ed1c145f247ae9fb2661
parent9c3f3d0208bab524c94466b8cc6bb1dcbc4a906b
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.026812 seconds and 4 git commands to generate.