os: drop `upstart` specific SIGSTOP signaling logic

Upstart is long dead, discontinued a decade ago, so there's no
need to keep around a special signaling logic just for it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1791>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-14 14:25:28 +01:00
parent 6349773d5e
commit 6c24e53a89
3 changed files with 0 additions and 9 deletions

View File

@ -122,8 +122,6 @@ struct ospoll *server_poll;
Bool NewOutputPending; /* not yet attempted to write some new output */
Bool NoListenAll; /* Don't establish any listening sockets */
Bool RunFromSigStopParent; /* send SIGSTOP to our own process; Upstart (or
equivalent) will send SIGCONT back. */
static char dynamic_display[7]; /* display name */
Bool PartialNetwork; /* continue even if unable to bind all addrs */
#if !defined(WIN32)
@ -206,8 +204,6 @@ NotifyParentProcess(void)
kill(ParentProcess, SIGUSR1);
}
}
if (RunFromSigStopParent)
raise(SIGSTOP);
#ifdef HAVE_SYSTEMD_DAEMON
/* If we have been started as a systemd service, tell systemd that
we are ready. Otherwise sd_notify() won't do anything. */

View File

@ -204,7 +204,6 @@ void CloseDownConnection(ClientPtr client);
extern int LimitClients;
extern Bool PartialNetwork;
extern Bool RunFromSigStopParent;
extern int limitDataSpace;
extern int limitStackSpace;

View File

@ -339,7 +339,6 @@ UseMsg(void)
#endif /* XINERAMA */
ErrorF("-dumbSched Disable smart scheduling and threaded input, enable old behavior\n");
ErrorF("-schedInterval int Set scheduler interval in msec\n");
ErrorF("-sigstop Enable SIGSTOP based startup\n");
ErrorF("+extension name Enable extension\n");
ErrorF("-extension name Disable extension\n");
ListStaticExtensions();
@ -788,9 +787,6 @@ ProcessCommandLine(int argc, char *argv[])
else
UseMsg();
}
else if (strcmp(argv[i], "-sigstop") == 0) {
RunFromSigStopParent = TRUE;
}
else if (strcmp(argv[i], "+extension") == 0) {
if (++i < argc) {
if (!EnableDisableExtension(argv[i], TRUE))