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>
(cherry picked from commit 6c24e53a89)
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-14 14:25:28 +01:00 committed by Alan Coopersmith
parent 39a67e9e03
commit 10b8cd6481
3 changed files with 0 additions and 9 deletions

View file

@ -54,7 +54,6 @@ extern _X_EXPORT Bool disableBackingStore;
extern _X_EXPORT Bool enableBackingStore;
extern _X_EXPORT Bool enableIndirectGLX;
extern _X_EXPORT Bool PartialNetwork;
extern _X_EXPORT Bool RunFromSigStopParent;
#ifdef RLIMIT_DATA
extern _X_EXPORT int limitDataSpace;

View file

@ -121,8 +121,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)
@ -205,8 +203,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

@ -580,7 +580,6 @@ UseMsg(void)
#endif
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();
@ -1031,9 +1030,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))