[lxc-devel] [lxc/lxc] b58214: tree-wide: improve setgroups() dropping

Stéphane Graber noreply at github.com
Thu Feb 13 00:10:33 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b58214ac30bd8f0a25ef22f4ac5a72676df1f8e7
      https://github.com/lxc/lxc/commit/b58214ac30bd8f0a25ef22f4ac5a72676df1f8e7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-02-13 (Thu, 13 Feb 2020)

  Changed paths:
    M src/lxc/attach.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/lxccontainer.c
    M src/lxc/start.c
    M src/lxc/storage/btrfs.c
    M src/lxc/storage/storage_utils.c

  Log Message:
  -----------
  tree-wide: improve setgroups() dropping

Drop groups before we change to userns root.

Reported-by: Teddy Reed <teddy.reed at gmail.com>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ecf79d49e762105e30b95f2c5e5de2893a02d6a9
      https://github.com/lxc/lxc/commit/ecf79d49e762105e30b95f2c5e5de2893a02d6a9
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2020-02-13 (Thu, 13 Feb 2020)

  Changed paths:
    M src/lxc/attach.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/lxccontainer.c
    M src/lxc/start.c
    M src/lxc/storage/btrfs.c
    M src/lxc/storage/storage_utils.c

  Log Message:
  -----------
  Merge pull request #3265 from brauner/2020-02-13/fix_setgroups

tree-wide: improve setgroups() dropping


Compare: https://github.com/lxc/lxc/compare/1d5f322246e0...ecf79d49e762


More information about the lxc-devel mailing list