provide a polkit D-Bus service that is activated on demand
authorDavid Zeuthen <davidz@redhat.com>
Wed, 31 Oct 2007 01:17:08 +0000 (21:17 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 31 Oct 2007 01:17:08 +0000 (21:17 -0400)
commit871e4c93e96e5ae9782f1aafddc2f47cc2c34b78
tree65384932bf10a731b7b329808c4ff2eee929cd1f
parentd9d790870b0372162091b00e19e38a24472a306d
provide a polkit D-Bus service that is activated on demand

Right now we provide two methods

 IsProcessAuthorized
 IsSystemBusNameAuthorized

This is useful for a couple of reasons

 - some mechanisms (e.g. Avahi) runs in a chroot and their only
   life-line to the world is a system bus connection. If it were to
   use libpolkit (and Lennart says he wants it to, yay!) it would need
   to bindmount crazy stuff into the chroot.

 - languages for which libpolkit bindings not yet exist can use
   this interface

Going forward, this service can expose a private interface meaning we
can get rid of (almost) all of our setgid helpers.
Makefile.am
configure.in
polkit-dbus/polkit-read-auth-helper.c
polkitd/Makefile.am [new file with mode: 0644]
polkitd/main.c [new file with mode: 0644]
polkitd/org.freedesktop.PolicyKit.conf.in [new file with mode: 0644]
polkitd/org.freedesktop.PolicyKit.service.in [new file with mode: 0644]
polkitd/org.freedesktop.PolicyKit.xml [new file with mode: 0644]
polkitd/polkit-daemon.c [new file with mode: 0644]
polkitd/polkit-daemon.h [new file with mode: 0644]