[lxc-devel] [lxc/lxc] b4c9fc: macro: Adds UINT_TO_PTR and PTR_TO_USHORT helpers

gaurav noreply at github.com
Mon Jun 15 16:52:34 UTC 2020


  Branch: refs/heads/stable-4.0
  Home:   https://github.com/lxc/lxc
  Commit: b4c9fc149e14090cb47da21a97095e34837018ee
      https://github.com/lxc/lxc/commit/b4c9fc149e14090cb47da21a97095e34837018ee
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/macro.h

  Log Message:
  -----------
  macro: Adds UINT_TO_PTR and PTR_TO_USHORT helpers

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: f36a519af927f5bf381e1a32a4698b16a0aba722
      https://github.com/lxc/lxc/commit/f36a519af927f5bf381e1a32a4698b16a0aba722
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: Adds check for bridge link interface existence in instantiate_veth

To avoid misleading errors about openvswitch when non-existent bridge link interface specified.

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: ebd26a19721482631e57cc985c5fec0ccee50185
      https://github.com/lxc/lxc/commit/ebd26a19721482631e57cc985c5fec0ccee50185
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: Updates netlink_open handling in lxc_ipvlan_create

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: 5d2ce0b6dbe9642fb80553550ca942c73fd0307e
      https://github.com/lxc/lxc/commit/5d2ce0b6dbe9642fb80553550ca942c73fd0307e
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: Removes unused ip_proxy_args

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: 1bb0804961b7bf1bd23ee6aec1c295a19805f12c
      https://github.com/lxc/lxc/commit/1bb0804961b7bf1bd23ee6aec1c295a19805f12c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: initialize lxc.pivot cpuset

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


  Commit: 18adfa20e072556a3df252da92ac5fd1ecb42347
      https://github.com/lxc/lxc/commit/18adfa20e072556a3df252da92ac5fd1ecb42347
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: remove faulty flags

If we set O_RDWR we won't be able to open directories and if we set O_PATH we
won't be able to chown.

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


  Commit: d3d1c6e112691440bf0cd9c3c0d8acdd92840540
      https://github.com/lxc/lxc/commit/d3d1c6e112691440bf0cd9c3c0d8acdd92840540
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: always use target_fd in userns_exec_mapped_root()

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


  Commit: dd6ed3b07b22a36c3ab8834a4d151800b8def8d1
      https://github.com/lxc/lxc/commit/dd6ed3b07b22a36c3ab8834a4d151800b8def8d1
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: add some more logging to userns_exec_mapped_root()

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


  Commit: a993d4f1ad0469f174a56598dad1b8c9a05e4e62
      https://github.com/lxc/lxc/commit/a993d4f1ad0469f174a56598dad1b8c9a05e4e62
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

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

  Log Message:
  -----------
  conf: kill old chown_mapped_root()

It's now a wrapper around userns_exec_mapped_root() which allows us to avoid
fork() + exec() lxc-usernsexec makes things way nicer to test with ASAN etc.

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


  Commit: 2989eb15e8984da912826d47d6bcb81f1c18358d
      https://github.com/lxc/lxc/commit/2989eb15e8984da912826d47d6bcb81f1c18358d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  lxccontainer: remove pointless string duplication

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


  Commit: e84f3ab7f70e0ca712ea3e537a81488531dee2f7
      https://github.com/lxc/lxc/commit/e84f3ab7f70e0ca712ea3e537a81488531dee2f7
  Author: Gaurav Singh <gaurav1086 at gmail.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M src/tests/containertests.c

  Log Message:
  -----------
  containertests: fix null pointer defereference

Signed-off-by: Gaurav Singh <gaurav1086 at gmail.com>


Compare: https://github.com/lxc/lxc/compare/9d81b99a14cb...e84f3ab7f70e


More information about the lxc-devel mailing list