[cgmanager-devel] [cgmanager/cgmanager] ecfc7b: add dummy 'ping' method

GitHub noreply at github.com
Tue Dec 17 18:30:23 UTC 2013


  Branch: refs/heads/proxy.4
  Home:   https://github.com/cgmanager/cgmanager
  Commit: ecfc7bfc752294abc728794e807defaf98324c36
      https://github.com/cgmanager/cgmanager/commit/ecfc7bfc752294abc728794e807defaf98324c36
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M cgmanager.c
    M movepid.c
    M org.linuxcontainers.cgmanager.xml

  Log Message:
  -----------
  add dummy 'ping' method

You cannot send an fd over dbus before authentication, but
authentication doesn't happen until you send a message.
So define a dummy 'ping' method which the standalone scm
programs can use to force authentication to happen, and
make movepid.c use it.

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


  Commit: bc40134bcd0b2aba15439221ede8d69665580205
      https://github.com/cgmanager/cgmanager/commit/bc40134bcd0b2aba15439221ede8d69665580205
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M chowncgroup.c
    M getpidcgroup.c

  Log Message:
  -----------
  chowncgroup and getpidcgroup: update to use dummy ping fn

And remove now-useless setting of SO_PEERCREED on the dbus socket
fd.

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


  Commit: c119c8ff863fefa52c9cc52eff165de6d225e383
      https://github.com/cgmanager/cgmanager/commit/c119c8ff863fefa52c9cc52eff165de6d225e383
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

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

  Log Message:
  -----------
  unref the dummy message we sent

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


  Commit: 6e4aec336d30f86481722a1d2fdaa4b75c376feb
      https://github.com/cgmanager/cgmanager/commit/6e4aec336d30f86481722a1d2fdaa4b75c376feb
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M tests/test10.sh

  Log Message:
  -----------
  test10: cant use movepid.c unprivileged, use dbus-send

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


  Commit: 929dd6eada42d969be2dfc60736281648a82c3d3
      https://github.com/cgmanager/cgmanager/commit/929dd6eada42d969be2dfc60736281648a82c3d3
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-12-17 (Tue, 17 Dec 2013)

  Changed paths:
    M cgmanager-proxy.c

  Log Message:
  -----------
  update proxy stubs to reflect new api

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


Compare: https://github.com/cgmanager/cgmanager/compare/d17e14deb6a3...929dd6eada42


More information about the cgmanager-devel mailing list