[lxc-devel] [lxc/lxc] f38155: start: do not init ns_clone_flags to -1

GitHub noreply at github.com
Mon May 28 14:29:17 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: f3815517f22d39fbd3458f8559467c947b1e291b
      https://github.com/lxc/lxc/commit/f3815517f22d39fbd3458f8559467c947b1e291b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: do not init ns_clone_flags to -1

ns_clone_flags is used as a bitmask so initializing it to -1 is a bad idea.

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


  Commit: 386e676854f56268fae34cd84babae983c0d7f2e
      https://github.com/lxc/lxc/commit/386e676854f56268fae34cd84babae983c0d7f2e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: ensure lxc_delete_tty() does not crash

We need to make sure that the ttys are actually initialized otherwise deleting
them is not safe.

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


  Commit: 5c478fb5439d16b2202275f6bd3694551bd7f850
      https://github.com/lxc/lxc/commit/5c478fb5439d16b2202275f6bd3694551bd7f850
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2018-05-28 (Mon, 28 May 2018)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/start.c

  Log Message:
  -----------
  Merge pull request #2358 from brauner/2018-05-28/do_not_init_ns_clone_flags

start: do not init ns_clone_flags to -1


Compare: https://github.com/lxc/lxc/compare/b71841358ea5...5c478fb5439d
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list