]> git.ipfire.org Git - thirdparty/lxc.git/commit
execute: do not check inherited fds again 2309/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 8 May 2018 15:58:36 +0000 (17:58 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 8 May 2018 16:10:13 +0000 (18:10 +0200)
commitc7a2deb2dcd0abb8e4619285a84892a45d4af961
tree09f3b936def46410c18651bf152e37ad23136628
parentcef701ede302a70f52bb1951f2dec2c0f88c2e5f
execute: do not check inherited fds again

This is already done in do_lxcapi_start{l}() so a) no need to do it again here
and b) this would close the state socket pair sockets, corrup the fd, and lead
to EBADF.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/execute.c