Commit b0bb43b
committed
fix(supervisor): drop sandbox child capability bounding set
Reduce the Linux capability bounding set in the common privilege-drop path before executing sandbox workloads or connect shells and use capctl
Signed-off-by: Adrien Langou <alangou@nvidia.com>1 parent 7bce122 commit b0bb43b
6 files changed
Lines changed: 270 additions & 36 deletions
File tree
- architecture
- crates
- openshell-driver-podman
- src
- openshell-supervisor-process
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | | - | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
881 | | - | |
882 | 880 | | |
883 | 881 | | |
884 | 882 | | |
| |||
899 | 897 | | |
900 | 898 | | |
901 | 899 | | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
902 | 903 | | |
903 | | - | |
904 | | - | |
| 904 | + | |
| 905 | + | |
905 | 906 | | |
906 | 907 | | |
907 | 908 | | |
908 | 909 | | |
| 910 | + | |
| 911 | + | |
909 | 912 | | |
910 | 913 | | |
911 | 914 | | |
| |||
1451 | 1454 | | |
1452 | 1455 | | |
1453 | 1456 | | |
| 1457 | + | |
1454 | 1458 | | |
1455 | 1459 | | |
1456 | 1460 | | |
1457 | | - | |
1458 | | - | |
1459 | | - | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
1460 | 1465 | | |
1461 | 1466 | | |
1462 | 1467 | | |
| |||
1473 | 1478 | | |
1474 | 1479 | | |
1475 | 1480 | | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
1476 | 1485 | | |
1477 | 1486 | | |
1478 | 1487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments