[lxc-devel] [lxc/lxc] 32a2ca: utils: make detect_ramfs_rootfs() return bool

GitHub noreply at github.com
Wed Oct 26 19:42:59 UTC 2016


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: 32a2ca497302137b25d02b734c63cd8513b4870d
      https://github.com/lxc/lxc/commit/32a2ca497302137b25d02b734c63cd8513b4870d
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  utils: make detect_ramfs_rootfs() return bool

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: ac920ef6d37f6d741353adf2e78702546a1a1237
      https://github.com/lxc/lxc/commit/ac920ef6d37f6d741353adf2e78702546a1a1237
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M .gitignore
    M src/tests/Makefile.am
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  tests: add test for detect_ramfs_rootfs()

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: 8d45c62cde0efc54a4159a51752c42baf6cf5f28
      https://github.com/lxc/lxc/commit/8d45c62cde0efc54a4159a51752c42baf6cf5f28
  Author: Evgeni Golov <evgeni at debian.org>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M config/init/systemd/lxc.service.in
    M config/init/systemd/lxc at .service.in

  Log Message:
  -----------
  add Documentation entries to lxc and lxc@ units

Signed-off-by: Evgeni Golov <evgeni at debian.org>


  Commit: 51ee3c5891d7e95247adb6b605a2e3ab591dc449
      https://github.com/lxc/lxc/commit/51ee3c5891d7e95247adb6b605a2e3ab591dc449
  Author: Evgeni Golov <evgeni at debian.org>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/python-lxc/examples/api_test.py
    M src/python-lxc/examples/pyconsole-vte.py
    M src/python-lxc/examples/pyconsole.py

  Log Message:
  -----------
  mark the python examples as having utf-8 encoding

this allows running them also under Python2, which otherwise
would choke on Stéphane's name and error out with
 SyntaxError: Non-ASCII character '\xc3' in file …

Signed-off-by: Evgeni Golov <evgeni at debian.org>


  Commit: 934ecd08fc4ecc116f6ec16f14a63cd740b392d0
      https://github.com/lxc/lxc/commit/934ecd08fc4ecc116f6ec16f14a63cd740b392d0
  Author: Lans Zhang <jia.zhang at windriver.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/log.c

  Log Message:
  -----------
  log: sanity check the returned value from snprintf()

The returned value from snprintf() should be checked carefully.

This bug can be leveraged to execute arbitrary code through carefully
constructing the payload, e.g,

lxc-freeze -n `python -c "print 'AAAAAAAA' + 'B'*959"` -P PADPAD -o /tmp/log

This command running on Ubuntu 14.04 (x86-64) can cause a segment fault.

Signed-off-by: Lans Zhang <jia.zhang at windriver.com>


  Commit: 51ee5e0cec79793575ee8c64909b965a132a064d
      https://github.com/lxc/lxc/commit/51ee5e0cec79793575ee8c64909b965a132a064d
  Author: Jakub Jirutka <jakub at jirutka.cz>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M config/templates/alpine.common.conf.in

  Log Message:
  -----------
  lxc-alpine: mount /dev/shm as tmpfs

Signed-off-by: Jakub Jirutka <jakub at jirutka.cz>


  Commit: 2b67aaee94926d07dba6c6fea97d8ed138afa9d0
      https://github.com/lxc/lxc/commit/2b67aaee94926d07dba6c6fea97d8ed138afa9d0
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M templates/lxc-archlinux.in

  Log Message:
  -----------
  archlinux: Do DHCP on eth0

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: b91f0faeaa847774b7645b9172cc9a58277d1ed0
      https://github.com/lxc/lxc/commit/b91f0faeaa847774b7645b9172cc9a58277d1ed0
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M templates/lxc-archlinux.in

  Log Message:
  -----------
  archlinux: Fix resolving

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 3180209096685d2bc25886cb538a5be8ce372f9d
      https://github.com/lxc/lxc/commit/3180209096685d2bc25886cb538a5be8ce372f9d
  Author: Jafar Al-Gharaibeh <to.jafar at gmail.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/arguments.h
    M src/lxc/lxc.h

  Log Message:
  -----------
  Drop leftover references to lxc_strerror().

lxc_strerror() was dropped long time ago, in 2009 to be exact.

Related commit:
https://github.com/lxc/lxc/commit/7cee8789514fb42d6a48d50b904e24284f5526e3

Signed-off-by: Jafar Al-Gharaibeh <to.jafar at gmail.com>


  Commit: 01c05c821093dc854def146d4bab62885d8eb664
      https://github.com/lxc/lxc/commit/01c05c821093dc854def146d4bab62885d8eb664
  Author: Po-Hsu Lin <po-hsu.lin at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/tests/lxc-test-apparmor-mount
    M src/tests/lxc-test-autostart
    M src/tests/lxc-test-unpriv
    M src/tests/lxc-test-usernic.in
    M templates/lxc-ubuntu-cloud.in

  Log Message:
  -----------
  tests: fix image download for s390x

Make release selection more flexible.
Update the KNOWN_RELEAES list, add yakkety and remove vivid.

Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>


  Commit: 1c8df1386f7a397e9f7b3ea78956ad300be95064
      https://github.com/lxc/lxc/commit/1c8df1386f7a397e9f7b3ea78956ad300be95064
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  tools: fix coding style in lxc_attach

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: f42cf2dfc5a854a4ab110a36b7e7bb5f4f32f391
      https://github.com/lxc/lxc/commit/f42cf2dfc5a854a4ab110a36b7e7bb5f4f32f391
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/tools/lxc_copy.c

  Log Message:
  -----------
  tools: make overlay valid backend

So far, users could only create overlay snapshots by specifying -B overlayfs
and not with -B overlay. This adds support for -B overlay.

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: 359467743d707d08fda029fa6e957a93bc8dc7ef
      https://github.com/lxc/lxc/commit/359467743d707d08fda029fa6e957a93bc8dc7ef
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/tools/lxc_start.c

  Log Message:
  -----------
  tools: better error reporting for lxc-start

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: d8953e37edd4128fb0edc3165f98b61e78d245f4
      https://github.com/lxc/lxc/commit/d8953e37edd4128fb0edc3165f98b61e78d245f4
  Author: roedie <github at roedie.nl>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M templates/lxc-alpine.in

  Log Message:
  -----------
  alpine: Fix installing extra packages
Signed-off-by: Sander Klein <github at roedie.nl>


  Commit: 2b6a98305e36becc1c6a867d8e48cfd45302ffc3
      https://github.com/lxc/lxc/commit/2b6a98305e36becc1c6a867d8e48cfd45302ffc3
  Author: Jakub Jirutka <jakub at jirutka.cz>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M config/templates/alpine.common.conf.in

  Log Message:
  -----------
  lxc-alpine: do not drop setfcap

Signed-off-by: Jakub Jirutka <jakub at jirutka.cz>


  Commit: 99f252a8bf4110da7a810cb0a5fa01aebfa02bdd
      https://github.com/lxc/lxc/commit/99f252a8bf4110da7a810cb0a5fa01aebfa02bdd
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/seccomp.c

  Log Message:
  -----------
  s390x: Fix seccomp handling of personalities

There are no personalities for s390x, so don't list itself as one.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 0a93fd77a20411cee6f5f8168051d98f30bed72e
      https://github.com/lxc/lxc/commit/0a93fd77a20411cee6f5f8168051d98f30bed72e
  Author: Po-Hsu Lin <po-hsu.lin at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/tools/lxc_copy.c

  Log Message:
  -----------
  tools: correct the argument typo in lxc_copy

Correct the backingstorage typo in lxc_copy.

Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>


  Commit: 4082d0deb030b1b93ab8c0054c3f638252649084
      https://github.com/lxc/lxc/commit/4082d0deb030b1b93ab8c0054c3f638252649084
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M Makefile.am
    M autogen.sh
    M configure.ac
    M src/lua-lxc/Makefile.am
    M src/lxc/Makefile.am
    M src/lxc/version.h.in
    M src/python-lxc/setup.py.in
    M src/tests/Makefile.am

  Log Message:
  -----------
  Use libtool for liblxc.so

This should allow proper filtering of build flags for libraries and make
it easier to use PIE/PIC.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 841635f4de93560c17f9a97315fa0352f66d38e2
      https://github.com/lxc/lxc/commit/841635f4de93560c17f9a97315fa0352f66d38e2
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: use --external instead of --veth-pair

--veth-pair has been deprecated as of 2.6, let's use the new --external
instead.

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


  Commit: 1bcf81d78bd4cb2254ff15fd20d458c88f61575f
      https://github.com/lxc/lxc/commit/1bcf81d78bd4cb2254ff15fd20d458c88f61575f
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: remember to increment netnr

We need this for calculating the name of unnamed interfaces in the config.
But we also need to remember to increment it :)

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


  Commit: ed19e98afb6fb70f851707b5470222aa1b687a50
      https://github.com/lxc/lxc/commit/ed19e98afb6fb70f851707b5470222aa1b687a50
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: add checkpoint/restore support for macvlan interfaces

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


  Commit: 9e747ddb9f532c366ecc5a2109aa6147f3ec8013
      https://github.com/lxc/lxc/commit/9e747ddb9f532c366ecc5a2109aa6147f3ec8013
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M templates/lxc-ubuntu.in

  Log Message:
  -----------
  ubuntu: Fix package upgrades requiring proc

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 4d411134016133dcd31fba55282f4fd41d76b015
      https://github.com/lxc/lxc/commit/4d411134016133dcd31fba55282f4fd41d76b015
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: drop duplicate hunk from macvlan case

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


  Commit: f28b1f683df968570942e302b40b3367f9240d83
      https://github.com/lxc/lxc/commit/f28b1f683df968570942e302b40b3367f9240d83
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: use snprintf to compute device name

This will never actually overflow, because %d is 32 bits and eth is 128
bytes long, but safety first :)

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


  Commit: 0a98f3dfaf62e1e3d6a817874b8530ca3e9632f5
      https://github.com/lxc/lxc/commit/0a98f3dfaf62e1e3d6a817874b8530ca3e9632f5
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
    M src/lxc/Makefile.am

  Log Message:
  -----------
  Tweak libtool handling to work with Android

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/357e023b493b...0a98f3dfaf62


More information about the lxc-devel mailing list