[lxc-devel] [lxc/lxc] 9bd918: lxc-attach: add comment, & implement login_tty()

GitHub noreply at github.com
Mon Feb 22 15:23:00 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 9bd91876326d412b1308ee90d2150bd7534b376c
      https://github.com/lxc/lxc/commit/9bd91876326d412b1308ee90d2150bd7534b376c
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M src/lxc/lxc_attach.c

  Log Message:
  -----------
  lxc-attach: add comment, & implement login_tty()

- The code required to prepare an fd to act as a login tty is shared among
  pty_on_host_callback() and fork_pty(). This implements login_pty(), a
  minimalistic login_tty() clone, to avoid code redundancy.
- Give pty_in_container() a slightly extended comment.

Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>


  Commit: b5c8400909b863bd4b260fa45a947f652c83d5fd
      https://github.com/lxc/lxc/commit/b5c8400909b863bd4b260fa45a947f652c83d5fd
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M src/lxc/lxc_attach.c

  Log Message:
  -----------
  Merge pull request #839 from brauner/2016-02-15/lxc_attach_pty

lxc-attach: add comment, & implement login_tty()


Compare: https://github.com/lxc/lxc/compare/f7cdb292fe7d...b5c8400909b8


More information about the lxc-devel mailing list