⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 238444 in webkit


Ignore:
Timestamp:
Nov 22, 2018, 4:53:39 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

[Flatpak] Do not disable signals when running "usual" commands
https://bugs.webkit.org/show_bug.cgi?id=190679

Patch by Thibault Saunier <tsaunier@igalia.com> on 2018-11-22
Reviewed by Philippe Normand.

Otherwise <ctr>c doesn't work while compiling. It is not the best fix
as there are cases we want to let only children receive signals, but
it is not clear how to determine when (when running gdb, we still
disable those).

  • flatpak/flatpakutils.py:

(WebkitFlatpak.run_in_sandbox):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r238438 r238444  
     12018-11-22  Thibault Saunier  <tsaunier@igalia.com>
     2
     3        [Flatpak] Do not disable signals when running "usual" commands
     4        https://bugs.webkit.org/show_bug.cgi?id=190679
     5
     6        Reviewed by Philippe Normand.
     7
     8        Otherwise <ctr>c doesn't work while compiling. It is not the best fix
     9        as there are cases we want to let only children receive signals, but
     10        it is not clear how to determine when (when running gdb, we still
     11        disable those).
     12
     13        * flatpak/flatpakutils.py:
     14        (WebkitFlatpak.run_in_sandbox):
     15
    1162018-11-21  Wenson Hsieh  <wenson_hsieh@apple.com>
    217
  • trunk/Tools/flatpak/flatpakutils.py

    r238025 r238444  
    747747            flatpak_command.extend(['sh', "/run/host/" + tmpscript.name])
    748748
    749             with disable_signals():
    750                 try:
    751                     subprocess.check_call(flatpak_command, stdout=stdout)
    752                 except subprocess.CalledProcessError as e:
    753                     sys.stderr.write(str(e) + "\n")
    754                     return e.returncode
     749            try:
     750                subprocess.check_call(flatpak_command, stdout=stdout)
     751            except subprocess.CalledProcessError as e:
     752                sys.stderr.write(str(e) + "\n")
     753                return e.returncode
    755754
    756755        return 0
Note: See TracChangeset for help on using the changeset viewer.