[lxc-devel] [lxc/lxc] 5af85c: c/r: save criu's stdout during dump too

GitHub noreply at github.com
Wed Nov 2 18:05:18 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 5af85cb1447fec6f05513c0e34991ccd0f5a6560
      https://github.com/lxc/lxc/commit/5af85cb1447fec6f05513c0e34991ccd0f5a6560
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: save criu's stdout during dump too

This also allows us to commonize some bits of the dup2 code.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: 9f1f54b0c5fc600cecc43d1608271dbf9b78d20b
      https://github.com/lxc/lxc/commit/9f1f54b0c5fc600cecc43d1608271dbf9b78d20b
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: remove extra \ns from logs

The macros put a \n in for us, so let's not put another one in.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: 2735dfae4c38e20e6cf5c0f74c4e0f1b13890629
      https://github.com/lxc/lxc/commit/2735dfae4c38e20e6cf5c0f74c4e0f1b13890629
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: fix off-by-one error

When we read sizeof(buf) bytes here, we'd write off the end of the array,
which is bad :)

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: 59f1c5ca63f7288fa7a83f31c3886bc61d6b4260
      https://github.com/lxc/lxc/commit/59f1c5ca63f7288fa7a83f31c3886bc61d6b4260
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  Merge pull request #1270 from tych0/save-dump-state-too

c/r: save dump stdout too


Compare: https://github.com/lxc/lxc/compare/52e129450eae...59f1c5ca63f7


More information about the lxc-devel mailing list