mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
267ba8f753
I've refactored NetworkSetNsPid and NetworkSetNsFd following what we already have in place for Add/Del Ip and Add/Del Link. I've reimplemented NetworkChangeName function which is now using netlink for changing the interface name. I added tests too. I've moved the original syscall implementation at the bottom to keep it together with the other non-netlink functions. Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com> (github: milosgajdos83)