[lxc-devel] [lxc/lxc] 0842a4: cgfsng: use EPOLLPRI when polling cgroup.events

Stéphane Graber noreply at github.com
Mon May 25 01:36:53 UTC 2020


  Branch: refs/heads/stable-4.0
  Home:   https://github.com/lxc/lxc
  Commit: 0842a4652e5788b4f82a424d0a7ee2c2b2240b81
      https://github.com/lxc/lxc/commit/0842a4652e5788b4f82a424d0a7ee2c2b2240b81
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

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

  Log Message:
  -----------
  cgfsng: use EPOLLPRI when polling cgroup.events

EPOLLIN will always be true and therefore end up
busy-looping

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: 7ebcd704bee176dd2f8700c6497d8a6f60ba12a4
      https://github.com/lxc/lxc/commit/7ebcd704bee176dd2f8700c6497d8a6f60ba12a4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M configure.ac
    M src/lxc/process_utils.c
    M src/lxc/process_utils.h

  Log Message:
  -----------
  process_utils: make lxc use clone3() whenever possible

No more weird api quirks between architectures and cool new features.

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


  Commit: df7d58b75aca3c710d62e37365a22142d2317981
      https://github.com/lxc/lxc/commit/df7d58b75aca3c710d62e37365a22142d2317981
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: restore old behavior

I introduced a regression: when users didn't specify a specific name via
lxc.net.<idx>.name then the device would retain the random name it received
when we created it. Before we would use the "eth%d" syntax to get the kernel to
assign a fixed name. Restore that behavior.

Closes: #3407.
Fixes: 8bf64b77ac8a ("network: rework network device creation")
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: fc0a8697b4a5a995e4863c48bda30fb6d805dc91
      https://github.com/lxc/lxc/commit/fc0a8697b4a5a995e4863c48bda30fb6d805dc91
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: fix {mac,ip,v}lan device creation

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


  Commit: d7df095654693074aa3e581a78282bb0ad6b6944
      https://github.com/lxc/lxc/commit/d7df095654693074aa3e581a78282bb0ad6b6944
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/include/fexecve.c

  Log Message:
  -----------
  bionic: s/lxc_raw_execveat()/execveat()/g

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


  Commit: 92a8d6e061cbe516cacd9f143506908e7ed89b6c
      https://github.com/lxc/lxc/commit/92a8d6e061cbe516cacd9f143506908e7ed89b6c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: use __instantiate_ns_common() in instantiate_ns_phys() too

Fixes: https://lists.linuxcontainers.org/pipermail/lxc-users/2020-May/015245.html
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 323a156937cfc9b08e2bb7a43b2600d3b9cd3960
      https://github.com/lxc/lxc/commit/323a156937cfc9b08e2bb7a43b2600d3b9cd3960
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

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

  Log Message:
  -----------
  lxc-usernsexec: dumb down from error to warning message

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


  Commit: b8025217f72d32cd2a02d772527761edb8a8384d
      https://github.com/lxc/lxc/commit/b8025217f72d32cd2a02d772527761edb8a8384d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

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

  Log Message:
  -----------
  lxc-usernsexec: don't fail on setgroups()

We can fail to setgroups() when "deny" has been set which we need to set when
we are a fully unprivileged user.

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


  Commit: 0c9e185c962513661f5b26222770074946efcf25
      https://github.com/lxc/lxc/commit/0c9e185c962513661f5b26222770074946efcf25
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: Restrict coverity to gcc on bionic on amd64

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/b0ec3dc02a60...0c9e185c9625


More information about the lxc-devel mailing list