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:23:24 +0000 (08:23 -0500)
commitf5c453e975e5d417590b9a1be2a9f8504db063c0
treec748ec921596d49bfe72a747c3912bffbf9e9960
parent8a208943e21700211beee3ea64180a5a534c7d2a
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.025099 seconds and 4 git commands to generate.