Add support for querying and revoking temporary authorizations
authorDavid Zeuthen <davidz@redhat.com>
Mon, 20 Jul 2009 22:49:25 +0000 (18:49 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 20 Jul 2009 22:49:25 +0000 (18:49 -0400)
commit36fc7a6d358c1d373c181191da6265a538a71dae
tree166630eadb8a659fb9ea988f93d3ff7120d8dd64
parentae8ea087928b7a1bc34b2380872da8867563bec1
Add support for querying and revoking temporary authorizations

Also change how authentication agents are registered (take a Subject
instead of the session-id) and add convenience functions to
asynchronously construct a PolkitUnixSession object given a process id
(by querying ConsoleKit).
24 files changed:
data/org.freedesktop.PolicyKit1.Authority.xml
docs/polkit/polkit-1-docs.xml
docs/polkit/polkit-1-sections.txt
docs/polkit/polkit-1.types
src/polkit/Makefile.am
src/polkit/polkit.h
src/polkit/polkitactiondescription.c
src/polkit/polkitauthority.c
src/polkit/polkitauthority.h
src/polkit/polkitprivate.h
src/polkit/polkitsubject.c
src/polkit/polkitsubject.h
src/polkit/polkitsystembusname.c
src/polkit/polkittemporaryauthorization.c [new file with mode: 0644]
src/polkit/polkittemporaryauthorization.h [new file with mode: 0644]
src/polkit/polkittypes.h
src/polkit/polkitunixprocess.c
src/polkit/polkitunixsession.c
src/polkit/polkitunixsession.h
src/polkitagent/polkitagentlistener.c
src/polkitagent/polkitagentlistener.h
src/polkitbackend/polkitbackendauthority.c
src/polkitbackend/polkitbackendauthority.h
src/polkitbackend/polkitbackendinteractiveauthority.c