crun
crun copied to clipboard
[WIP] src/libcrun: improve error handling for the mnt namespace restoration
trafficstars
This patch addresses the issue where the setns mnt: Bad file descriptor error can occur during namespace restoration, specifically with the mount namespace (CLONE_NEWNS). The error arises when crun attempts to restore a namespace that hasn't been properly tracked, leading to an invalid file descriptor being passed to setns.