[lxc-devel] [lxc/lxc] d3264d: utils: fix num parsing functions

GitHub noreply at github.com
Tue May 16 17:35:11 UTC 2017


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: d3264db2e39f57dc9ffb7996cf0e7e039942c6d9
      https://github.com/lxc/lxc/commit/d3264db2e39f57dc9ffb7996cf0e7e039942c6d9
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: fix num parsing functions

Suggested-by: Benedikt Rosenkranz beluro at web.de
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ba7e919e738eb0661cd25eb265df63b6c27f363b
      https://github.com/lxc/lxc/commit/ba7e919e738eb0661cd25eb265df63b6c27f363b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

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

  Log Message:
  -----------
  tests: lxc_safe_{u}int() add corner-case tests

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


  Commit: 52c2c35311cf89609ba74b80cd905e4a361c8f05
      https://github.com/lxc/lxc/commit/52c2c35311cf89609ba74b80cd905e4a361c8f05
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

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

  Log Message:
  -----------
  lxc-attach: allow for situations without /dev/tty

Closes #1552.

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


  Commit: 30f1523a682930addbfab2c489b7547a3ea9d604
      https://github.com/lxc/lxc/commit/30f1523a682930addbfab2c489b7547a3ea9d604
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: don't call lxc_map_ids() without id map

So far, we somehow always called lxc_map_ids(), even when no id map was
configured. Let's not do this.

Closes #1555.

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


  Commit: ea45f04d2711b92e9025ab02762723254be16aad
      https://github.com/lxc/lxc/commit/ea45f04d2711b92e9025ab02762723254be16aad
  Author: Dima Krasner <dima at securingsam.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: fix build without libcap

Signed-off-by: Dima Krasner <samdima at securingsam.com>


  Commit: 34e788f04bc32442dd40815fe34c1ca59486ac2d
      https://github.com/lxc/lxc/commit/34e788f04bc32442dd40815fe34c1ca59486ac2d
  Author: 0x0916 <w at laoqinren.net>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/monitor.h

  Log Message:
  -----------
  monitor: delete unneccessory include file

we want to export `monitor.h`, `#include "conf.h"` will cause error
and it is unneccessory so just delete it.

Signed-off-by: 0x0916 <w at laoqinren.net>


  Commit: 03bd2e849d5cf6158fff3c8628332ddbac959b4b
      https://github.com/lxc/lxc/commit/03bd2e849d5cf6158fff3c8628332ddbac959b4b
  Author: 0x0916 <w at laoqinren.net>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/seccomp.c

  Log Message:
  -----------
  seccomp: s/n-new-privs/no-new-privs/g

Signed-off-by: 0x0916 <w at laoqinren.net>


  Commit: 5f94a3ac5b3ec83bf937b6526ff7b1e6a23f9892
      https://github.com/lxc/lxc/commit/5f94a3ac5b3ec83bf937b6526ff7b1e6a23f9892
  Author: 0x0916 <w at laoqinren.net>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/seccomp.c

  Log Message:
  -----------
  seccomp: update comment for function `parse_config`

Signed-off-by: 0x0916 <w at laoqinren.net>


  Commit: 603fcbd03d087d8082f5c68595d6d01e99a79a8e
      https://github.com/lxc/lxc/commit/603fcbd03d087d8082f5c68595d6d01e99a79a8e
  Author: 0x0916 <w at laoqinren.net>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/seccomp.c

  Log Message:
  -----------
  seccomp: print action name in log

This patch add function `get_action_name`, so we can print action name
in the log file. for example:

```
lxc-start ubuntu 20170515095416.561 INFO     lxc_seccomp - seccomp.c:parse_config_v2:613 - Adding compat rule for reject_force_umount action 0(kill).
lxc-start ubuntu 20170515095416.562 INFO     lxc_seccomp - seccomp.c:parse_config_v2:613 - Adding compat rule for kexec_load action 327681(errno).
```

Signed-off-by: 0x0916 <w at laoqinren.net>


  Commit: 3ddaa189b6f6c6153e3ebeff87ef7689714e3995
      https://github.com/lxc/lxc/commit/3ddaa189b6f6c6153e3ebeff87ef7689714e3995
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/confile.c

  Log Message:
  -----------
  conf{,ile}: allow to clear all config items

Closes #1561.

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


  Commit: e13ca528c235c2b69cc3d6343be45e1ddccf9d7f
      https://github.com/lxc/lxc/commit/e13ca528c235c2b69cc3d6343be45e1ddccf9d7f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: pin rootfs when privileged

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


Compare: https://github.com/lxc/lxc/compare/a467a8454430...e13ca528c235


More information about the lxc-devel mailing list