[lxc-devel] [lxc/lxc] 6eb516: lxccontainer: fix lxc_config_item_is_supported

Christian Brauner noreply at github.com
Tue Oct 27 16:13:22 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6eb516a793edd7c8e37472d00d1fc599f176bb97
      https://github.com/lxc/lxc/commit/6eb516a793edd7c8e37472d00d1fc599f176bb97
  Author: Ruben Jenster <r.jenster at drachenfels.de>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/confile.h
    M src/lxc/lxccontainer.c
    M src/tests/get_item.c

  Log Message:
  -----------
  lxccontainer: fix lxc_config_item_is_supported

Use exact match instead of longest prefix match
to check whether a config item is supported.

Signed-off-by: Ruben Jenster <r.jenster at drachenfels.de>


  Commit: dd8d55091991d7cbbef20b93a06fd500d0d8e4d2
      https://github.com/lxc/lxc/commit/dd8d55091991d7cbbef20b93a06fd500d0d8e4d2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/confile.h
    M src/lxc/lxccontainer.c
    M src/tests/get_item.c

  Log Message:
  -----------
  Merge pull request #3564 from Drachenfels-GmbH/fixes

lxccontainer: fix lxc_config_item_is_supported


Compare: https://github.com/lxc/lxc/compare/c8fe11552a41...dd8d55091991


More information about the lxc-devel mailing list