mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
This change refactors the network configuration flow during sandbox restore and defers the creation of network links and routes in runsc to run after seccomp filters are installed. - Replaced ReplaceConfig with ResetConfig in inet.Stack. Introduced inet.NetworkArgs to configure the stack during restore, updating k.LoadFrom to use it. - Renamed CreateLinksAndRoutes URPC to SetNetworkArgs, which now configures host sockets before seccomp is installed, deferring link/route creation to run after seccomp. - Fixed S/R support by saving and restoring limit/burst state. - Minor seccomp filter adjustments and test updates. PiperOrigin-RevId: 945995430