[lxc-devel] [lxc/lxc] b4ffcc: cgfsng: fix real bug and fake libc realloc bug

GitHub noreply at github.com
Wed Mar 9 07:53:04 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b4ffcca8e83ec6b70bfe5d72da6f0dd930113679
      https://github.com/lxc/lxc/commit/b4ffcca8e83ec6b70bfe5d72da6f0dd930113679
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M src/lxc/cgfsng.c

  Log Message:
  -----------
  cgfsng: fix real bug and fake libc realloc bug

read_file was using the wrong value for the string length.  Also,
realloc on i386 is wonky with small sizes - so use a batch size
to avoid small reallocs.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: d8da679e2a3b49ea389297dfd67e8c18bbb70116
      https://github.com/lxc/lxc/commit/d8da679e2a3b49ea389297dfd67e8c18bbb70116
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M src/lxc/cgfsng.c

  Log Message:
  -----------
  cgfsng: make sure a cgroup does not already exist

Our mkdir_p ignore eexist, and of course we want that for
upper path components, but the final directory itself must
not already exist.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: 6b6c6b2bdd46e5ae8695d0b764cde643dc7f0a88
      https://github.com/lxc/lxc/commit/6b6c6b2bdd46e5ae8695d0b764cde643dc7f0a88
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-03-09 (Wed, 09 Mar 2016)

  Changed paths:
    M src/lxc/cgfsng.c

  Log Message:
  -----------
  Merge pull request #884 from hallyn/2016-03-08/batch

2016 03 08/batch


Compare: https://github.com/lxc/lxc/compare/5d5c5694bde1...6b6c6b2bdd46


More information about the lxc-devel mailing list