sandlock icon indicating copy to clipboard operation
sandlock copied to clipboard

core: library writes to stderr instead of returning errors

Open congwang-mk opened this issue 1 month ago • 0 comments

About 16 non-test eprintln!s remain in sandlock-core (seccomp/notif.rs, sandbox.rs, sandbox/builder.rs, transparent_proxy, freeze.rs, netlink/proxy.rs, policy_fn.rs, cow). An embedded library should not write to the host's stderr: return errors where a caller exists, and route the rest through log.

The control socket and name registry opt-out moved to #317.

congwang-mk avatar Oct 23 '26 04:10 congwang-mk