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)
committerSean Whitton <spwhitton@spwhitton.name>
Thu, 27 Oct 2022 22:35:03 +0000 (15:35 -0700)
commit65845dea9568b38a45bca7fbcc0e41e2b21e5c1f
tree051d2542403c34cb06c43abbe09a42c406e5968f
parentd2f60a22a18dfbee11eeec5b597c80705a807e7f
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
lisp/emacs-lisp/comp.el
lisp/startup.el
src/emacs.c