[lxc-devel] [lxc/lxc] 2f62fb: cgfsng: fix is_lxcfs() and is_cgroupfs()

GitHub noreply at github.com
Mon Jul 25 15:44:29 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 2f62fb005bacc729728672f68c6869f66853fae5
      https://github.com/lxc/lxc/commit/2f62fb005bacc729728672f68c6869f66853fae5
  Author: Christian Brauner <cbrauner at suse.de>
  Date:   2016-07-25 (Mon, 25 Jul 2016)

  Changed paths:
    M src/lxc/cgfsng.c

  Log Message:
  -----------
  cgfsng: fix is_lxcfs() and is_cgroupfs()

Both functions advertise that they return true when strncmp() == 0 and false
when strncmp() != 0 but so far they returned the exact opposite.

Signed-off-by: Christian Brauner <cbrauner at suse.de>


  Commit: 3dad8c43bf7bf71cebe0dce7bb2fe27eda531b8e
      https://github.com/lxc/lxc/commit/3dad8c43bf7bf71cebe0dce7bb2fe27eda531b8e
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-07-25 (Mon, 25 Jul 2016)

  Changed paths:
    M src/lxc/cgfsng.c

  Log Message:
  -----------
  Merge pull request #1100 from brauner/2016-07-25/fix_cgfsng_lxcfs_and_cgroupfs_checkfuns

cgfsng: fix is_lxcfs() and is_cgroupfs()


Compare: https://github.com/lxc/lxc/compare/9d206b25f599...3dad8c43bf7b


More information about the lxc-devel mailing list