From: Jérémie Galarneau Date: Mon, 7 Oct 2019 23:34:08 +0000 (-0400) Subject: Fix: sessiond: app sock and notif shm not created by the main thread X-Git-Tag: v2.12.0-rc1~323 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=a13091b7aca3f36a14ef748aee590ad00c7a7652;hp=a13091b7aca3f36a14ef748aee590ad00c7a7652;p=lttng-tools.git Fix: sessiond: app sock and notif shm not created by the main thread The application registration socket and application notification shared memory are 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 ---