]> git.proxmox.com Git - mirror_lxc.git/commit
attach: reset signal mask
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 7 Oct 2018 09:21:06 +0000 (11:21 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 7 Oct 2018 09:50:23 +0000 (11:50 +0200)
commitf157b05636194e74ebbd16f9fa167bbb6488f1f1
treef651eb261dccb42fef961e7b53ade658b1bf71e6
parent969e23f2e15adb28cefcea7cd82d38844b357212
attach: reset signal mask

Since we introduced clean exit from the mainloop when SIGTERM is sent we
changed the signal mask of the parent process but we never reset the
signal mask for the actual attached process.

Closes #399.

Fixes: 1349e92e4d23 ("console: exit mainloop on SIGTERM")
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/attach.c