[lxc-devel] [lxc/lxc] 5777fe: console: move pty creation to separate function

GitHub noreply at github.com
Wed Jan 17 23:42:58 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 5777fe903040edf470159a75c287649b31df6ce4
      https://github.com/lxc/lxc/commit/5777fe903040edf470159a75c287649b31df6ce4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/console.c
    M src/lxc/console.h

  Log Message:
  -----------
  console: move pty creation to separate function

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 24945df77be5036e7f3c7a7b580a2af4ce8f3213
      https://github.com/lxc/lxc/commit/24945df77be5036e7f3c7a7b580a2af4ce8f3213
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/conf.h

  Log Message:
  -----------
  conf: move ringbuffer members to anonymous struct

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 4d1ffb0abb608d23ea399f36ed0b8d32e24935a8
      https://github.com/lxc/lxc/commit/4d1ffb0abb608d23ea399f36ed0b8d32e24935a8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: e98affdaa8c0588ad31338bbadca4d5544c38e35
      https://github.com/lxc/lxc/commit/e98affdaa8c0588ad31338bbadca4d5544c38e35
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/console.c
    M src/lxc/console.h

  Log Message:
  -----------
  console: add some pty helpers

- int lxc_make_controlling_pty()
- int lxc_login_pty()
- void lxc_pty_conf_free()
- void lxc_pty_info_init()
- void lxc_pty_init()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: b75c344c240587a2f5450fbeae8ff45f842c8c9a
      https://github.com/lxc/lxc/commit/b75c344c240587a2f5450fbeae8ff45f842c8c9a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: cleanup attach_child_main()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 30a33fbd279c79f5d36266a09b80e02f3a8aab8b
      https://github.com/lxc/lxc/commit/30a33fbd279c79f5d36266a09b80e02f3a8aab8b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/console.c
    M src/lxc/console.h
    M src/lxc/start.c
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  console: adapt lxc_console_mainloop_add()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 7cfeddd71543c36bbe8742123406e306dc4f6583
      https://github.com/lxc/lxc/commit/7cfeddd71543c36bbe8742123406e306dc4f6583
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/console.c
    M src/lxc/console.h
    M src/lxc/start.c
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  console: add lxc_pty_map_ids()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 08ea927039120932189c45c6d58622b4f9fec1a2
      https://github.com/lxc/lxc/commit/08ea927039120932189c45c6d58622b4f9fec1a2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: minor tweaks

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 79bd76625d76fada09b2ea5677f97b964b7e1f39
      https://github.com/lxc/lxc/commit/79bd76625d76fada09b2ea5677f97b964b7e1f39
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/attach_options.h

  Log Message:
  -----------
  attach_options: add log_fd argument

This will be used to log the output of attach to.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ba2be1a8a619f90ebcddc44fc030a262461b7cfa
      https://github.com/lxc/lxc/commit/ba2be1a8a619f90ebcddc44fc030a262461b7cfa
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M doc/lxc-attach.sgml.in
    M src/lxc/attach.c
    M src/lxc/attach_options.h
    M src/lxc/tools/lxc_attach.c
    M src/tests/attach.c
    M src/tests/lxc-test-lxc-attach

  Log Message:
  -----------
  attach: move pty allocation into api

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 766a3b2ee95272b37609640acc019e06ab3249ab
      https://github.com/lxc/lxc/commit/766a3b2ee95272b37609640acc019e06ab3249ab
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/tools/lxc_start.c

  Log Message:
  -----------
  tools: honor --console and --console-log

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: df0795b1bd7c92279e358a081437e2e2fc44a4d8
      https://github.com/lxc/lxc/commit/df0795b1bd7c92279e358a081437e2e2fc44a4d8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: dc5f6125d63caa215f33df1174ddc86b25cdb230
      https://github.com/lxc/lxc/commit/dc5f6125d63caa215f33df1174ddc86b25cdb230
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M src/lxc/console.c

  Log Message:
  -----------
  console: set SFD_CLOEXEC on signal fd

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 060adc61374895630ac4e004e514738a3381c592
      https://github.com/lxc/lxc/commit/060adc61374895630ac4e004e514738a3381c592
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  tests: do not call close() on invalid fd

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a13560af7e8f2332ebef6e2b3be269cd0443846b
      https://github.com/lxc/lxc/commit/a13560af7e8f2332ebef6e2b3be269cd0443846b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-17 (Wed, 17 Jan 2018)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: do not rely on unitialized variable

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 99eafdd4f73bce953b161b5cf2bd5f2be3ef878f
      https://github.com/lxc/lxc/commit/99eafdd4f73bce953b161b5cf2bd5f2be3ef878f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-17 (Wed, 17 Jan 2018)

  Changed paths:
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  test: log error on failure

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: c2229b24f93797b459aba479a80fc4c244f92302
      https://github.com/lxc/lxc/commit/c2229b24f93797b459aba479a80fc4c244f92302
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-01-17 (Wed, 17 Jan 2018)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: check suffix length

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: e08bdcbcb8a50f30763972da9c8902c566fd15e4
      https://github.com/lxc/lxc/commit/e08bdcbcb8a50f30763972da9c8902c566fd15e4
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2018-01-17 (Wed, 17 Jan 2018)

  Changed paths:
    M doc/lxc-attach.sgml.in
    M src/lxc/attach.c
    M src/lxc/attach_options.h
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/console.c
    M src/lxc/console.h
    M src/lxc/start.c
    M src/lxc/tools/lxc_attach.c
    M src/lxc/tools/lxc_start.c
    M src/lxc/utils.c
    M src/tests/attach.c
    M src/tests/lxc-test-lxc-attach
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  Merge pull request #2061 from brauner/2017-12-23/attach_allocate_pty_in_api

attach: add LXC_ATTACH_ALLOCATE_PTY


Compare: https://github.com/lxc/lxc/compare/e7d7dd73d2d1...e08bdcbcb8a5


More information about the lxc-devel mailing list