mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Move SIGUSR1 notification as late as possible.
If we inherited a signal mask from the parent process that ignores SIGUSR1, then we will send SIGUSR1 to the parent to indicate when we're ready to accept connections. Unfortunately, we send this notification way too early, right after creating the sockets rather than just before entering the main loop. Move it to just before Dispatch() so we're not lying quite so much.
This commit is contained in:
@@ -124,6 +124,8 @@ extern void ResetOsBuffers(void);
|
||||
|
||||
extern void InitConnectionLimits(void);
|
||||
|
||||
extern void NotifyParentProcess(void);
|
||||
|
||||
extern void CreateWellKnownSockets(void);
|
||||
|
||||
extern void ResetWellKnownSockets(void);
|
||||
|
||||
Reference in New Issue
Block a user