You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sandbox): Landlock TCP port restriction in Platform mode
When Platform mode is active, apply Landlock ABI v4 network rules to
restrict TCP connect to only the proxy port (default 3128). This makes
the loopback CONNECT proxy mandatory at the kernel level.
Graceful degradation: handle_access(ConnectTcp) and add_rule(NetPort)
failures are caught independently -- filesystem sandboxing continues
even if TCP port restriction is unavailable (ABI < v4). Only the
network restriction degrades, not the entire sandbox.
Also fixes rules_applied underflow via saturating_sub.
Ref: NVIDIA#899
Signed-off-by: Ladislav Smola <lsmola@redhat.com>
0 commit comments