-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to isolate v2 with Ubuntu 22.04
Co-authored-by: Filippo Casarin <[email protected]>
- Loading branch information
Showing
7 changed files
with
35 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This is a configuration file for Isolate | ||
|
||
# All sandboxes are created under this directory. | ||
# To avoid symlink attacks, this directory and all its ancestors | ||
# must be writeable only to root. | ||
box_root = /var/local/lib/isolate | ||
|
||
# Directory where lock files are created. | ||
lock_root = /run/isolate/locks | ||
|
||
# Control group under which we place our subgroups | ||
# Either an explicit path to a subdirectory in cgroupfs, or "auto:file" to read | ||
# the path from "file", where it is put by isolate-cg-helper. | ||
cg_root = /sys/fs/cgroup | ||
|
||
# Block of UIDs and GIDs reserved for sandboxes | ||
first_uid = 60000 | ||
first_gid = 60000 | ||
num_boxes = 1000 | ||
|
||
# Only root can create new sandboxes (default: 0=everybody can) | ||
#restricted_init = 1 | ||
|
||
# Per-box settings of the set of allowed CPUs and NUMA nodes | ||
# (see linux/Documentation/cgroups/cpusets.txt for precise syntax) | ||
|
||
#box0.cpus = 4-7 | ||
#box0.mems = 1 |
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
Submodule isolate
updated
20 files
+1 −0 | .gitignore | |
+27 −18 | Makefile | |
+28 −0 | NEWS | |
+25 −13 | README.md | |
+5 −1 | TODO | |
+156 −138 | cg.c | |
+8 −10 | config.c | |
+12 −0 | debian/changelog | |
+16 −0 | debian/control | |
+9 −0 | debian/copyright | |
+21 −0 | debian/rules | |
+10 −5 | default.cf | |
+143 −0 | isolate-cg-keeper.c | |
+107 −13 | isolate-check-environment | |
+184 −98 | isolate.1.txt | |
+309 −55 | isolate.c | |
+30 −8 | isolate.h | |
+11 −0 | systemd/isolate.service | |
+2 −0 | systemd/isolate.slice | |
+168 −26 | util.c |
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