[lxc-devel] [lxc/lxc] 0b8e87: attach: don't return early when calculating namesp...

Stéphane Graber noreply at github.com
Mon Apr 12 17:20:20 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0b8e876fbda6d7198b483ac7a96169e78f97e519
      https://github.com/lxc/lxc/commit/0b8e876fbda6d7198b483ac7a96169e78f97e519
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: don't return early when calculating namespaces via pidfd

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


  Commit: 09a83db55bf54f6afbde166f7edbe6bc68b90b67
      https://github.com/lxc/lxc/commit/09a83db55bf54f6afbde166f7edbe6bc68b90b67
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M src/lxc/rexec.c

  Log Message:
  -----------
  Revert "rexec: mark all fds as close-on-exec if possible"

This reverts commit 531d36ad009325b74a105d9d6956e320f37b2937.

Callers might want to explicilty inhert file descriptors so we can't
close them behind their back when we exec.

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


  Commit: aeff7df6e44d76a14e57646e9a63dee9c5aefbce
      https://github.com/lxc/lxc/commit/aeff7df6e44d76a14e57646e9a63dee9c5aefbce
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M src/lxc/attach.c
    M src/lxc/rexec.c

  Log Message:
  -----------
  Merge pull request #3779 from brauner/2021-04-12/attach_fixes

attach: fixes


Compare: https://github.com/lxc/lxc/compare/d32dcd01e730...aeff7df6e44d


More information about the lxc-devel mailing list