Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 9daf6f5d01d49e656190f9b94467605d5fee6f98
      https://github.com/lxc/lxc/commit/9daf6f5d01d49e656190f9b94467605d5fee6f98
  Author: Serge Hallyn <[email protected]>
  Date:   2014-01-20 (Mon, 20 Jan 2014)

  Changed paths:
    M src/lxc/cgmanager.c
    M src/lxc/cgroup.c
    M src/lxc/cgroup.h
    M src/lxc/start.c

  Log Message:
  -----------
  cgmanager: implement setting of cgroup limits

Also replace a wrong free of nih-allocated variable with nih_free.

Signed-off-by: Serge Hallyn <[email protected]>
Acked-by: Stéphane Graber <[email protected]>


  Commit: c868b261b2e08f29c5e6c5ede2e6a2c3e335ee4d
      https://github.com/lxc/lxc/commit/c868b261b2e08f29c5e6c5ede2e6a2c3e335ee4d
  Author: S.Çağlar Onur <[email protected]>
  Date:   2014-01-20 (Mon, 20 Jan 2014)

  Changed paths:
    M src/lxc/lxc-ls
    M src/lxc/lxc_attach.c
    M src/lxc/lxc_info.c
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  handle unprivileged user calls more gracefully (v3)

Return an error if the function is not supposed to be called by an unprivileged 
user.
Otherwise those calls fail in the middle of their execution with different 
reasons.

changes since v2:
- am_unpriv is now a simple geteuid check,
- API functions are now providing error messages,
- lxc-info, lxc-attach are now checking geteuidi,
- lxc-ls is now calling get_ips only if the container is running

Signed-off-by: S.Çağlar Onur <[email protected]>
Acked-by: Stéphane Graber <[email protected]>


Compare: https://github.com/lxc/lxc/compare/755d8d03b148...c868b261b2e0
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to