[lxc-devel] [lxc/lxc] 415a88: conf: add userns_exec_full()

GitHub noreply at github.com
Sun Sep 10 23:42:55 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 415a8851483d354f8e95d6d9788687fbdf48a69d
      https://github.com/lxc/lxc/commit/415a8851483d354f8e95d6d9788687fbdf48a69d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-09 (Sat, 09 Sep 2017)

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

  Log Message:
  -----------
  conf: add userns_exec_full()

Closes #1800.

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


  Commit: ee484f7f6851088b16532ea82bce506b1434c05a
      https://github.com/lxc/lxc/commit/ee484f7f6851088b16532ea82bce506b1434c05a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-09 (Sat, 09 Sep 2017)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  lxccontainer: use userns_exec_full()

Closes #1800.

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


  Commit: 94b0a3ac393d0081520a0f32004ce15e2ade13af
      https://github.com/lxc/lxc/commit/94b0a3ac393d0081520a0f32004ce15e2ade13af
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-09 (Sat, 09 Sep 2017)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: userns_exec_full()

Closes #1800.

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


  Commit: 5c05427a60171963fa56d45150374080fe2f223f
      https://github.com/lxc/lxc/commit/5c05427a60171963fa56d45150374080fe2f223f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-09 (Sat, 09 Sep 2017)

  Changed paths:
    M src/lxc/storage/aufs.c
    M src/lxc/storage/btrfs.c
    M src/lxc/storage/overlay.c
    M src/lxc/storage/storage.c
    M src/lxc/storage/storage.h

  Log Message:
  -----------
  storage: use userns_exec_full()

Closes #1800.

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


  Commit: a05a723f6a08fecfbef68a02dc0080c2ca9ac9ad
      https://github.com/lxc/lxc/commit/a05a723f6a08fecfbef68a02dc0080c2ca9ac9ad
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-09 (Sat, 09 Sep 2017)

  Changed paths:
    M src/lxc/console.c

  Log Message:
  -----------
  console: remove dead assignments

non-functional changes

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


  Commit: 4dd08ac85fe302c288284d4dabb76462d67c2877
      https://github.com/lxc/lxc/commit/4dd08ac85fe302c288284d4dabb76462d67c2877
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-09 (Sat, 09 Sep 2017)

  Changed paths:
    M src/lxc/monitor.c

  Log Message:
  -----------
  monitor: remove dead assignment

non-functional changes

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


  Commit: 9e2bdae4a64ccbf59d9e402951be2ca01ecb5449
      https://github.com/lxc/lxc/commit/9e2bdae4a64ccbf59d9e402951be2ca01ecb5449
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-09 (Sat, 09 Sep 2017)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: remove dead variable

non-functional changes

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


  Commit: 42277b1ca17e49a3d07ec06259c5fec440179f1a
      https://github.com/lxc/lxc/commit/42277b1ca17e49a3d07ec06259c5fec440179f1a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-09 (Sat, 09 Sep 2017)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  criu: use correct check initialization check

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


  Commit: 180c477a326ce85632249ff16990e8c29db1b6fa
      https://github.com/lxc/lxc/commit/180c477a326ce85632249ff16990e8c29db1b6fa
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/storage/overlay.c

  Log Message:
  -----------
  storage/overlay: do not write to invalid memory

Closes #1802.

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


  Commit: 7a643c7c02ac394d79a03bcb93dff6368ad044e7
      https://github.com/lxc/lxc/commit/7a643c7c02ac394d79a03bcb93dff6368ad044e7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: do not write to 0 sized buffer

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


  Commit: e10e9f59ac308d3e6de57cec3ef479eadb21767c
      https://github.com/lxc/lxc/commit/e10e9f59ac308d3e6de57cec3ef479eadb21767c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/storage/overlay.c

  Log Message:
  -----------
  overlay: fix use after free()

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


  Commit: ab9e3ff33d39e6eb62a05242b06729d5a4ba1fa1
      https://github.com/lxc/lxc/commit/ab9e3ff33d39e6eb62a05242b06729d5a4ba1fa1
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/confile_utils.c

  Log Message:
  -----------
  confile: parse_idmaps() remove dead assignments

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


  Commit: 40625b63a4dd6f69de16c482e3017bcffb6815a5
      https://github.com/lxc/lxc/commit/40625b63a4dd6f69de16c482e3017bcffb6815a5
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

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

  Log Message:
  -----------
  lxc-unshare: do not pass NULL pointer

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


  Commit: 1285f7d59af758318bb431e7ad433fcaaea15d39
      https://github.com/lxc/lxc/commit/1285f7d59af758318bb431e7ad433fcaaea15d39
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

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

  Log Message:
  -----------
  lxc_usernsexec: remove dead assignments

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


  Commit: 258611dd5ae49d581272ef03d124c730bf7ec948
      https://github.com/lxc/lxc/commit/258611dd5ae49d581272ef03d124c730bf7ec948
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/tests/containertests.c
    M src/tests/destroytest.c
    M src/tests/saveconfig.c
    M src/tests/shortlived.c
    M src/tests/startone.c

  Log Message:
  -----------
  tests: remove dead assignments

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


  Commit: ad0b79f057772abb939b5195486b421ff380b418
      https://github.com/lxc/lxc/commit/ad0b79f057772abb939b5195486b421ff380b418
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/tests/concurrent.c

  Log Message:
  -----------
  tests: avoid NULL pointer dereference

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


  Commit: 2468599d8e53df9c8f8490989382dfddad0856c2
      https://github.com/lxc/lxc/commit/2468599d8e53df9c8f8490989382dfddad0856c2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: lxc_popen() remove dead assignments

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


  Commit: cef588fcf0341e431bd3bbd3cf1ed10ac1a03e89
      https://github.com/lxc/lxc/commit/cef588fcf0341e431bd3bbd3cf1ed10ac1a03e89
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/lxc_user_nic.c

  Log Message:
  -----------
  lxc-user-nic: remove double initialization

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


  Commit: 5fe9c0a0e6e7725f502b06c8ecd40f82a7ae4944
      https://github.com/lxc/lxc/commit/5fe9c0a0e6e7725f502b06c8ecd40f82a7ae4944
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: remove dead assignments

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


  Commit: 3b13691dcac9ad02edb67ee067ab31d694ab8dc4
      https://github.com/lxc/lxc/commit/3b13691dcac9ad02edb67ee067ab31d694ab8dc4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: preserve newlines

Users were confused when the config file created during cloning or copying a
container suddenly missed all newlines. Let's keep them.

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


  Commit: ed8704d040b48c7e248a98a694a39094957b741f
      https://github.com/lxc/lxc/commit/ed8704d040b48c7e248a98a694a39094957b741f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

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

  Log Message:
  -----------
  execute: enable console & standard /dev symlinks

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


  Commit: 42f055d0f6aef0861593bc01cc6cfa424aaa0f7e
      https://github.com/lxc/lxc/commit/42f055d0f6aef0861593bc01cc6cfa424aaa0f7e
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/console.c
    M src/lxc/criu.c
    M src/lxc/lxc_user_nic.c
    M src/lxc/lxccontainer.c
    M src/lxc/monitor.c
    M src/lxc/network.c
    M src/lxc/start.c
    M src/lxc/storage/aufs.c
    M src/lxc/storage/btrfs.c
    M src/lxc/storage/overlay.c
    M src/lxc/storage/storage.c
    M src/lxc/storage/storage.h
    M src/lxc/tools/lxc_unshare.c
    M src/lxc/tools/lxc_usernsexec.c
    M src/lxc/utils.c
    M src/tests/concurrent.c
    M src/tests/containertests.c
    M src/tests/destroytest.c
    M src/tests/saveconfig.c
    M src/tests/shortlived.c
    M src/tests/startone.c

  Log Message:
  -----------
  Merge pull request #1801 from brauner/2017-09-09/userns_exec

conf: add userns_exec_full()


Compare: https://github.com/lxc/lxc/compare/178726513463...42f055d0f6ae


More information about the lxc-devel mailing list