tokio 1.53.3+ deprecates the `AsyncFd` constructors sandlock-core uses
Hi! A quick note in case it's useful, nothing urgent.
cargo-deny flagged RUSTSEC-2026-0386 in a CI run for kamchatka, which uses sandlock-core. Moving our lockfile to tokio 1.54.1 cleared it. From 1.51.6 and 1.53.3, tokio deprecates AsyncFd::new, with_interest, try_new and try_with_interest in favour of the unsafe AsyncFd::register and register_with_interest.
sandlock-core 0.9.1 still uses the deprecated ones in a few places (reaper.rs, controller.rs, sandbox.rs, control.rs, seccomp/notif.rs, netlink/proxy.rs, network/send_engine.rs). Your Cargo.lock is on tokio 1.51.0, so the warnings don't show up in your builds yet, and downstream crates don't see them because cargo silences lints from dependencies.
Most of these calls hand over an owned descriptor, so moving them should be mechanical. Two of them, Reaper::exit and MainExit::wait, register a borrowed raw fd. Registering a duplicate of the descriptor there might be the neatest fit for the new API.
Thanks for sandlock, and for the quick resolution of the other issues!