-
console: ensure that fd is marked EBADF · c06a0555Christian Brauner authored
If the handler closes the file descriptor for the peer or master fd it is crucial that we mark it as -EBADF. This will prevent lxc_console_delete() from calling close() on an already closed file descriptor again. I've observed the double close in the attach code. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
×