[cgmanager-devel] [cgmanager/cgmanager] ee37ca: Change design for *Scm methods

GitHub noreply at github.com
Fri Jan 10 05:35:16 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/cgmanager/cgmanager
  Commit: ee37ca82d06737cc3f6381c8e8e27aa619469f34
      https://github.com/cgmanager/cgmanager/commit/ee37ca82d06737cc3f6381c8e8e27aa619469f34
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-09 (Thu, 09 Jan 2014)

  Changed paths:
    M access_checks.c
    M access_checks.h
    M cgmanager-proxy.c
    M cgmanager.c
    M chowncgroup.c
    M fs.c
    M fs.h
    M getpidcgroup.c
    M movepid.c
    M org.linuxcontainers.cgmanager.xml
    M tests/test06.sh

  Log Message:
  -----------
  Change design for *Scm methods

All *Scm methods now return immediately.  The results are later
returned over the unix fd passed in as a dbus arg.  The cgmanager
now sets up asynchronous listeners for all SCM_CREDS sent by the
clients, so that a misbehaving client can't take up the manager's
time.  Also, the cgmanager-client.c code now is not useless.  The
caller can use those methods, and then continue using the unix fd
to complete the transaction outside of dbus.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the cgmanager-devel mailing list