[lxc-devel] [lxc/lxc] 6b9324: coverity: Do chdir following chroot

GitHub noreply at github.com
Thu Feb 13 18:46:34 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6b9324bd45374e32465f9fff6e24b1af837c445b
      https://github.com/lxc/lxc/commit/6b9324bd45374e32465f9fff6e24b1af837c445b
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  coverity: Do chdir following chroot

We used to do chdir(path), chroot(path). That's correct but not properly
handled coverity, so do chroot(path), chdir("/") instead as that's the
recommended way.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 87d8dfe56c7b2af3f598ba886ba426af2b50b5b2
      https://github.com/lxc/lxc/commit/87d8dfe56c7b2af3f598ba886ba426af2b50b5b2
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M src/python-lxc/lxc.c

  Log Message:
  -----------
  python3: Add missing get_running_config_item binding

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 63d4950fefea9f1c3b7c9024915c35c10387e0e5
      https://github.com/lxc/lxc/commit/63d4950fefea9f1c3b7c9024915c35c10387e0e5
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M src/lxc/lxc-ls

  Log Message:
  -----------
  lxc-ls: Add a few new columns

This adds support for:
 - memory (total memory)
 - ram
 - swap

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: d693cf93cda8e4d665e840fd583fbf9e62911c09
      https://github.com/lxc/lxc/commit/d693cf93cda8e4d665e840fd583fbf9e62911c09
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  Fix crash in rename with undefined containers

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


Compare: https://github.com/lxc/lxc/compare/4473e38b99cd...d693cf93cda8


More information about the lxc-devel mailing list