[lxc-devel] [lxc/lxc] c1fd64: c/r: don't require a veth link to c/r

GitHub noreply at github.com
Fri Nov 6 21:08:30 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: c1fd648dd85fd254e31bb8d3503cb6b7009cfcfc
      https://github.com/lxc/lxc/commit/c1fd648dd85fd254e31bb8d3503cb6b7009cfcfc
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-11-06 (Fri, 06 Nov 2015)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: don't require a veth link to c/r

veths can be unconnected in the container's config, and we should handle
this case.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 8d2ede581f8ddf84f176ebf73d52b66771a1d91b
      https://github.com/lxc/lxc/commit/8d2ede581f8ddf84f176ebf73d52b66771a1d91b
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2015-11-06 (Fri, 06 Nov 2015)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  define PR_SET_MM_MAP & friends if necessary

PR_SET_MM_MAP only went in to the kernel at 3.18 (or 3.19), so we need to
define these for kernels before then. If there was an error, the code
simply logs the failure and continues on.

Also, we can drop the PR_SET_MM_otherstuff contstants since those were
dropped in 93525c00c76b2804c46cf3c275d610ebe71cb4be.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/93525c00c76b...8d2ede581f8d


More information about the lxc-devel mailing list