- 04 Nov, 2007 2 commits
-
-
David Zeuthen authored
We're only at 78@ coverage; need to reimplement GHashTable...
-
David Zeuthen authored
-
- 03 Nov, 2007 9 commits
-
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
The glib dep removal. It has begun.
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
It's now at 100%. Yay me.
-
David Zeuthen authored
This is what it looks like ============================================================================== Test coverage for module polkit: ============================================================================== polkit-sysdeps.c : 0% (0 of 38) polkit-error.c : 0% (0 of 44) polkit-result.c : 0% (0 of 16) polkit-context.c : 0% (0 of 213) polkit-action.c : 34% (20 of 58) polkit-seat.c : 0% (0 of 34) polkit-session.c : 0% (0 of 97) polkit-caller.c : 0% (0 of 81) polkit-policy-file-entry.c : 0% (0 of 72) polkit-policy-file.c : 0% (0 of 220) polkit-policy-cache.c : 0% (0 of 98) polkit-policy-default.c : 0% (0 of 67) polkit-debug.c : 0% (0 of 15) polkit-utils.c : 0% (0 of 42) polkit-config.c : 0% (0 of 263) polkit-authorization.c : 0% (0 of 162) polkit-authorization-constraint.c : 0% (0 of 107) polkit-authorization-db.c : 0% (0 of 222) Source lines : 6919 Actual statements : 1849 Executed statements : 20 Test coverage : 1%
-
- 01 Nov, 2007 2 commits
-
-
David Zeuthen authored
-
David Zeuthen authored
-
- 31 Oct, 2007 5 commits
-
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
Looks like I forgot to delete those when doing the big move in commit d9d79087
-
David Zeuthen authored
-
David Zeuthen authored
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.
-
- 30 Oct, 2007 2 commits
-
-
David Zeuthen authored
This is primarily to keep libpolkit as minimal as possible as all that mechanisms will ever need is the ability to read from the authdb.
-
David Zeuthen authored
Also specificy, per function and class, if it's not in libpolkit.
-
- 29 Oct, 2007 9 commits
-
-
David Zeuthen authored
The latter is only in glib 2.10. Pointed out by Danny Kukawka <danny.kukawka@web.de>.
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
Haven't moved the inotify stuff yet; not sure about what abstraction we need...
-
David Zeuthen authored
-
David Zeuthen authored
-
- 28 Oct, 2007 1 commit
-
-
David Zeuthen authored
Also, - Rename polkit-list-actions to polkit-action. - Add a bash completion script to the polkit commandline tools. Authorizations are no longer world-readable. So for this to work with hal you now need to do this as root # polkit-auth --user haldaemon --grant org.freedesktop.policykit.read Distributions needs to do this in the %post scripts or similar. Sorry for this huge monster patch.
-
- 23 Oct, 2007 4 commits
-
-
David Zeuthen authored
-
David Zeuthen authored
Also document this symbol
-
David Zeuthen authored
This is necessary to make UI like this http://people.freedesktop.org/~david/Screenshot-Manage%20Authorizations.png export some useful actions such as granting, revoking and displaying authorizations. Previously this API was internal, polkit/polkit-grant-database.[ch], and linked into polkit-grant(1) and libpolkit-grant(3) through a static library libpolkit-private.so. Only polkit-grant have not been ported; libpolkit-grant(3) uses this API natively now. Internally, right now, the new API just uses polkit-grant-database.[ch] directly but that is about to change...
-
David Zeuthen authored
-
- 22 Oct, 2007 2 commits
-
-
David Zeuthen authored
-
David Zeuthen authored
Now we have diagrams! With happy candy colors too!
-
- 21 Oct, 2007 3 commits
-
-
David Zeuthen authored
-
David Zeuthen authored
-
David Zeuthen authored
-
- 18 Oct, 2007 1 commit
-
-
David Zeuthen authored
-