[cgmanager-devel] [cgmanager/cgmanager] 56dbd6: implement getTasks and getTasksScm

GitHub noreply at github.com
Thu Jan 16 17:13:10 UTC 2014


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

  Changed paths:
    M access_checks.c
    M access_checks.h
    M cgmanager-proxy.c
    M cgmanager.c
    M configure.ac
    M fs.c
    M fs.h
    M org.linuxcontainers.cgmanager.xml
    A tests/test15.sh

  Log Message:
  -----------
  implement getTasks and getTasksScm

getTasks returns the tasks in a given cgroup as an array of ints.

getTasksScm sends the result over the passed-in unix fd.  It first
sends the # pids, then sends each pid as a separate SCM_CRED so as
to convert the pids to the client's pidns.

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


  Commit: a848ed1e755e126411f8d04e851de511eadb35b4
      https://github.com/cgmanager/cgmanager/commit/a848ed1e755e126411f8d04e851de511eadb35b4
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-16 (Thu, 16 Jan 2014)

  Changed paths:
    M chowncgroup.c
    M getpidcgroup.c
    M movepid.c

  Log Message:
  -----------
  select() in test progs to reduce races

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


  Commit: 3b8106dced448e22e1cac9bd16d9b3d387b38bd6
      https://github.com/cgmanager/cgmanager/commit/3b8106dced448e22e1cac9bd16d9b3d387b38bd6
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-16 (Thu, 16 Jan 2014)

  Changed paths:
    M tests/test06.sh
    M tests/test08.sh
    M tests/test09.sh

  Log Message:
  -----------
  tests: use dbus-send for all tests

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


Compare: https://github.com/cgmanager/cgmanager/compare/e9829dacb5c3...3b8106dced44


More information about the cgmanager-devel mailing list