Repository navigation
Commit de00bfc
committed
fix(sandbox): do not gate launch confirmation on seccomp cancellation
The confirmation evidence check required seccomp.cancellation
(WAIT_KILLABLE_RECV, Linux 5.19+). On kernels older than 5.19 the sandbox
falls back to a plain listener and reports cancellation=false, so requiring it
stopped the supervisor from confirming the sandbox there ("confirmation failed:
sandbox confirmation evidence is incomplete or mismatched"). Cancellation is a
robustness property, not a containment prerequisite: containment still holds via
the listener itself. Drop it from the launch gate and update the conformance
test to assert rejection on a containment-critical primitive instead.
Signed-off-by: Akram <akram.benaissi@gmail.com>1 parent b07efbd commit de00bfc
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
566 | 570 | | |
567 | 571 | | |
568 | 572 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
542 | 546 | | |
543 | 547 | | |
544 | 548 | | |
| |||
0 commit comments