-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix benchexec when running in empty cgroup with cgroups v2
We document that one can start BenchExec in an otherwise cgroup. However, this works only for runexec so far, because we check that the current cgroup has exactly one process. But benchexec starts the tool-info module in a separate process if container mode is used, and so this check would fail. We need to relax this and also allow child processes of us in the given cgroup, and then later on move these child processes into a different cgroup like our own process (the existing code does this already).
- Loading branch information
1 parent
4fd67dc
commit eaf8b12
Showing
2 changed files
with
28 additions
and
5 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
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