Colin Walters [Fri, 12 Apr 2013 18:22:49 +0000 (14:22 -0400)]
jsauthority: Use JSVAL_NULL rather than {0} struct initialization
This is future compatible with mozjs-17.0.
https://bugs.freedesktop.org/show_bug.cgi?id=59830
Colin Walters [Tue, 16 Apr 2013 18:03:17 +0000 (14:03 -0400)]
jsauthority: We can really only handle a string
JSVAL_TO_STRING would barf on a null value, so don't
claim to handle it.
Miloslav Trmač [Thu, 18 Apr 2013 17:54:59 +0000 (19:54 +0200)]
Add a FIXME to polkitprivate.h
See discussion in https://bugs.freedesktop.org/show_bug.cgi?id=63573 .
Miloslav Trmač [Mon, 15 Apr 2013 21:08:21 +0000 (23:08 +0200)]
Add annotations for element types of returned lists
... to silence warnings when g-ir-scanner warnings are enabled.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Wed, 10 Apr 2013 01:06:59 +0000 (03:06 +0200)]
Fix an obvious docstring typo.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Wed, 10 Apr 2013 01:01:16 +0000 (03:01 +0200)]
Fold enum documentation into relevant classes
Fold PolkitImplicitAuthorization and PolkitCheckAuthorizationFlags
into the relevant classes in the section list; polkit-1-docs.xml is
already not including the enum documents.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Wed, 10 Apr 2013 00:51:34 +0000 (02:51 +0200)]
Document deprecated functions.
All of these are a part of public API with some external users. Do the
minimum to avoid a warning; ideally we should also add a
*_DISABLE_DEPRECATED macro etc.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Wed, 10 Apr 2013 00:50:39 +0000 (02:50 +0200)]
Include documentation of polkit_action_description_get_annotation_keys
This seems a fairly obvious public counterpart of
polkit_action_description_get_annotation, and it is used in pkaction.c
in what is pretty much an example of public API use.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Wed, 10 Apr 2013 00:47:50 +0000 (02:47 +0200)]
Move polkit_temporary_authorization_new to private header file.
The related new_for_gvariant() is private already, this seems also
intended to be private. searchco.de doesn't show any external users.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Wed, 10 Apr 2013 00:46:38 +0000 (02:46 +0200)]
Fix most "undocumented symbol" warnings
- Mark private header files as private.
- Fix obvious typos in the section file.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Tue, 9 Apr 2013 23:57:20 +0000 (01:57 +0200)]
Leave out backend from gtk-doc generation
... which silences warnings about these classes missing from
polkit-1-sections.txt
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Tue, 9 Apr 2013 23:30:11 +0000 (01:30 +0200)]
Add annotation glossary
as described at the end of
https://live.gnome.org/GObjectIntrospection/Annotations. Fixes a huge
number of warnings.
https://bugs.freedesktop.org/show_bug.cgi?id=63573
Miloslav Trmač [Sat, 13 Apr 2013 01:19:17 +0000 (03:19 +0200)]
Fix various memory leaks.
The XML_ParserCreate_MM one was found by Florian Weimer in
https://bugzilla.redhat.com/show_bug.cgi?id=888728 .
This should cover everything found by valgrind on the JS authority
test, augmented with a call to
polkit_backend_authority_enumerate_actions() to verify the
XML_ParserCreate_MM case.
https://bugs.freedesktop.org/show_bug.cgi?id=63492
Colin Walters [Thu, 11 Apr 2013 18:36:33 +0000 (14:36 -0400)]
configure: Specify GLib min/max version
Mainly to avoid deprecation warnings about g_type_init().
https://bugs.freedesktop.org/show_bug.cgi?id=63440
Miloslav Trmač [Tue, 9 Apr 2013 23:28:03 +0000 (01:28 +0200)]
Fix DOC_SOURCE_DIR for builddir != srcdir
This snippet comes from gtk-doc 1.18 examples/Makefile.am; we might want
to update all of the file but that's not strictly necessary.
https://bugs.freedesktop.org/show_bug.cgi?id=63479
Miloslav Trmač [Tue, 9 Apr 2013 23:24:50 +0000 (01:24 +0200)]
Fix build with srcdir!=builddir
gtk-doc.make is attempting to add --path automatically but there is a
bug in the script in gtk-doc 1.18
https://bugs.freedesktop.org/show_bug.cgi?id=63479
Miloslav Trmač [Tue, 9 Apr 2013 22:38:29 +0000 (00:38 +0200)]
Clean (git status) after autogen.sh
Ignore most automatically created files. Add empty ChangeLog (to avoid
surprises if anyone wanted to add content later).
https://bugs.freedesktop.org/show_bug.cgi?id=63479
Samuli Suominen [Wed, 13 Mar 2013 19:44:04 +0000 (21:44 +0200)]
Add missing #include <sys/wait.h>
This is required for WIFEXITED, WEXITSTATUS, WIFSIGNALED,
WTERMSIG. This must have been implicit and nobody noticed, but isn't
with SH4 architecture (Linux, Gentoo, GNU gcc and glibc).
http://bugs.freedesktop.org/show_bug.cgi?id=62220
darkxst [Thu, 24 Jan 2013 00:37:00 +0000 (00:37 +0000)]
update types for js188
For esr17, mozilla have removed many of the custom typedefs and
replaced them with standard types. For example jsuint -> guint32,
uintN -> unsigned and int32 -> gint32.
These changes are backwards compatible with js185
https://bugs.freedesktop.org/show_bug.cgi?id=59781
Colin Walters [Thu, 11 Apr 2013 17:39:34 +0000 (13:39 -0400)]
mocklibc: Only require autoconf 2.63
It still works, and this lets polkit build on RHEL6.
Steve Langasek [Fri, 8 Mar 2013 11:00:00 +0000 (12:00 +0100)]
pkexec: Set process environment from pam_getenvlist()
Various pam modules provide environment variables that are intended to be set
in the environment of the pam session. pkexec needs to process the output of
pam_getenvlist() to get these.
https://bugs.freedesktop.org/show_bug.cgi?id=62016
Vincent Untz [Fri, 24 Feb 2012 12:13:17 +0000 (13:13 +0100)]
polkitagent, pkexec: Respect SUID_CFLAGS and SUID_LDFLAGS
This is a good way for distributors to use -fPIE/-pie.
https://bugs.freedesktop.org/attachment.cgi?id=57584
Giovanni Campagna [Tue, 19 Feb 2013 16:31:45 +0000 (17:31 +0100)]
build: try harder to avoid systemd/consolekit misconfiguration
Check if the system is booting systemd, and fail if the automatic
configuration picks the wrong value. Emit a warning if the user explicitly
chose one way or the other, to account for cross-building.
https://bugs.freedesktop.org/show_bug.cgi?id=61127
Nuno Araujo [Tue, 15 Jan 2013 16:47:22 +0000 (17:47 +0100)]
Fix the build with automake 1.13
In Automake 1.13, the long-deprecated macro AM_CONFIG_HEADER (deprecated
since 2002) has been removed in favour of AC_CONFIG_HEADERS.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 9 Jan 2013 20:06:40 +0000 (15:06 -0500)]
Post-release version bump to 0.111
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 9 Jan 2013 20:03:21 +0000 (15:03 -0500)]
Update NEWS for release
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 9 Jan 2013 20:00:49 +0000 (15:00 -0500)]
Remove AM_PROG_CC_STDC
Part of https://bugs.freedesktop.org/show_bug.cgi?id=59091
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 9 Jan 2013 19:22:20 +0000 (14:22 -0500)]
Use mutex and condition variables properly
This was pointed out in bug 57325.
https://bugs.freedesktop.org/show_bug.cgi?id=57325
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Emilio Pozuelo Monfort [Sat, 26 Mar 2011 07:28:14 +0000 (07:28 +0000)]
Fix build on GNU Hurd
https://bugs.freedesktop.org/show_bug.cgi?id=35685
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Michael Biebl [Sat, 29 Dec 2012 21:11:18 +0000 (22:11 +0100)]
build: Remove generated introspection files on "make clean"
https://bugs.freedesktop.org/show_bug.cgi?id=58869
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 19 Dec 2012 19:28:29 +0000 (14:28 -0500)]
Set XAUTHORITY environment variable if is unset
The way it works is that if XAUTHORITY is unset, then its default
value is $HOME/.Xauthority. But since we're changing user identity
this will not work since $HOME will now change. Therefore, if
XAUTHORITY is unset, just set its default value before changing
identity. This bug only affected login managers using X Window
Authorization but not explicitly setting the XAUTHORITY variable.
You can argue that XAUTHORITY is broken since it forces uid-changing
apps like pkexec(1) to do more work - and get involved in intimate
details of how X works and so on - but that doesn't change how things
work.
Based on a patch from Peter Wu <lekensteyn@gmail.com>.
https://bugs.freedesktop.org/show_bug.cgi?id=51623
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 19 Dec 2012 15:08:25 +0000 (10:08 -0500)]
Post-release version bump to 0.110
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 19 Dec 2012 15:05:36 +0000 (10:05 -0500)]
Update NEWS for release
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Thu, 15 Nov 2012 15:09:06 +0000 (10:09 -0500)]
Don't require libmozjs185 devel packages for polkit rules to work
The SO-name rules for SpiderMonkey are a little bit weird and we were
opening wrong file. This problem was reported in
https://bugs.freedesktop.org/show_bug.cgi?id=57146
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 14 Nov 2012 19:29:16 +0000 (14:29 -0500)]
Include gmodule-2.0 to avoid linker errors
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 14 Nov 2012 19:16:15 +0000 (14:16 -0500)]
Post-release version bump to 0.109
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 14 Nov 2012 18:26:23 +0000 (13:26 -0500)]
Update NEWS for release
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 14 Nov 2012 18:23:19 +0000 (13:23 -0500)]
docs: mention the audience for authorization rules
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 14 Nov 2012 17:12:16 +0000 (12:12 -0500)]
Dynamically load libmozjs185.so and cope with it not being available
A number of downstream distributors have - one way or the other -
requested this feature.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Ryan Lortie [Tue, 13 Nov 2012 16:50:14 +0000 (11:50 -0500)]
build: Fix .gir generation for parallel make
As per the intructions in the introspection Makefile, we should have a
line declaring a dependency between the .gir and .la files.
https://bugs.freedesktop.org/show_bug.cgi?id=57077
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Adam Jackson [Tue, 9 Oct 2012 18:08:24 +0000 (14:08 -0400)]
PolkitAgent: Avoid crashing if initializing the server object fails
Note that otherwise we return a freed server object. Since later in
polkit_agent_listener_register_with_options we check against NULL to
determine failure, this makes for sad times later when we call
server_free() on it again.
https://bugs.freedesktop.org/show_bug.cgi?id=55776
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Tue, 18 Sep 2012 18:47:06 +0000 (14:47 -0400)]
Fall back to authenticating as uid 0 if the list of admin identities is empty
For example, this can happen if the wheel group has no members. This
was reported in Red Hat bug 834494, see
https://bugzilla.redhat.com/show_bug.cgi?id=834494
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 11 Jul 2012 17:34:11 +0000 (13:34 -0400)]
Post-release version bump to 0.108
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 11 Jul 2012 17:30:18 +0000 (13:30 -0400)]
Update NEWS for release
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 11 Jul 2012 16:58:06 +0000 (12:58 -0400)]
pkexec: add support for argv1 annotation and mention shebang-wrappers
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Fri, 6 Jul 2012 14:19:45 +0000 (10:19 -0400)]
Introduce a polkit.Result enumeration for authorization rules
This way an authorization rule can do this
return polkit.Result.YES;
which is slightly nicer than
return "yes";
https://bugs.freedesktop.org/show_bug.cgi?id=50983
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Fri, 6 Jul 2012 13:55:37 +0000 (09:55 -0400)]
Nuke --enable-verbose flag
It doesn't do anything. This was pointed out in
https://bugs.freedesktop.org/show_bug.cgi?id=51470
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Fri, 6 Jul 2012 13:53:42 +0000 (09:53 -0400)]
Nuke leftover polkit-backend-1.pc file
This was reported in https://bugs.freedesktop.org/show_bug.cgi?id=51466
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Matthias Clasen [Thu, 28 Jun 2012 00:28:00 +0000 (20:28 -0400)]
Try harder to look up the right localization
The code for looking up localized strings for action descriptions
was manually trying to break locale names into pieces, but didn't
get it right for e.g. zh_CN.utf-8. Instead, use the GLib function
g_get_locale_variants(), which handles this (and more). This fixes
the translation problem reported in
https://bugzilla.gnome.org/show_bug.cgi?id=665497
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Fri, 8 Jun 2012 17:38:53 +0000 (13:38 -0400)]
Update guidance on situations where there is no polkit authority
Now that GDBusProxy does something reasonable for a masked systemd
service, see
https://bugzilla.gnome.org/show_bug.cgi?id=677718
construction of the PolkitAuthority object does not fail anymore. That
doesn't mean the authority is available, though, so mention that users
should check the result of the CheckAuthorization() call as well. Or
in the case of PolkitAuthority, that the error is not a POLKIT_ERROR.
This is actually a nice feature, it means that if you unmask
polkit.service then mechanisms using PolkitAuthority will start using
it without a restart.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Thu, 7 Jun 2012 18:02:32 +0000 (14:02 -0400)]
Post-release version bump to 0.107
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Thu, 7 Jun 2012 17:57:48 +0000 (13:57 -0400)]
Update NEWS for release
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Thu, 7 Jun 2012 15:43:20 +0000 (11:43 -0400)]
docs: add a "make sure your app works when there's no polkitd(8)" note
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Thu, 7 Jun 2012 14:35:07 +0000 (10:35 -0400)]
Mention the implications of returning *_keep in an authorization rule
Pointed out by Dan Williams <dcbw@redhat.com> on IRC.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Wed, 6 Jun 2012 18:32:26 +0000 (14:32 -0400)]
Make it work when using ConsoleKit instead of libsystemd-login
... although it would be nicer to just rip out the CK bits and simply
hard-require libsystemd-login instead - it should work just fine on
non-systemd systems, same way systemd-udev works fine there.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Colin Walters [Wed, 6 Jun 2012 13:05:14 +0000 (09:05 -0400)]
agenthelper-pam: Fix newline-trimming code
First, we were using == instead of =, as the author probably intended.
But after changing that, we're now assigning to const memory. Fix
that by writing to a temporary string buffer.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Colin Walters [Sun, 29 Jan 2012 21:22:51 +0000 (16:22 -0500)]
autogen.sh: Fix check for libtool (we only need libtoolize)
A pre-built libtool copy may not be installed on all systems; all
we need is libtoolize.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Colin Walters [Wed, 6 Jun 2012 11:21:42 +0000 (07:21 -0400)]
build: Check for mozjs185, not libjs
libjs is a Fedora-specific invention; mozjs185.pc lives in the
upstream tarball.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Mon, 4 Jun 2012 17:40:45 +0000 (13:40 -0400)]
State that authorization rules must not rely on SpiderMonkey features
... e.g. we reserve the right to switch out the JS engine.
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Mon, 4 Jun 2012 17:24:39 +0000 (13:24 -0400)]
Small updates to the "Writing polkit applications" chapter
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Mon, 4 Jun 2012 16:34:22 +0000 (12:34 -0400)]
Update pkexec(1) man page with example
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Mon, 4 Jun 2012 16:32:09 +0000 (12:32 -0400)]
Update links to udisks docs
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
David Zeuthen [Fri, 25 May 2012 21:12:17 +0000 (17:12 -0400)]
Rewrite the "Writing polkit applications" chapter
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 25 May 2012 17:37:49 +0000 (13:37 -0400)]
Log when the name org.fd.PolicyKit1 has been acquired
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 25 May 2012 16:40:42 +0000 (12:40 -0400)]
Run polkitd as an unprivileged user
There's really no reason to run all this code as uid 0.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 25 May 2012 15:20:05 +0000 (11:20 -0400)]
Remove unused DBUS_GLIB_* and GIO_* variables
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 25 May 2012 15:12:26 +0000 (11:12 -0400)]
Ensure polkitd is rebuilt if libpolkit-backend-1.la changes
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 25 May 2012 15:09:02 +0000 (11:09 -0400)]
Move polkitd into src/polkitbackend
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 25 May 2012 15:02:15 +0000 (11:02 -0400)]
Use g_unix_signal_add() from GLib 2.30
... instead of the one I wrote myself.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 24 May 2012 19:50:59 +0000 (15:50 -0400)]
Clarify pkexec(1) variables
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 24 May 2012 18:51:46 +0000 (14:51 -0400)]
Combine action and details parameters
This also removes the ability to change detail parameters which is
actually a good thing. If we later need a way to change the
authentication message, we can always add something like
polkit.addAuthenticationMessageRule() so the user can register a
function returning a string.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 24 May 2012 15:39:57 +0000 (11:39 -0400)]
Use a condition variable to signal that runaway killer thread is ready
... instead of the unsafe g_thread_yield() busy-wait loop.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 24 May 2012 15:26:34 +0000 (11:26 -0400)]
Terminate runaway scripts
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 21:57:55 +0000 (17:57 -0400)]
Use "rules", not "scripts" to refer to files in rules.d
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 21:44:43 +0000 (17:44 -0400)]
Pass expanded identity list to the AuthenticationSession
... otherwise it things like admin-identities being set to
["unix-group:session"] won't work.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 21:30:51 +0000 (17:30 -0400)]
Add default rules
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 21:11:29 +0000 (17:11 -0400)]
Store private binaries in /usr/lib/polkit-1 instead of /usr/libexec
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 20:49:20 +0000 (16:49 -0400)]
Mention systemd(1) in the polkitd(8) man page
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 20:39:25 +0000 (16:39 -0400)]
Nuke polkitbackend library, localauthority backend and extension system
Any backend can now be implemented in JavaScript (if so desired) so we
don't need any of this any more.
Note that the libpolkitbackend library was never declared stable (the
preprocessor symbol POLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE had
to be defined) so removing it is not an API/ABI break.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 20:16:20 +0000 (16:16 -0400)]
Add a systemd .service file
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 19:58:15 +0000 (15:58 -0400)]
Fix distcheck
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 19:53:35 +0000 (15:53 -0400)]
Rename --enable-systemd to --enable-libsystemd-login
It's useful to be more specific because we also want an option to
install a systemd .service file which you may not want even if you are
using libsystemd-login...
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 18:12:38 +0000 (14:12 -0400)]
Add real-world example featuring udisks2 and the drive.* variables it passes
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 17:37:21 +0000 (13:37 -0400)]
Make polkit_details_insert() remove the key if passed value is NULL
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 16:57:34 +0000 (12:57 -0400)]
Use <variablelist> instead of <informaltable> for Subject attributes
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 16:51:19 +0000 (12:51 -0400)]
Mention details["polkit.message"] and add an example using details
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 23 May 2012 16:14:44 +0000 (12:14 -0400)]
Fix a couple typos in the docs
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 22 May 2012 19:45:06 +0000 (15:45 -0400)]
Fix speling
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 22 May 2012 18:18:19 +0000 (14:18 -0400)]
polkitd: add reference to polkit(8) from its man page
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 22 May 2012 18:00:36 +0000 (14:00 -0400)]
Clarify docs a bit
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 22 May 2012 17:51:18 +0000 (13:51 -0400)]
docs: update SEE ALSO to make each man page point to all other man pages
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 22 May 2012 17:47:32 +0000 (13:47 -0400)]
docs: enclose local <citerefentry> in <link> to make links work
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 22 May 2012 17:38:51 +0000 (13:38 -0400)]
Update docs
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 22 May 2012 13:57:20 +0000 (09:57 -0400)]
Create rules.d directories
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 21 May 2012 18:38:49 +0000 (14:38 -0400)]
Add test-cases and 10 second timeout for polkit.spawn()
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 21 May 2012 17:56:11 +0000 (13:56 -0400)]
Mention unix-netgroup:xyz as a valid return value in addAdminRule() functions
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 21 May 2012 17:54:35 +0000 (13:54 -0400)]
Minor doc fixes
Nuke the has_prefix() helper, it's just confusing.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 21 May 2012 17:42:43 +0000 (13:42 -0400)]
Add netgroup support
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 21 May 2012 16:29:01 +0000 (12:29 -0400)]
Test that subject.isInGroup() works
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 21 May 2012 16:15:10 +0000 (12:15 -0400)]
Add test cases for evaluation order
In fact, this test uncovered that we were evaluating the rules in the
wrong order. Fix this.
Signed-off-by: David Zeuthen <davidz@redhat.com>