[lxc-devel] [lxc/lxc] 2698b4: lua: fix a bug in the parsing of /proc/mounts

GitHub noreply at github.com
Thu Sep 5 23:59:11 UTC 2013


  Branch: refs/heads/staging
  Home:   https://github.com/lxc/lxc
  Commit: 2698b46924ab861b1f39fb11560c852d080e7b02
      https://github.com/lxc/lxc/commit/2698b46924ab861b1f39fb11560c852d080e7b02
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2013-09-05 (Thu, 05 Sep 2013)

  Changed paths:
    M src/lua-lxc/lxc.lua

  Log Message:
  -----------
  lua: fix a bug in the parsing of /proc/mounts

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 44a80d675ffb81ebb1a66a62c162e93a4c5882a0
      https://github.com/lxc/lxc/commit/44a80d675ffb81ebb1a66a62c162e93a4c5882a0
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2013-09-05 (Thu, 05 Sep 2013)

  Changed paths:
    M src/lua-lxc/core.c
    M src/lua-lxc/lxc.lua

  Log Message:
  -----------
  lua: prepare for Lua 5.2

Adjust code for Lua 5.2 and keep compatibility with Lua 5.1.

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 12e93188de7dfe9ba66e022f9c28aa1f696a22e8
      https://github.com/lxc/lxc/commit/12e93188de7dfe9ba66e022f9c28aa1f696a22e8
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2013-09-05 (Thu, 05 Sep 2013)

  Changed paths:
    M configure.ac
    M src/lua-lxc/Makefile.am

  Log Message:
  -----------
  configure/makefile: Allow specify Lua pkg-config file with --with-lua-pc

Enable support for both Lua 5.1 and 5.2 by letting user specify the Lua
pkg-config package name. By default it will use 'lua' and try figure
out which version it is.

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: ac8255280d2e4348ab0eba5ec6982edc92ee6fbd
      https://github.com/lxc/lxc/commit/ac8255280d2e4348ab0eba5ec6982edc92ee6fbd
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2013-09-05 (Thu, 05 Sep 2013)

  Changed paths:
    M src/lua-lxc/core.c
    M src/lxc/lxc-top

  Log Message:
  -----------
  lua: implement usleep in C module

So we avoid running os.execute

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: c25c2970a6aabc45ee6375cc127ed45efea2f9bf
      https://github.com/lxc/lxc/commit/c25c2970a6aabc45ee6375cc127ed45efea2f9bf
  Author: Natanael Copa <ncopa at alpinelinux.org>
  Date:   2013-09-05 (Thu, 05 Sep 2013)

  Changed paths:
    M src/lua-lxc/core.c
    M src/lua-lxc/lxc.lua

  Log Message:
  -----------
  lua: implement dirname in C rather than depend on external executable

Instead of popen and run external executable dirname we implement a
dirname in C in the core module.

We also remove the unused basename function.

Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 330da5fa322cf628aadc425c5be86814530d313e
      https://github.com/lxc/lxc/commit/330da5fa322cf628aadc425c5be86814530d313e
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2013-09-05 (Thu, 05 Sep 2013)

  Changed paths:
    M src/lua-lxc/lxc.lua
    M src/lxc/lxc-top

  Log Message:
  -----------
  lua: fix stats gathering

- remove lxc subdir in cgroup paths (done in commit b98f7d6e)
- remove extraneous debug printfs
- remove extra call to stats_clear

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 3a1675bf08b35bd5a5078f5638048c2c72c3e981
      https://github.com/lxc/lxc/commit/3a1675bf08b35bd5a5078f5638048c2c72c3e981
  Author: Dwight Engen <dwight.engen at oracle.com>
  Date:   2013-09-05 (Thu, 05 Sep 2013)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  add AS_VAR_COPY for older autoconf versions

Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/eee59f940839...3a1675bf08b3


More information about the lxc-devel mailing list