[lxc-devel] [lxc/lxc] 0519b5: console: prepare for generic signal handler
GitHub
noreply at github.com
Mon Nov 13 15:28:48 UTC 2017
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 0519b5cce799cca7c1b493c27bdaacb1fe589906
https://github.com/lxc/lxc/commit/0519b5cce799cca7c1b493c27bdaacb1fe589906
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Changed paths:
M src/lxc/console.c
M src/lxc/console.h
M src/lxc/tools/lxc_attach.c
Log Message:
-----------
console: prepare for generic signal handler
Non-functional changes to enable handling more signals.
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 1349e92e4d23f72cc2969d54b77ade9b11eaddd1
https://github.com/lxc/lxc/commit/1349e92e4d23f72cc2969d54b77ade9b11eaddd1
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Changed paths:
M src/lxc/console.c
Log Message:
-----------
console: exit mainloop on SIGTERM
This allows cleanly exiting a console session without control sequences.
Relates to https://github.com/lxc/lxd/pull/4001 .
Note that the existence of a signal handler now doesn't guarantee that ts->node
is allocated. Instead, ts->node will now only be added to if stdinfd is a tty.
New checks need to take that into account.
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 05e1745cc1e70578e9d51d2e1f7655de3f056644
https://github.com/lxc/lxc/commit/05e1745cc1e70578e9d51d2e1f7655de3f056644
Author: Serge Hallyn <serge at hallyn.com>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Changed paths:
M src/lxc/console.c
M src/lxc/console.h
M src/lxc/tools/lxc_attach.c
Log Message:
-----------
Merge pull request #1920 from brauner/2017-11-12/console_exit_clean_on_sigterm
console: exit mainloop on SIGTERM
Compare: https://github.com/lxc/lxc/compare/f03e93fb3c3f...05e1745cc1e7
More information about the lxc-devel
mailing list