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:25:26 +0000 (11:25 -0400)
commit26be1417f9b37371024e207c691de87d1ecaa19b
treec6fb8fef954006395fae5a3633ee366586bbef45
parent6b0c6b76480d8162cb00919367cc2d13ccbe7037
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
include/ust-fd.h
liblttng-ust-comm/lttng-ust-fd-tracker.c
liblttng-ust-fd/lttng-ust-fd.c
This page took 0.025136 seconds and 4 git commands to generate.