Fix: sessiond: app sock and notif shm not created by the main thread
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 7 Oct 2019 23:34:08 +0000 (19:34 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Oct 2019 17:26:05 +0000 (13:26 -0400)
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 <jeremie.galarneau@efficios.com>

No differences found
This page took 0.026102 seconds and 5 git commands to generate.