From: Jérémie Galarneau Date: Mon, 7 Oct 2019 22:26:51 +0000 (-0400) Subject: Fix: sessiond: client socket not created by the main thread X-Git-Tag: v2.12.0-rc1~324 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=0f68efb616cd046543e5fc5a091466ec26df2216;hp=0f68efb616cd046543e5fc5a091466ec26df2216;p=lttng-tools.git 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 ---