[lxc-devel] [lxc/lxc] 6fec43: cgroups: reorder function arguments

Stéphane Graber noreply at github.com
Wed Feb 17 13:59:29 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6fec43278ec4da59cb9879bcba4ce92dea6f9a9c
      https://github.com/lxc/lxc/commit/6fec43278ec4da59cb9879bcba4ce92dea6f9a9c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: reorder function arguments

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


  Commit: 2291719e82e484d05cfc1b87984ab48e8fd2eb13
      https://github.com/lxc/lxc/commit/2291719e82e484d05cfc1b87984ab48e8fd2eb13
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: remove obsolote check

In the new layout we don't need to do this.

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


  Commit: cb423bd38bbabac97967d0a63020061507cb20cc
      https://github.com/lxc/lxc/commit/cb423bd38bbabac97967d0a63020061507cb20cc
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: rework cgroup tree removal on creation failure

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


  Commit: 6c880cdfa1d3be358c4ab04f6346c21213bbca9a
      https://github.com/lxc/lxc/commit/6c880cdfa1d3be358c4ab04f6346c21213bbca9a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: ensure leaf cgroup is correctly pruned on creation failure

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


  Commit: a6aeb9f1b927ce314c589e5b0db2cb4eb15aef6f
      https://github.com/lxc/lxc/commit/a6aeb9f1b927ce314c589e5b0db2cb4eb15aef6f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: rework cgroup tree creation

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


  Commit: 471929c6d0dcbaeaa7748b54b7b0630887002ba6
      https://github.com/lxc/lxc/commit/471929c6d0dcbaeaa7748b54b7b0630887002ba6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: be stricter when creating payloads

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


  Commit: 1e05885505522049a51bd9e26680607d321d892e
      https://github.com/lxc/lxc/commit/1e05885505522049a51bd9e26680607d321d892e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: don't rely on absolute path

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


  Commit: 57abfbb640d7ccde951941c960ef383a2c183f27
      https://github.com/lxc/lxc/commit/57abfbb640d7ccde951941c960ef383a2c183f27
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: don't move pivot cgroup under the monitor's cgroup

Otherwise we will never be able to destroy the monitor's cgroup.

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


  Commit: c1ece8951856dd5357e31df9ec38bd7e3c46f624
      https://github.com/lxc/lxc/commit/c1ece8951856dd5357e31df9ec38bd7e3c46f624
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: ensure we don't remove cgroups we didn't create

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


  Commit: 9981107f554d0cb2213adafb098c17038907bca5
      https://github.com/lxc/lxc/commit/9981107f554d0cb2213adafb098c17038907bca5
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: ensure we prune the limit dir

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


  Commit: 8f45c49bb1ba70e2eb1af2e64f10df853c4c22bf
      https://github.com/lxc/lxc/commit/8f45c49bb1ba70e2eb1af2e64f10df853c4c22bf
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: simplify mount opening

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


  Commit: 0954f6cec901759673357d1bea48f5cb6dede5b1
      https://github.com/lxc/lxc/commit/0954f6cec901759673357d1bea48f5cb6dede5b1
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  cgroups: prevent NULL pointer deref

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


  Commit: b3ad27fb434f29ad293ab24f2b3833c2db756b44
      https://github.com/lxc/lxc/commit/b3ad27fb434f29ad293ab24f2b3833c2db756b44
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  Merge pull request #3679 from brauner/2021-02-17/cgroups

cgroups: third batch of cgroup fixes


Compare: https://github.com/lxc/lxc/compare/e82bb1b36086...b3ad27fb434f


More information about the lxc-devel mailing list