Commit c0f6eaa
fix(jailer): use ABI::V7 and bump landlock to 0.4.5
Per the Landlock crate maintainer's guidance, the ABI parameter should be
the highest version that has been tested, not a pinned older version.
Ruleset::default() uses SoftRequirement by default, so the crate
automatically downgrades to whatever the running kernel supports — no
behaviour change on older kernels.
- Bump landlock dependency from 0.4.4 to 0.4.5 (adds ABI::V7 support,
Linux 6.15).
- Switch from ABI::V4 to ABI::V7.
- Update the prepare_ruleset doc comment to reflect best-effort
semantics (no error on kernels with partial/no Landlock support).
Signed-off-by: Pavitra Bhalla <pavitra@superserve.ai>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 68c88c5 commit c0f6eaa
4 files changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
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 | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments