Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 4355ab5fabd56cab1f41d5286b4dc99ef2e7ebe9
      https://github.com/lxc/lxc/commit/4355ab5fabd56cab1f41d5286b4dc99ef2e7ebe9
  Author: Serge Hallyn <serge.hal...@ubuntu.com>
  Date:   2013-11-22 (Fri, 22 Nov 2013)

  Changed paths:
    M src/lxc/bdev.c
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/lxc_destroy.c
    M src/lxc/lxccontainer.c
    M src/lxc/utils.c

  Log Message:
  -----------
  lxcapi_destroy: run in a namespace if we are unprivileged

This is necessary to have the rights to remove files owned by our subuids.

Also update lxc_rmdir_onedev to return 0 on success, -1 on failure.
Callers were not consistent in using it correctly, and this is more
in keeping with the rest of our code.

Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Acked-by: Stéphane Graber <stgra...@ubuntu.com>



------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to