Fix: sessiond: client socket not created by the main thread
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 7 Oct 2019 22:26:51 +0000 (18:26 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Oct 2019 17:30:35 +0000 (13:30 -0400)
commite000e56fbef34cf51b9a45a9e40d5e2513fe578f
tree5f0fe7ea8ebcc7b23cbf88eca9ca0bd0cdac84ba
parentd84264ba890cd6ada5cda80f009c00845921ce65
Fix: sessiond: client socket not created by the main thread

The client socket is not created by the session daemon's main thread
which causes calls to umask() to be issued from multiple threads.

Since umask manipulates a process-wide ressource, it should be only be
used by a single thread.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/client.c
src/bin/lttng-sessiond/thread.c
This page took 0.030942 seconds and 4 git commands to generate.