Force tracked fd to be bigger than STDERR_FILENO
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 5 Feb 2018 22:58:18 +0000 (17:58 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 6 Feb 2018 13:25:27 +0000 (08:25 -0500)
commitfc9a0ccbfb0e968fde8cbb27f19852e0571adedc
tree886ed3324227e6d1ed6174bb9aa79e44f44cd8b3
parent26752e5ddc0333150a38a4668bcaced571833628
Force tracked fd to be bigger than STDERR_FILENO

This allow ust to be proactive regarding std* fd manipulation done by
external source.

A good example of this is the "daemon" function that can dup2 statically
the std* fd and close them silently if the were already used.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust-fd.h
liblttng-ust-comm/lttng-ust-comm.c
liblttng-ust-comm/lttng-ust-fd-tracker.c
liblttng-ust/lttng-ust-comm.c
liblttng-ust/lttng-ust-elf.c
This page took 0.024867 seconds and 4 git commands to generate.