Commit 2da32e5
committed
pkg/mgrconfig: change the snapshot attr semantics
At the moment of its introduction, the attribute was overridable by
enable_syscalls. However, since some of the malicious calls are actually
variants of generic syscalls (e.g. ioctl), it has de-facto made it very
easy to enable them also on non-snapshot instances.
Do not let enable_syscalls override this. Instead, only activate
snapshot calls on the snapshot instances.1 parent 8fc3779 commit 2da32e5
2 files changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
| 113 | + | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | 441 | | |
445 | 442 | | |
446 | 443 | | |
447 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
448 | 452 | | |
449 | 453 | | |
450 | 454 | | |
| |||
0 commit comments