forked from ioi/isolate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the program inside the sandbox was running as the init process (PID 1) of its PID namespace. This interfered with signal handling as there are special exceptions in delivering signals to init -- rougly speaking, unhandled signals which would be otherwise fatal are ignored. Now, we put a proxy process between the keeper and the inside process, which serves as init and just passes the exit code to the keeper.
- Loading branch information
Showing
1 changed file
with
84 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters