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:23 +0000 (08:25 -0500)
commit0dd6b494078f56264600e17d93e6c980f8bc36ba
tree4f1dc3d83ff7b2b5d1fe47833b2fe12baba1f4ba
parent9da221419d76304ace0cb22bc44f840d4a09a38a
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.026274 seconds and 4 git commands to generate.