containerd / ttrpc-rust

Rust implementation of ttrpc (GRPC for low-memory environments)
Apache License 2.0
195 stars 45 forks source link

open the socket with SOCK_CLOEXEC #20

Closed lifupan closed 4 years ago

lifupan commented 4 years ago

Open the socket with SOCK_CLOEXEC to prevent socket leak into child process.

Signed-off-by: fupan.lfp fupan.lfp@antfin.com