]> git.ipfire.org Git - thirdparty/lxc.git/commit
conf: close fd in lxc_setup_devpts() 1528/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 28 Apr 2017 11:52:43 +0000 (13:52 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 28 Apr 2017 13:19:17 +0000 (15:19 +0200)
commite87bd19cebec8e0e0a8bd2094b7d92eee3516d1d
tree85747316dac33001ff567ed849f996bf2e91325c
parentda1ef68cae7016ab1a051c23b4e5244cd2b6c16f
conf: close fd in lxc_setup_devpts()

This left the file descriptor to the underlying /dev/ptmx file open which
confused the hell out of criu. Let's close it.

Closes https://github.com/lxc/lxd/issues/3243.

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