[lxc-devel] [lxc/lxc] ee94a8: confile: use set_config_path_item() for most cgrou...

Stéphane Graber noreply at github.com
Mon Feb 15 17:57:12 UTC 2021


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

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: use set_config_path_item() for most cgroup layout modifiers

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


  Commit: 7d714159a3e055c384238ad68211bcea9aad338b
      https://github.com/lxc/lxc/commit/7d714159a3e055c384238ad68211bcea9aad338b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M src/lxc/confile_utils.c

  Log Message:
  -----------
  confile_utils: normalize paths in config items

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


  Commit: 0a48ee66c6e982657584a7df7ddc621d1fed9487
      https://github.com/lxc/lxc/commit/0a48ee66c6e982657584a7df7ddc621d1fed9487
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/log.h
    M src/lxc/string_utils.h

  Log Message:
  -----------
  confile: forbid walking upwards for confile items that modify cgroup layout

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


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

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/string_utils.h

  Log Message:
  -----------
  confile: forbid absolute paths in config items that modify the cgroup layout

This is not a safety measure but merely is supposed to raise awareness that
these paths are always relative to the cgroup root as determined by
lxc.cgroup.relative.

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


  Commit: 136b349c94dbc573ebfe762cde4f4b91faf8f428
      https://github.com/lxc/lxc/commit/136b349c94dbc573ebfe762cde4f4b91faf8f428
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/log.h
    M src/lxc/string_utils.h

  Log Message:
  -----------
  Merge pull request #3674 from brauner/2021-02-15/nesting

cgroups: tighten cgroup config items


Compare: https://github.com/lxc/lxc/compare/7e925736c911...136b349c94db


More information about the lxc-devel mailing list