[lxc-devel] [lxc/lxc] 1f845c: fix cgpath test

GitHub noreply at github.com
Wed Oct 30 13:53:00 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 1f845c396fc102951cc250d75f6f2bbfcb321aa0
      https://github.com/lxc/lxc/commit/1f845c396fc102951cc250d75f6f2bbfcb321aa0
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2013-10-30 (Wed, 30 Oct 2013)

  Changed paths:
    M src/tests/cgpath.c

  Log Message:
  -----------
  fix cgpath test

Commit 1ea59ad28 sets memory.use_hierarchy, which means that this test
cannot use memory.swappiness as its dummy cgroup item to set/unset since
writing to it with use_hierarchy set gets -EINVAL. Change test to use
memory.soft_limit_in_bytes instead.

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 86b3688b267e7722ebd8c0ea4dafe5646139502c
      https://github.com/lxc/lxc/commit/86b3688b267e7722ebd8c0ea4dafe5646139502c
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2013-10-30 (Wed, 30 Oct 2013)

  Changed paths:
    M src/lxc/cgroup.c

  Log Message:
  -----------
  coverity 1097616: don't deref NULL when subsystem doesn't have a '.'

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/50266dc604ac...86b3688b267e


More information about the lxc-devel mailing list