Implement liblttng-ust-fd
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 12 Sep 2016 16:04:13 +0000 (12:04 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Oct 2016 16:00:32 +0000 (12:00 -0400)
commit95e6d2685eec83a144f533a447ffd355fadf9d79
tree6d251290416f84b7383f9b1d766856e8bc3ae5fd
parent6548fca464f68be5ded73be6b9a479daf08e62d6
Implement liblttng-ust-fd

This library overrides close() and closeall() libc functions, and uses
lttng_ust_safe_close_fd() to check whether the application can
interact with the file descriptor or if it should be left to lttng-ust.

This takes care of bugs caused by applications doing bulk close() or
closefrom() of file descriptors soon after forking.

Fixes: #253
Fixes: #626
CC: Aravind HT <aravind.ht@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile.am
configure.ac
liblttng-ust-fd/Makefile.am [new file with mode: 0644]
liblttng-ust-fd/lttng-ust-fd.c [new file with mode: 0644]
This page took 0.02488 seconds and 4 git commands to generate.