[lxc-devel] [lxc/lxc] 62183f: attach: don't ignore sigint/sigkill if stdin is re...

GitHub noreply at github.com
Wed Oct 29 15:23:08 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 62183f1af7f265b74a12297e0ab2f82f6a1f783e
      https://github.com/lxc/lxc/commit/62183f1af7f265b74a12297e0ab2f82f6a1f783e
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-10-29 (Wed, 29 Oct 2014)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: don't ignore sigint/sigkill if stdin is redirected

If attach is being done over passed-in fds, then we shouldn't
mess with the caller's signal table to ignore ctrl-c over the
fd.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list