Avoid fork bomb caused by native compilation trampolines
authorAndrea Corallo <andrea.corallo@arm.com>
Tue, 18 Oct 2022 13:14:32 +0000 (15:14 +0200)
committerRob Browning <rlb@defaultvalue.org>
Sat, 13 May 2023 20:17:27 +0000 (21:17 +0100)
commita0855cc180e01db2bf91060fef90a45a48691444
treed439775ffdc176456572468bd2f563c2d481576e
parentd5b5bbf2bb1e5c0f547cea196a4598d9539cee39
Avoid fork bomb caused by native compilation trampolines

This upstream patch has been incorporated to fix the problem:

  Set `comp-no-spawn' earlier using -no-comp-spawn

  * src/emacs.c (standard_args): Add '-no-comp-spawn' cmd line option.
  * lisp/startup.el (command-line): Parse '-no-comp-spawn' cmd line
  option.
  * lisp/emacs-lisp/comp.el (comp-run-async-workers, comp-final):
  Use '-no-comp-spawn'.

Origin: upstream, commit: 5ad5b797f78dacb9c901d3c63bee05b1762fa94f
Bug-Debian: https://bugs.debian.org/1017817
Bug-Debian: https://bugs.debian.org/1017845
Forwarded: not-needed

Gbp-Pq: Name 0011-Avoid-fork-bomb-caused-by-native-compilation-trampol.patch
lisp/emacs-lisp/comp.el
lisp/startup.el
src/emacs.c