Browse Source

Imported Upstream version 0.6

tags/upstream/0.6^0
Michael Biebl 12 years ago
parent
commit
83fad60d96
74 changed files with 1085 additions and 782 deletions
  1. +148
    -0
      ChangeLog
  2. +29
    -0
      NEWS
  3. +120
    -36
      configure
  4. +12
    -4
      configure.in
  5. +1
    -1
      doc/html/beyond-defaults.html
  6. +2
    -2
      doc/html/ch01s03.html
  7. +2
    -2
      doc/html/ch02s02.html
  8. +2
    -2
      doc/html/ch02s03.html
  9. +7
    -7
      doc/html/index.html
  10. +3
    -3
      doc/html/introduction.html
  11. +145
    -145
      doc/html/ix01.html
  12. +1
    -1
      doc/html/license.html
  13. +3
    -3
      doc/html/model.html
  14. +15
    -10
      doc/html/polkit-conf.html
  15. +24
    -24
      doc/html/polkit-polkit-action.html
  16. +38
    -38
      doc/html/polkit-polkit-caller.html
  17. +22
    -22
      doc/html/polkit-polkit-config.html
  18. +38
    -38
      doc/html/polkit-polkit-context.html
  19. +14
    -14
      doc/html/polkit-polkit-dbus.html
  20. +18
    -18
      doc/html/polkit-polkit-error.html
  21. +46
    -46
      doc/html/polkit-polkit-grant.html
  22. +22
    -22
      doc/html/polkit-polkit-policy-cache.html
  23. +22
    -22
      doc/html/polkit-polkit-policy-default.html
  24. +28
    -28
      doc/html/polkit-polkit-policy-file-entry.html
  25. +19
    -19
      doc/html/polkit-polkit-policy-file.html
  26. +12
    -12
      doc/html/polkit-polkit-result.html
  27. +22
    -22
      doc/html/polkit-polkit-seat.html
  28. +42
    -42
      doc/html/polkit-polkit-session.html
  29. +10
    -10
      doc/html/polkit-polkit-types.html
  30. +1
    -1
      doc/html/polkit-spec-history.html
  31. +10
    -10
      doc/html/polkit.devhelp
  32. +10
    -10
      doc/html/polkit.devhelp2
  33. +8
    -8
      doc/html/re01.html
  34. +2
    -2
      doc/html/rn01.html
  35. +2
    -2
      doc/html/rn02.html
  36. +2
    -2
      doc/html/rn03.html
  37. +2
    -2
      doc/html/rn04.html
  38. +2
    -2
      doc/html/rn05.html
  39. +6
    -6
      doc/html/rn05re17.html
  40. +15
    -15
      doc/html/rn05re18.html
  41. +7
    -7
      doc/html/rn05re19.html
  42. +7
    -7
      doc/html/rn05re20.html
  43. +7
    -7
      doc/html/rn05re21.html
  44. +7
    -7
      doc/html/rn05re22.html
  45. +10
    -5
      doc/spec/polkit-spec-configuration.xml
  46. +0
    -2
      doc/tmpl/polkit-action.sgml
  47. +0
    -2
      doc/tmpl/polkit-caller.sgml
  48. +0
    -2
      doc/tmpl/polkit-config.sgml
  49. +0
    -2
      doc/tmpl/polkit-context.sgml
  50. +0
    -2
      doc/tmpl/polkit-dbus.sgml
  51. +0
    -2
      doc/tmpl/polkit-debug.sgml
  52. +0
    -2
      doc/tmpl/polkit-error.sgml
  53. +0
    -2
      doc/tmpl/polkit-grant-database.sgml
  54. +0
    -2
      doc/tmpl/polkit-grant.sgml
  55. +0
    -2
      doc/tmpl/polkit-policy-cache.sgml
  56. +0
    -2
      doc/tmpl/polkit-policy-default.sgml
  57. +0
    -2
      doc/tmpl/polkit-policy-file-entry.sgml
  58. +0
    -2
      doc/tmpl/polkit-policy-file.sgml
  59. +0
    -2
      doc/tmpl/polkit-result.sgml
  60. +0
    -2
      doc/tmpl/polkit-seat.sgml
  61. +0
    -2
      doc/tmpl/polkit-session.sgml
  62. +0
    -2
      doc/tmpl/polkit-types.sgml
  63. +0
    -2
      doc/tmpl/polkit-utils.sgml
  64. +0
    -2
      doc/tmpl/polkit.sgml
  65. +1
    -1
      doc/version.xml
  66. +1
    -1
      doc/xml/polkit-policy-file.xml
  67. +3
    -3
      polkit-grant/Makefile.am
  68. +9
    -8
      polkit-grant/Makefile.in
  69. +25
    -7
      polkit/polkit-config.c
  70. +27
    -2
      polkit/polkit-policy-default.c
  71. +1
    -0
      polkit/polkit-policy-default.h
  72. +6
    -2
      polkit/polkit-policy-file-entry.c
  73. +43
    -34
      polkit/polkit-policy-file.c
  74. +4
    -0
      tools/polkit-list-actions.c

+ 148
- 0
ChangeLog View File

@@ -1,3 +1,151 @@
commit a11166bdbecc85995a1aef58fcb7635091049708
Author: David Zeuthen <davidz@redhat.com>
Date: Thu Oct 11 17:50:30 2007 -0400

update NEWS

NEWS | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)

commit 5b60edc135496fa4bdc9f1623a7b22501adb77a9
Author: David Zeuthen <davidz@redhat.com>
Date: Thu Sep 27 13:46:29 2007 -0400

make polkit-list-actions print information about <allow_any>

tools/polkit-list-actions.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

commit b420cc512b3277cac57c2c2231adf80cefd7e764
Author: David Zeuthen <davidz@redhat.com>
Date: Thu Sep 27 13:36:11 2007 -0400

don't fail on unknown XML tags, just skip them

This change will futureproof libpolkit for extensions; e.g. if there's
an OS upgrade where

a) the PolicyKit package is upgraded to a version where support for a
new tag <allow_foo> is added; and

b) another package, using PolicyKit, is upgraded dropping a .policy
file using the new <allow_foo> tag; then

existing running processes using libpolkit will not fail. They will,
however, not honor the new tags until the daemon process itself is
restarted using e.g. condrestart.

We also log to the system logger whenever we encouter unknown tags.

doc/TODO | 4 ---
polkit/polkit-config.c | 32 +++++++++++++++++-----
polkit/polkit-policy-file.c | 63
+++++++++++++++++++------------------------
3 files changed, 53 insertions(+), 46 deletions(-)

commit 4714fe721988d533a912ac62df5088f24f5bc699
Author: David Zeuthen <davidz@redhat.com>
Date: Thu Sep 27 12:08:19 2007 -0400

implement <allow_any> to specify default answer for any user

This is useful in instances where the OS vendor wants to allow any
user, even remote users logging in via ssh etc., but recognize that
some sites may want to lock this down to a limited set of users.

Suggested by Daniel P. Berrange <berrange@redhat.com>:

<danpb> my specific use case is that in libvirt we don't mind
any user
querying for VM status info by default
<danpb> but some admins may wish to lock that ability down
<danpb> so only designated users can query VM status
<davidz> right
<davidz> it makes sense
<davidz> without having giving it too much thought; adding another
stanza to
the .policy file might make sense
<davidz> <allow_non_session>yes</allow_non_session>
<davidz> danpb: would that work?
<danpb> yeah, that'd do the trick
<davidz> cool
<davidz> I'll add it then

doc/spec/polkit-spec-configuration.xml | 15 ++++++++++-----
polkit/polkit-policy-default.c | 29
+++++++++++++++++++++++++++--
polkit/polkit-policy-default.h | 1 +
polkit/polkit-policy-file-entry.c | 8 ++++++--
polkit/polkit-policy-file.c | 20 ++++++++++++++++++--
5 files changed, 62 insertions(+), 11 deletions(-)

commit 60d85b947457940978a9c153a59a80c87d46ab4e
Author: David Zeuthen <davidz@redhat.com>
Date: Wed Sep 26 15:49:31 2007 -0400

add TODO item detailing how to handle upgrades

doc/TODO | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

commit 24973905a6cefbcb13a718218ac561fbece7fd9f
Author: David Zeuthen <davidz@redhat.com>
Date: Tue Sep 25 16:38:32 2007 -0400

add specifics for the Pardus distro

Patch from S.Çağlar Onur <caglar@pardus.org.tr>. Thanks.

configure.in | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

commit a8ab4c970363996890c22ffdb2b1eb48b6ac0f6e
Author: Doug Goldstein <cardoe@gentoo.org>
Date: Thu Sep 6 23:53:53 2007 -0400

use chgrp instead of chown with group only

Change to use chgrp instead of chown when only changing a group

polkit-grant/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

commit 3a8a84ec380aed65e98c2c28e1c558d3827915db
Author: Doug Goldstein <cardoe@gentoo.org>
Date: Thu Sep 6 16:14:24 2007 -0400

install hook for setuid/setgid

Current installation uses a local rule which isn't guarenteed to
be run
after the automake'd rule, as such it will not always setuid/setgid
properly.
This patch switches that to a hook which is guarenteed to run
afterwards.

polkit-grant/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

commit 3406f9f20826473dbf2de8c0dbd71f0b5bb8c8e7
Author: Doug Goldstein <cardoe@gentoo.org>
Date: Thu Sep 6 12:07:20 2007 -0400

gentoo OS type support

Adds Gentoo as a valid OS type

configure.in | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

commit 1b8d31e1fef50dd4ff3ddc5bee539175dc93daa5
Author: David Zeuthen <davidz@redhat.com>
Date: Fri Aug 31 15:59:59 2007 -0400

post-release version bump

configure.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

commit aef7a201260133535c035ba7183f8e96bd25954f
Author: David Zeuthen <davidz@redhat.com>
Date: Fri Aug 31 15:56:07 2007 -0400


+ 29
- 0
NEWS View File

@@ -1,3 +1,32 @@
==========
PolicyKit 0.6 "There is no stopping in a red zone"
==========

Released on October 11th 2007.

This is the fourth release of PolicyKit. There are no major changes
since 0.5 expect a) better handling of unknown XML tags in the config
and policy files (we simply ignore unknown sub-trees) to make it
easier to add features in the future; b) native support for more
distributions; and c) the addition of a <allow_any> tag to the .policy
files.

Changes from PolicyKit 0.5 "Urban Living"

David Zeuthen (6):
post-release version bump
add specifics for the Pardus distro
add TODO item detailing how to handle upgrades
implement <allow_any> to specify default answer for any user
don't fail on unknown XML tags, just skip them
make polkit-list-actions print information about <allow_any>

Doug Goldstein (3):
gentoo OS type support
install hook for setuid/setgid
use chgrp instead of chown with group only


==========
PolicyKit 0.5 "Urban Living"
==========


+ 120
- 36
configure View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for PolicyKit 0.5.
# Generated by GNU Autoconf 2.61 for PolicyKit 0.6.
#
# Report bugs to <david@fubar.dk>.
#
@@ -728,8 +728,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='PolicyKit'
PACKAGE_TARNAME='policykit'
PACKAGE_VERSION='0.5'
PACKAGE_STRING='PolicyKit 0.5'
PACKAGE_VERSION='0.6'
PACKAGE_STRING='PolicyKit 0.6'
PACKAGE_BUGREPORT='david@fubar.dk'

# Factoring default headers for most tests.
@@ -909,6 +909,10 @@ OS_TYPE_RED_HAT_TRUE
OS_TYPE_RED_HAT_FALSE
OS_TYPE_SUSE_TRUE
OS_TYPE_SUSE_FALSE
OS_TYPE_GENTOO_TRUE
OS_TYPE_GENTOO_FALSE
OS_TYPE_PARDUS_TRUE
OS_TYPE_PARDUS_FALSE
PAM_FILE_INCLUDE_AUTH
PAM_FILE_INCLUDE_ACCOUNT
PAM_FILE_INCLUDE_PASSWORD
@@ -1438,7 +1442,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures PolicyKit 0.5 to adapt to many kinds of systems.
\`configure' configures PolicyKit 0.6 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

@@ -1508,7 +1512,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of PolicyKit 0.5:";;
short | recursive ) echo "Configuration of PolicyKit 0.6:";;
esac
cat <<\_ACEOF

@@ -1544,7 +1548,7 @@ Optional Packages:
--with-polkit-group=<grp> group for PolicyKit
--with-pam-prefix=<prefix> specify where pam files go
--with-pam-module-dir=dirname directory to install PAM security module
--with-os-type=<os> distribution or OS (redhat)
--with-os-type=<os> distribution or OS (redhat/suse/gentoo/pardus)
--with-pam-include=<file> pam file to include

Some influential environment variables:
@@ -1631,7 +1635,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
PolicyKit configure 0.5
PolicyKit configure 0.6
generated by GNU Autoconf 2.61

Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1645,7 +1649,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PolicyKit $as_me 0.5, which was
It was created by PolicyKit $as_me 0.6, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ $0 $@
@@ -2335,7 +2339,7 @@ fi

# Define the identity of the package.
PACKAGE=PolicyKit
VERSION=0.5
VERSION=0.6


cat >>confdefs.h <<_ACEOF
@@ -6473,7 +6477,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 6476 "configure"' > conftest.$ac_ext
echo '#line 6480 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -8811,11 +8815,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:8814: $lt_compile\"" >&5)
(eval echo "\"\$as_me:8818: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:8818: \$? = $ac_status" >&5
echo "$as_me:8822: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -9101,11 +9105,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:9104: $lt_compile\"" >&5)
(eval echo "\"\$as_me:9108: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:9108: \$? = $ac_status" >&5
echo "$as_me:9112: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -9205,11 +9209,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:9208: $lt_compile\"" >&5)
(eval echo "\"\$as_me:9212: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:9212: \$? = $ac_status" >&5
echo "$as_me:9216: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -11556,7 +11560,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 11559 "configure"
#line 11563 "configure"
#include "confdefs.h"

#if HAVE_DLFCN_H
@@ -11656,7 +11660,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 11659 "configure"
#line 11663 "configure"
#include "confdefs.h"

#if HAVE_DLFCN_H
@@ -14076,11 +14080,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:14079: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14083: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:14083: \$? = $ac_status" >&5
echo "$as_me:14087: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -14180,11 +14184,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:14183: $lt_compile\"" >&5)
(eval echo "\"\$as_me:14187: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:14187: \$? = $ac_status" >&5
echo "$as_me:14191: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -15744,11 +15748,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15747: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15751: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:15751: \$? = $ac_status" >&5
echo "$as_me:15755: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -15848,11 +15852,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15851: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15855: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:15855: \$? = $ac_status" >&5
echo "$as_me:15859: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -18037,11 +18041,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:18040: $lt_compile\"" >&5)
(eval echo "\"\$as_me:18044: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:18044: \$? = $ac_status" >&5
echo "$as_me:18048: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -18327,11 +18331,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:18330: $lt_compile\"" >&5)
(eval echo "\"\$as_me:18334: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:18334: \$? = $ac_status" >&5
echo "$as_me:18338: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -18431,11 +18435,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:18434: $lt_compile\"" >&5)
(eval echo "\"\$as_me:18438: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:18438: \$? = $ac_status" >&5
echo "$as_me:18442: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -23511,6 +23515,48 @@ if test $ac_cv_file__etc_SuSE_release = yes; then
distro_type="suse"
fi

{ echo "$as_me:$LINENO: checking for /etc/gentoo-release" >&5
echo $ECHO_N "checking for /etc/gentoo-release... $ECHO_C" >&6; }
if test "${ac_cv_file__etc_gentoo_release+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
test "$cross_compiling" = yes &&
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
{ (exit 1); exit 1; }; }
if test -r "/etc/gentoo-release"; then
ac_cv_file__etc_gentoo_release=yes
else
ac_cv_file__etc_gentoo_release=no
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_file__etc_gentoo_release" >&5
echo "${ECHO_T}$ac_cv_file__etc_gentoo_release" >&6; }
if test $ac_cv_file__etc_gentoo_release = yes; then
distro_type="gentoo"
fi

{ echo "$as_me:$LINENO: checking for /etc/pardus-release" >&5
echo $ECHO_N "checking for /etc/pardus-release... $ECHO_C" >&6; }
if test "${ac_cv_file__etc_pardus_release+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
test "$cross_compiling" = yes &&
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
{ (exit 1); exit 1; }; }
if test -r "/etc/pardus-release"; then
ac_cv_file__etc_pardus_release=yes
else
ac_cv_file__etc_pardus_release=no
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_file__etc_pardus_release" >&5
echo "${ECHO_T}$ac_cv_file__etc_pardus_release" >&6; }
if test $ac_cv_file__etc_pardus_release = yes; then
distro_type="pardus"
fi

if test "z$distro_type" = "z"; then
echo "Linux distribution autodetection failed, specify the distribution to target using --with-os-type="
else
@@ -23524,6 +23570,10 @@ if test x$with_os_type = x; then
with_os_type=redhat
elif test x$operating_system = xsuse ; then
with_os_type=suse
elif test x$operating_system = xgentoo ; then
with_os_type=gentoo
elif test x$operating_system = xpardus ; then
with_os_type=pardus
else
with_os_type=unknown
fi
@@ -23554,6 +23604,22 @@ else
OS_TYPE_SUSE_FALSE=
fi

if test x$with_os_type = xgentoo; then
OS_TYPE_GENTOO_TRUE=
OS_TYPE_GENTOO_FALSE='#'
else
OS_TYPE_GENTOO_TRUE='#'
OS_TYPE_GENTOO_FALSE=
fi

if test x$with_os_type = xpardus; then
OS_TYPE_PARDUS_TRUE=
OS_TYPE_PARDUS_FALSE='#'
else
OS_TYPE_PARDUS_TRUE='#'
OS_TYPE_PARDUS_FALSE=
fi



# Check whether --with-pam-include was given.
@@ -23568,7 +23634,7 @@ if ! test -z "$with_pam_include"; then
PAM_FILE_INCLUDE_ACCOUNT=$with_pam_include
PAM_FILE_INCLUDE_PASSWORD=$with_pam_include
PAM_FILE_INCLUDE_SESSION=$with_pam_include
elif test x$with_os_type = xredhat ; then
elif test x$with_os_type = xredhat -o x$with_os_type = xgentoo -o x$with_os_type = xpardus ; then
PAM_FILE_INCLUDE_AUTH=system-auth
PAM_FILE_INCLUDE_ACCOUNT=system-auth
PAM_FILE_INCLUDE_PASSWORD=system-auth
@@ -23813,6 +23879,20 @@ echo "$as_me: error: conditional \"OS_TYPE_SUSE\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
if test -z "${OS_TYPE_GENTOO_TRUE}" && test -z "${OS_TYPE_GENTOO_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"OS_TYPE_GENTOO\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"OS_TYPE_GENTOO\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
if test -z "${OS_TYPE_PARDUS_TRUE}" && test -z "${OS_TYPE_PARDUS_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"OS_TYPE_PARDUS\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"OS_TYPE_PARDUS\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi

: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
@@ -24113,7 +24193,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by PolicyKit $as_me 0.5, which was
This file was extended by PolicyKit $as_me 0.6, which was
generated by GNU Autoconf 2.61. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
@@ -24166,7 +24246,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
PolicyKit config.status 0.5
PolicyKit config.status 0.6
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"

@@ -24540,6 +24620,10 @@ OS_TYPE_RED_HAT_TRUE!$OS_TYPE_RED_HAT_TRUE$ac_delim
OS_TYPE_RED_HAT_FALSE!$OS_TYPE_RED_HAT_FALSE$ac_delim
OS_TYPE_SUSE_TRUE!$OS_TYPE_SUSE_TRUE$ac_delim
OS_TYPE_SUSE_FALSE!$OS_TYPE_SUSE_FALSE$ac_delim
OS_TYPE_GENTOO_TRUE!$OS_TYPE_GENTOO_TRUE$ac_delim
OS_TYPE_GENTOO_FALSE!$OS_TYPE_GENTOO_FALSE$ac_delim
OS_TYPE_PARDUS_TRUE!$OS_TYPE_PARDUS_TRUE$ac_delim
OS_TYPE_PARDUS_FALSE!$OS_TYPE_PARDUS_FALSE$ac_delim
PAM_FILE_INCLUDE_AUTH!$PAM_FILE_INCLUDE_AUTH$ac_delim
PAM_FILE_INCLUDE_ACCOUNT!$PAM_FILE_INCLUDE_ACCOUNT$ac_delim
PAM_FILE_INCLUDE_PASSWORD!$PAM_FILE_INCLUDE_PASSWORD$ac_delim
@@ -24548,7 +24632,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF

if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5


+ 12
- 4
configure.in View File

@@ -1,8 +1,8 @@
dnl Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59c)
AC_INIT(PolicyKit, 0.5, david@fubar.dk)
AM_INIT_AUTOMAKE(PolicyKit, 0.5)
AC_INIT(PolicyKit, 0.6, david@fubar.dk)
AM_INIT_AUTOMAKE(PolicyKit, 0.6)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE

@@ -295,12 +295,14 @@ fi

AC_SUBST(PAM_MODULE_DIR)

AC_ARG_WITH(os-type, [ --with-os-type=<os> distribution or OS (redhat)])
AC_ARG_WITH(os-type, [ --with-os-type=<os> distribution or OS (redhat/suse/gentoo/pardus)])

#### Check our operating system (distro-tweaks required)
if test "z$with_os_type" = "z"; then
AC_CHECK_FILE(/etc/redhat-release,distro_type="redhat")
AC_CHECK_FILE(/etc/SuSE-release,distro_type="suse")
AC_CHECK_FILE(/etc/gentoo-release,distro_type="gentoo")
AC_CHECK_FILE(/etc/pardus-release,distro_type="pardus")
if test "z$distro_type" = "z"; then
echo "Linux distribution autodetection failed, specify the distribution to target using --with-os-type="
else
@@ -314,6 +316,10 @@ if test x$with_os_type = x; then
with_os_type=redhat
elif test x$operating_system = xsuse ; then
with_os_type=suse
elif test x$operating_system = xgentoo ; then
with_os_type=gentoo
elif test x$operating_system = xpardus ; then
with_os_type=pardus
else
with_os_type=unknown
fi
@@ -323,6 +329,8 @@ fi
AM_CONDITIONAL(OS_TYPE_UNKNOWN, test x$with_os_type = xunknown, [Running on unknown OS])
AM_CONDITIONAL(OS_TYPE_RED_HAT, test x$with_os_type = xredhat, [Running on Red Hat OS'es])
AM_CONDITIONAL(OS_TYPE_SUSE, test x$with_os_type = xsuse, [Running on SUSE OS'es])
AM_CONDITIONAL(OS_TYPE_GENTOO, test x$with_os_type = xgentoo, [Running on Gentoo OS'es])
AM_CONDITIONAL(OS_TYPE_PARDUS, test x$with_os_type = xpardus, [Running on Pardus OS'es])

AC_ARG_WITH(pam-include, [ --with-pam-include=<file> pam file to include])

@@ -332,7 +340,7 @@ if ! test -z "$with_pam_include"; then
PAM_FILE_INCLUDE_ACCOUNT=$with_pam_include
PAM_FILE_INCLUDE_PASSWORD=$with_pam_include
PAM_FILE_INCLUDE_SESSION=$with_pam_include
elif test x$with_os_type = xredhat ; then
elif test x$with_os_type = xredhat -o x$with_os_type = xgentoo -o x$with_os_type = xpardus ; then
PAM_FILE_INCLUDE_AUTH=system-auth
PAM_FILE_INCLUDE_ACCOUNT=system-auth
PAM_FILE_INCLUDE_PASSWORD=system-auth


+ 1
- 1
doc/html/beyond-defaults.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Beyond the Defaults</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="polkit-conf.html" title="PolicyKit configuration">
<link rel="prev" href="polkit-conf.html" title="PolicyKit configuration">


+ 2
- 2
doc/html/ch01s03.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Defining the Problem</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="introduction.html" title="Introduction">
<link rel="prev" href="polkit-spec-history.html" title="History and Prior Art">
@@ -31,7 +31,7 @@
</tr></table>
<div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id2892726"></a>Defining the Problem</h2></div></div></div>
<a name="id3123825"></a>Defining the Problem</h2></div></div></div>
<p>
There's a couple of problems with the mechanisms described in
<a class="xref" href="polkit-spec-history.html" title="History and Prior Art">the section called &#8220;History and Prior Art&#8221;</a>.


+ 2
- 2
doc/html/ch02s02.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Concepts</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="model.html" title="PolicyKit Model">
<link rel="prev" href="model.html" title="PolicyKit Model">
@@ -31,7 +31,7 @@
</tr></table>
<div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id2878362"></a>Concepts</h2></div></div></div>
<a name="id3057281"></a>Concepts</h2></div></div></div>
<p>
Typically the entities that a Mechanism cares about can be split
into three groups:


+ 2
- 2
doc/html/ch02s03.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Theory of Operation</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="model.html" title="PolicyKit Model">
<link rel="prev" href="ch02s02.html" title="Concepts">
@@ -31,7 +31,7 @@
</tr></table>
<div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id2892864"></a>Theory of Operation</h2></div></div></div>
<a name="id3118032"></a>Theory of Operation</h2></div></div></div>
<p>
The core of PolicyKit is implemented as a shared library that
Mechanisms can link to and use as the decider component. There's


+ 7
- 7
doc/html/index.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>PolicyKit Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="next" href="rn01.html" title="Design Overview">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
@@ -31,11 +31,11 @@
&#160;&#160;&#160;&#160;<code class="email">&lt;<a class="email" href="mailto:david@fubar.dk">david@fubar.dk</a>&gt;</code><br>
&#160;&#160;</p></div></div>
</div></div></div>
<div><p class="releaseinfo">Version 0.5
<div><p class="releaseinfo">Version 0.6
</p></div>
<div><p class="copyright">Copyright &#169; 2007 The PolicyKit Authors</p></div>
<div><div class="legalnotice">
<a name="id2831881"></a><p>
<a name="id3063010"></a><p>
Permission is granted to copy, distribute and/or modify this
document under the terms of the <em class="citetitle">GNU Free
Documentation License</em>, Version 1.1 or any later
@@ -71,20 +71,20 @@
<dd><dl>
<dt><span class="chapter"><a href="introduction.html">Introduction</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="introduction.html#id2899609">About</a></span></dt>
<dt><span class="sect1"><a href="introduction.html#id3130738">About</a></span></dt>
<dt><span class="sect1"><a href="polkit-spec-history.html">History and Prior Art</a></span></dt>
<dt><span class="sect1"><a href="ch01s03.html">Defining the Problem</a></span></dt>
</dl></dd>
<dt><span class="chapter"><a href="model.html">PolicyKit Model</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="model.html#id2886668">Mechanims vs. Policy</a></span></dt>
<dt><span class="sect1"><a href="model.html#id3123433">Mechanims vs. Policy</a></span></dt>
<dt><span class="sect1"><a href="ch02s02.html">Concepts</a></span></dt>
<dt><span class="sect1"><a href="ch02s03.html">Theory of Operation</a></span></dt>
</dl></dd>
<dt><span class="chapter"><a href="polkit-conf.html">PolicyKit configuration</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="polkit-conf.html#id2901856">Declaring Actions</a></span></dt>
<dd><dl><dt><span class="sect2"><a href="polkit-conf.html#id2827259">Annotations</a></span></dt></dl></dd>
<dt><span class="sect1"><a href="polkit-conf.html#id3131512">Declaring Actions</a></span></dt>
<dd><dl><dt><span class="sect2"><a href="polkit-conf.html#id3125880">Annotations</a></span></dt></dl></dd>
<dt><span class="sect1"><a href="beyond-defaults.html">Beyond the Defaults</a></span></dt>
</dl></dd>
</dl></dd>


+ 3
- 3
doc/html/introduction.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Introduction</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="rn01.html" title="Design Overview">
<link rel="prev" href="re01.html" title="PolicyKit">
@@ -33,13 +33,13 @@
<div class="titlepage"><div><div><h2 class="title">
<a name="introduction"></a>Introduction</h2></div></div></div>
<div class="toc"><dl>
<dt><span class="sect1"><a href="introduction.html#id2899609">About</a></span></dt>
<dt><span class="sect1"><a href="introduction.html#id3130738">About</a></span></dt>
<dt><span class="sect1"><a href="polkit-spec-history.html">History and Prior Art</a></span></dt>
<dt><span class="sect1"><a href="ch01s03.html">Defining the Problem</a></span></dt>
</dl></div>
<div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id2899609"></a>About</h2></div></div></div>
<a name="id3130738"></a>About</h2></div></div></div>
<p>
PolicyKit is an application-level toolkit for defining and
handling the policy that allows unprivileged processes to speak


+ 145
- 145
doc/html/ix01.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Index</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="prev" href="rn05re22.html" title="polkit-config-file-validate">
@@ -31,295 +31,295 @@
</tr></table>
<div class="index">
<div class="titlepage"><div><div><h2 class="title">
<a name="id2826811"></a>Index</h2></div></div></div>
<a name="id3058353"></a>Index</h2></div></div></div>
<div class="index"><div class="indexdiv">
<h3>P</h3>
<dl>
<dt>PolKitAction, <a class="indexterm" href="polkit-polkit-action.html#id2871666">PolKitAction</a>
<dt>PolKitAction, <a class="indexterm" href="polkit-polkit-action.html#id3119410">PolKitAction</a>
</dt>
<dt>PolKitCaller, <a class="indexterm" href="polkit-polkit-caller.html#id2878415">PolKitCaller</a>
<dt>PolKitCaller, <a class="indexterm" href="polkit-polkit-caller.html#id3141464">PolKitCaller</a>
</dt>
<dt>PolKitConfig, <a class="indexterm" href="polkit-polkit-config.html#id2882541">PolKitConfig</a>
<dt>PolKitConfig, <a class="indexterm" href="polkit-polkit-config.html#id3146465">PolKitConfig</a>
</dt>
<dt>PolKitConfigAdminAuthType, <a class="indexterm" href="polkit-polkit-config.html#id2921954">enum PolKitConfigAdminAuthType</a>
<dt>PolKitConfigAdminAuthType, <a class="indexterm" href="polkit-polkit-config.html#id3153099">enum PolKitConfigAdminAuthType</a>
</dt>
<dt>PolKitContext, <a class="indexterm" href="polkit-polkit-context.html#id2921692">PolKitContext</a>
<dt>PolKitContext, <a class="indexterm" href="polkit-polkit-context.html#id3152838">PolKitContext</a>
</dt>
<dt>PolKitContextAddIOWatch, <a class="indexterm" href="polkit-polkit-context.html#id2909190">PolKitContextAddIOWatch ()</a>
<dt>PolKitContextAddIOWatch, <a class="indexterm" href="polkit-polkit-context.html#id3148170">PolKitContextAddIOWatch ()</a>
</dt>
<dt>PolKitContextConfigChangedCB, <a class="indexterm" href="polkit-polkit-context.html#id2921725">PolKitContextConfigChangedCB ()</a>
<dt>PolKitContextConfigChangedCB, <a class="indexterm" href="polkit-polkit-context.html#id3152871">PolKitContextConfigChangedCB ()</a>
</dt>
<dt>PolKitContextRemoveIOWatch, <a class="indexterm" href="polkit-polkit-context.html#id2909285">PolKitContextRemoveIOWatch ()</a>
<dt>PolKitContextRemoveIOWatch, <a class="indexterm" href="polkit-polkit-context.html#id3148267">PolKitContextRemoveIOWatch ()</a>
</dt>
<dt>PolKitError, <a class="indexterm" href="polkit-polkit-error.html#id2896575">PolKitError</a>
<dt>PolKitError, <a class="indexterm" href="polkit-polkit-error.html#id3133496">PolKitError</a>
</dt>
<dt>PolKitErrorCode, <a class="indexterm" href="polkit-polkit-error.html#id2825964">enum PolKitErrorCode</a>
<dt>PolKitErrorCode, <a class="indexterm" href="polkit-polkit-error.html#id3117912">enum PolKitErrorCode</a>
</dt>
<dt>PolKitGrant, <a class="indexterm" href="polkit-polkit-grant.html#id2926866">PolKitGrant</a>
<dt>PolKitGrant, <a class="indexterm" href="polkit-polkit-grant.html#id3158009">PolKitGrant</a>
</dt>
<dt>PolKitGrantAddChildWatch, <a class="indexterm" href="polkit-polkit-grant.html#id2933580">PolKitGrantAddChildWatch ()</a>
<dt>PolKitGrantAddChildWatch, <a class="indexterm" href="polkit-polkit-grant.html#id3164735">PolKitGrantAddChildWatch ()</a>
</dt>
<dt>PolKitGrantAddIOWatch, <a class="indexterm" href="polkit-polkit-grant.html#id2933694">PolKitGrantAddIOWatch ()</a>
<dt>PolKitGrantAddIOWatch, <a class="indexterm" href="polkit-polkit-grant.html#id3164848">PolKitGrantAddIOWatch ()</a>
</dt>
<dt>PolKitGrantConversationErrorMessage, <a class="indexterm" href="polkit-polkit-grant.html#id2932929">PolKitGrantConversationErrorMessage ()</a>
<dt>PolKitGrantConversationErrorMessage, <a class="indexterm" href="polkit-polkit-grant.html#id3164081">PolKitGrantConversationErrorMessage ()</a>
</dt>
<dt>PolKitGrantConversationPromptEchoOff, <a class="indexterm" href="polkit-polkit-grant.html#id2932655">PolKitGrantConversationPromptEchoOff ()</a>
<dt>PolKitGrantConversationPromptEchoOff, <a class="indexterm" href="polkit-polkit-grant.html#id3163805">PolKitGrantConversationPromptEchoOff ()</a>
</dt>
<dt>PolKitGrantConversationPromptEchoOn, <a class="indexterm" href="polkit-polkit-grant.html#id2932789">PolKitGrantConversationPromptEchoOn ()</a>
<dt>PolKitGrantConversationPromptEchoOn, <a class="indexterm" href="polkit-polkit-grant.html#id3163940">PolKitGrantConversationPromptEchoOn ()</a>
</dt>
<dt>PolKitGrantConversationTextInfo, <a class="indexterm" href="polkit-polkit-grant.html#id2933050">PolKitGrantConversationTextInfo ()</a>
<dt>PolKitGrantConversationTextInfo, <a class="indexterm" href="polkit-polkit-grant.html#id3164201">PolKitGrantConversationTextInfo ()</a>
</dt>
<dt>PolKitGrantDone, <a class="indexterm" href="polkit-polkit-grant.html#id2933446">PolKitGrantDone ()</a>
<dt>PolKitGrantDone, <a class="indexterm" href="polkit-polkit-grant.html#id3164601">PolKitGrantDone ()</a>
</dt>
<dt>PolKitGrantOverrideGrantType, <a class="indexterm" href="polkit-polkit-grant.html#id2933170">PolKitGrantOverrideGrantType ()</a>
<dt>PolKitGrantOverrideGrantType, <a class="indexterm" href="polkit-polkit-grant.html#id3164321">PolKitGrantOverrideGrantType ()</a>
</dt>
<dt>PolKitGrantRemoveWatch, <a class="indexterm" href="polkit-polkit-grant.html#id2933816">PolKitGrantRemoveWatch ()</a>
<dt>PolKitGrantRemoveWatch, <a class="indexterm" href="polkit-polkit-grant.html#id3164970">PolKitGrantRemoveWatch ()</a>
</dt>
<dt>PolKitGrantSelectAdminUser, <a class="indexterm" href="polkit-polkit-grant.html#id2927037">PolKitGrantSelectAdminUser ()</a>
<dt>PolKitGrantSelectAdminUser, <a class="indexterm" href="polkit-polkit-grant.html#id3158181">PolKitGrantSelectAdminUser ()</a>
</dt>
<dt>PolKitGrantType, <a class="indexterm" href="polkit-polkit-grant.html#id2926901">PolKitGrantType ()</a>
<dt>PolKitGrantType, <a class="indexterm" href="polkit-polkit-grant.html#id3158044">PolKitGrantType ()</a>
</dt>
<dt>PolKitPolicyCache, <a class="indexterm" href="polkit-polkit-policy-cache.html#id2915725">PolKitPolicyCache</a>
<dt>PolKitPolicyCache, <a class="indexterm" href="polkit-polkit-policy-cache.html#id3155446">PolKitPolicyCache</a>
</dt>
<dt>PolKitPolicyCacheForeachFunc, <a class="indexterm" href="polkit-polkit-policy-cache.html#id2915760">PolKitPolicyCacheForeachFunc ()</a>
<dt>PolKitPolicyCacheForeachFunc, <a class="indexterm" href="polkit-polkit-policy-cache.html#id3155481">PolKitPolicyCacheForeachFunc ()</a>
</dt>
<dt>PolKitPolicyDefault, <a class="indexterm" href="polkit-polkit-policy-default.html#id2889323">PolKitPolicyDefault</a>
<dt>PolKitPolicyDefault, <a class="indexterm" href="polkit-polkit-policy-default.html#id3153166">PolKitPolicyDefault</a>
</dt>
<dt>PolKitPolicyFile, <a class="indexterm" href="polkit-polkit-policy-file.html#id2913185">PolKitPolicyFile</a>
<dt>PolKitPolicyFile, <a class="indexterm" href="polkit-polkit-policy-file.html#id3112189">PolKitPolicyFile</a>
</dt>
<dt>PolKitPolicyFileEntry, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2874993">PolKitPolicyFileEntry</a>
<dt>PolKitPolicyFileEntry, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3138819">PolKitPolicyFileEntry</a>
</dt>
<dt>PolKitPolicyFileEntryAnnotationsForeachFunc, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2875026">PolKitPolicyFileEntryAnnotationsForeachFunc ()</a>
<dt>PolKitPolicyFileEntryAnnotationsForeachFunc, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3138851">PolKitPolicyFileEntryAnnotationsForeachFunc ()</a>
</dt>
<dt>PolKitPolicyFileEntryForeachFunc, <a class="indexterm" href="polkit-polkit-policy-file.html#id2913218">PolKitPolicyFileEntryForeachFunc ()</a>
<dt>PolKitPolicyFileEntryForeachFunc, <a class="indexterm" href="polkit-polkit-policy-file.html#id3112222">PolKitPolicyFileEntryForeachFunc ()</a>
</dt>
<dt>PolKitResult, <a class="indexterm" href="polkit-polkit-result.html#id2897980">enum PolKitResult</a>
<dt>PolKitResult, <a class="indexterm" href="polkit-polkit-result.html#id3123218">enum PolKitResult</a>
</dt>
<dt>PolKitSeat, <a class="indexterm" href="polkit-polkit-seat.html#id2884992">PolKitSeat</a>
<dt>PolKitSeat, <a class="indexterm" href="polkit-polkit-seat.html#id3136549">PolKitSeat</a>
</dt>
<dt>PolKitSession, <a class="indexterm" href="polkit-polkit-session.html#id2879422">PolKitSession</a>
<dt>PolKitSession, <a class="indexterm" href="polkit-polkit-session.html#id3127645">PolKitSession</a>
</dt>
<dt>polkit_action_debug, <a class="indexterm" href="polkit-polkit-action.html#id2900188">polkit_action_debug ()</a>
<dt>polkit_action_debug, <a class="indexterm" href="polkit-polkit-action.html#id3110972">polkit_action_debug ()</a>
</dt>
<dt>polkit_action_get_action_id, <a class="indexterm" href="polkit-polkit-action.html#id2888950">polkit_action_get_action_id ()</a>
<dt>polkit_action_get_action_id, <a class="indexterm" href="polkit-polkit-action.html#id3127444">polkit_action_get_action_id ()</a>
</dt>
<dt>polkit_action_new, <a class="indexterm" href="polkit-polkit-action.html#id2871699">polkit_action_new ()</a>
<dt>polkit_action_new, <a class="indexterm" href="polkit-polkit-action.html#id3119443">polkit_action_new ()</a>
</dt>
<dt>polkit_action_ref, <a class="indexterm" href="polkit-polkit-action.html#id2871759">polkit_action_ref ()</a>
<dt>polkit_action_ref, <a class="indexterm" href="polkit-polkit-action.html#id3119503">polkit_action_ref ()</a>
</dt>
<dt>polkit_action_set_action_id, <a class="indexterm" href="polkit-polkit-action.html#id2888850">polkit_action_set_action_id ()</a>
<dt>polkit_action_set_action_id, <a class="indexterm" href="polkit-polkit-action.html#id3127344">polkit_action_set_action_id ()</a>
</dt>
<dt>polkit_action_unref, <a class="indexterm" href="polkit-polkit-action.html#id2888786">polkit_action_unref ()</a>
<dt>polkit_action_unref, <a class="indexterm" href="polkit-polkit-action.html#id3127279">polkit_action_unref ()</a>
</dt>
<dt>polkit_action_validate, <a class="indexterm" href="polkit-polkit-action.html#id2900250">polkit_action_validate ()</a>
<dt>polkit_action_validate, <a class="indexterm" href="polkit-polkit-action.html#id3111034">polkit_action_validate ()</a>
</dt>
<dt>polkit_action_validate_id, <a class="indexterm" href="polkit-polkit-action.html#id2900329">polkit_action_validate_id ()</a>
<dt>polkit_action_validate_id, <a class="indexterm" href="polkit-polkit-action.html#id3111112">polkit_action_validate_id ()</a>
</dt>
<dt>polkit_bool_t, <a class="indexterm" href="polkit-polkit-types.html#id2880288">polkit_bool_t</a>
<dt>polkit_bool_t, <a class="indexterm" href="polkit-polkit-types.html#id3132524">polkit_bool_t</a>
</dt>
<dt>polkit_caller_debug, <a class="indexterm" href="polkit-polkit-caller.html#id2921284">polkit_caller_debug ()</a>
<dt>polkit_caller_debug, <a class="indexterm" href="polkit-polkit-caller.html#id3152423">polkit_caller_debug ()</a>
</dt>
<dt>polkit_caller_get_ck_session, <a class="indexterm" href="polkit-polkit-caller.html#id2921178">polkit_caller_get_ck_session ()</a>
<dt>polkit_caller_get_ck_session, <a class="indexterm" href="polkit-polkit-caller.html#id3152317">polkit_caller_get_ck_session ()</a>
</dt>
<dt>polkit_caller_get_dbus_name, <a class="indexterm" href="polkit-polkit-caller.html#id2920790">polkit_caller_get_dbus_name ()</a>
<dt>polkit_caller_get_dbus_name, <a class="indexterm" href="polkit-polkit-caller.html#id3151929">polkit_caller_get_dbus_name ()</a>
</dt>
<dt>polkit_caller_get_pid, <a class="indexterm" href="polkit-polkit-caller.html#id2920979">polkit_caller_get_pid ()</a>
<dt>polkit_caller_get_pid, <a class="indexterm" href="polkit-polkit-caller.html#id3152118">polkit_caller_get_pid ()</a>
</dt>
<dt>polkit_caller_get_selinux_context, <a class="indexterm" href="polkit-polkit-caller.html#id2921073">polkit_caller_get_selinux_context ()</a>
<dt>polkit_caller_get_selinux_context, <a class="indexterm" href="polkit-polkit-caller.html#id3152212">polkit_caller_get_selinux_context ()</a>
</dt>
<dt>polkit_caller_get_uid, <a class="indexterm" href="polkit-polkit-caller.html#id2920886">polkit_caller_get_uid ()</a>
<dt>polkit_caller_get_uid, <a class="indexterm" href="polkit-polkit-caller.html#id3152025">polkit_caller_get_uid ()</a>
</dt>
<dt>polkit_caller_new, <a class="indexterm" href="polkit-polkit-caller.html#id2878448">polkit_caller_new ()</a>
<dt>polkit_caller_new, <a class="indexterm" href="polkit-polkit-caller.html#id3141497">polkit_caller_new ()</a>
</dt>
<dt>polkit_caller_new_from_dbus_name, <a class="indexterm" href="polkit-polkit-dbus.html#id2928840">polkit_caller_new_from_dbus_name ()</a>
<dt>polkit_caller_new_from_dbus_name, <a class="indexterm" href="polkit-polkit-dbus.html#id3159983">polkit_caller_new_from_dbus_name ()</a>
</dt>
<dt>polkit_caller_new_from_pid, <a class="indexterm" href="polkit-polkit-dbus.html#id2925630">polkit_caller_new_from_pid ()</a>
<dt>polkit_caller_new_from_pid, <a class="indexterm" href="polkit-polkit-dbus.html#id3156676">polkit_caller_new_from_pid ()</a>
</dt>
<dt>polkit_caller_ref, <a class="indexterm" href="polkit-polkit-caller.html#id2878508">polkit_caller_ref ()</a>
<dt>polkit_caller_ref, <a class="indexterm" href="polkit-polkit-caller.html#id3141557">polkit_caller_ref ()</a>
</dt>
<dt>polkit_caller_set_ck_session, <a class="indexterm" href="polkit-polkit-caller.html#id2920684">polkit_caller_set_ck_session ()</a>
<dt>polkit_caller_set_ck_session, <a class="indexterm" href="polkit-polkit-caller.html#id3151822">polkit_caller_set_ck_session ()</a>
</dt>
<dt>polkit_caller_set_dbus_name, <a class="indexterm" href="polkit-polkit-caller.html#id2916406">polkit_caller_set_dbus_name ()</a>
<dt>polkit_caller_set_dbus_name, <a class="indexterm" href="polkit-polkit-caller.html#id3145931">polkit_caller_set_dbus_name ()</a>
</dt>
<dt>polkit_caller_set_pid, <a class="indexterm" href="polkit-polkit-caller.html#id2916604">polkit_caller_set_pid ()</a>
<dt>polkit_caller_set_pid, <a class="indexterm" href="polkit-polkit-caller.html#id3146131">polkit_caller_set_pid ()</a>
</dt>
<dt>polkit_caller_set_selinux_context, <a class="indexterm" href="polkit-polkit-caller.html#id2920590">polkit_caller_set_selinux_context ()</a>
<dt>polkit_caller_set_selinux_context, <a class="indexterm" href="polkit-polkit-caller.html#id3151731">polkit_caller_set_selinux_context ()</a>
</dt>
<dt>polkit_caller_set_uid, <a class="indexterm" href="polkit-polkit-caller.html#id2916505">polkit_caller_set_uid ()</a>
<dt>polkit_caller_set_uid, <a class="indexterm" href="polkit-polkit-caller.html#id3146032">polkit_caller_set_uid ()</a>
</dt>
<dt>polkit_caller_unref, <a class="indexterm" href="polkit-polkit-caller.html#id2878580">polkit_caller_unref ()</a>
<dt>polkit_caller_unref, <a class="indexterm" href="polkit-polkit-caller.html#id3141630">polkit_caller_unref ()</a>
</dt>
<dt>polkit_caller_validate, <a class="indexterm" href="polkit-polkit-caller.html#id2921346">polkit_caller_validate ()</a>
<dt>polkit_caller_validate, <a class="indexterm" href="polkit-polkit-caller.html#id3152485">polkit_caller_validate ()</a>
</dt>
<dt>polkit_config_can_caller_do_action, <a class="indexterm" href="polkit-polkit-config.html#id2921821">polkit_config_can_caller_do_action ()</a>
<dt>polkit_config_can_caller_do_action, <a class="indexterm" href="polkit-polkit-config.html#id3152969">polkit_config_can_caller_do_action ()</a>
</dt>
<dt>polkit_config_can_session_do_action, <a class="indexterm" href="polkit-polkit-config.html#id2875228">polkit_config_can_session_do_action ()</a>
<dt>polkit_config_can_session_do_action, <a class="indexterm" href="polkit-polkit-config.html#id3139286">polkit_config_can_session_do_action ()</a>
</dt>
<dt>polkit_config_determine_admin_auth_type, <a class="indexterm" href="polkit-polkit-config.html#id2874504">polkit_config_determine_admin_auth_type ()</a>
<dt>polkit_config_determine_admin_auth_type, <a class="indexterm" href="polkit-polkit-config.html#id3138555">polkit_config_determine_admin_auth_type ()</a>
</dt>
<dt>polkit_config_new, <a class="indexterm" href="polkit-polkit-config.html#id2882576">polkit_config_new ()</a>
<dt>polkit_config_new, <a class="indexterm" href="polkit-polkit-config.html#id3146500">polkit_config_new ()</a>
</dt>
<dt>polkit_config_ref, <a class="indexterm" href="polkit-polkit-config.html#id2875090">polkit_config_ref ()</a>
<dt>polkit_config_ref, <a class="indexterm" href="polkit-polkit-config.html#id3139148">polkit_config_ref ()</a>
</dt>
<dt>polkit_config_unref, <a class="indexterm" href="polkit-polkit-config.html#id2875163">polkit_config_unref ()</a>
<dt>polkit_config_unref, <a class="indexterm" href="polkit-polkit-config.html#id3139221">polkit_config_unref ()</a>
</dt>
<dt>polkit_context_can_caller_do_action, <a class="indexterm" href="polkit-polkit-context.html#id2924050">polkit_context_can_caller_do_action ()</a>
<dt>polkit_context_can_caller_do_action, <a class="indexterm" href="polkit-polkit-context.html#id3155198">polkit_context_can_caller_do_action ()</a>
</dt>
<dt>polkit_context_can_session_do_action, <a class="indexterm" href="polkit-polkit-context.html#id2923923">polkit_context_can_session_do_action ()</a>
<dt>polkit_context_can_session_do_action, <a class="indexterm" href="polkit-polkit-context.html#id3155071">polkit_context_can_session_do_action ()</a>
</dt>
<dt>polkit_context_get_config, <a class="indexterm" href="polkit-polkit-context.html#id2924164">polkit_context_get_config ()</a>
<dt>polkit_context_get_config, <a class="indexterm" href="polkit-polkit-context.html#id3155312">polkit_context_get_config ()</a>
</dt>
<dt>polkit_context_get_policy_cache, <a class="indexterm" href="polkit-polkit-context.html#id2923842">polkit_context_get_policy_cache ()</a>
<dt>polkit_context_get_policy_cache, <a class="indexterm" href="polkit-polkit-context.html#id3154990">polkit_context_get_policy_cache ()</a>
</dt>
<dt>polkit_context_init, <a class="indexterm" href="polkit-polkit-context.html#id2923528">polkit_context_init ()</a>
<dt>polkit_context_init, <a class="indexterm" href="polkit-polkit-context.html#id3154675">polkit_context_init ()</a>
</dt>
<dt>polkit_context_io_func, <a class="indexterm" href="polkit-polkit-context.html#id2923752">polkit_context_io_func ()</a>
<dt>polkit_context_io_func, <a class="indexterm" href="polkit-polkit-context.html#id3154900">polkit_context_io_func ()</a>
</dt>
<dt>polkit_context_new, <a class="indexterm" href="polkit-polkit-context.html#id2923172">polkit_context_new ()</a>
<dt>polkit_context_new, <a class="indexterm" href="polkit-polkit-context.html#id3154319">polkit_context_new ()</a>
</dt>
<dt>polkit_context_ref, <a class="indexterm" href="polkit-polkit-context.html#id2923631">polkit_context_ref ()</a>
<dt>polkit_context_ref, <a class="indexterm" href="polkit-polkit-context.html#id3154779">polkit_context_ref ()</a>
</dt>
<dt>polkit_context_set_config_changed, <a class="indexterm" href="polkit-polkit-context.html#id2923218">polkit_context_set_config_changed ()</a>
<dt>polkit_context_set_config_changed, <a class="indexterm" href="polkit-polkit-context.html#id3154365">polkit_context_set_config_changed ()</a>
</dt>
<dt>polkit_context_set_io_watch_functions, <a class="indexterm" href="polkit-polkit-context.html#id2923340">polkit_context_set_io_watch_functions ()</a>
<dt>polkit_context_set_io_watch_functions, <a class="indexterm" href="polkit-polkit-context.html#id3154488">polkit_context_set_io_watch_functions ()</a>
</dt>
<dt>polkit_context_set_load_descriptions, <a class="indexterm" href="polkit-polkit-context.html#id2923454">polkit_context_set_load_descriptions ()</a>
<dt>polkit_context_set_load_descriptions, <a class="indexterm" href="polkit-polkit-context.html#id3154602">polkit_context_set_load_descriptions ()</a>
</dt>
<dt>polkit_context_unref, <a class="indexterm" href="polkit-polkit-context.html#id2923695">polkit_context_unref ()</a>
<dt>polkit_context_unref, <a class="indexterm" href="polkit-polkit-context.html#id3154843">polkit_context_unref ()</a>
</dt>
<dt>polkit_error_free, <a class="indexterm" href="polkit-polkit-error.html#id2875780">polkit_error_free ()</a>
<dt>polkit_error_free, <a class="indexterm" href="polkit-polkit-error.html#id3057904">polkit_error_free ()</a>
</dt>
<dt>polkit_error_get_error_code, <a class="indexterm" href="polkit-polkit-error.html#id2896607">polkit_error_get_error_code ()</a>
<dt>polkit_error_get_error_code, <a class="indexterm" href="polkit-polkit-error.html#id3133528">polkit_error_get_error_code ()</a>
</dt>
<dt>polkit_error_get_error_message, <a class="indexterm" href="polkit-polkit-error.html#id2896685">polkit_error_get_error_message ()</a>
<dt>polkit_error_get_error_message, <a class="indexterm" href="polkit-polkit-error.html#id3133606">polkit_error_get_error_message ()</a>
</dt>
<dt>polkit_error_set_error, <a class="indexterm" href="polkit-polkit-error.html#id2875842">polkit_error_set_error ()</a>
<dt>polkit_error_set_error, <a class="indexterm" href="polkit-polkit-error.html#id3057966">polkit_error_set_error ()</a>
</dt>
<dt>polkit_grant_cancel_auth, <a class="indexterm" href="polkit-polkit-grant.html#id2934558">polkit_grant_cancel_auth ()</a>
<dt>polkit_grant_cancel_auth, <a class="indexterm" href="polkit-polkit-grant.html#id3165712">polkit_grant_cancel_auth ()</a>
</dt>
<dt>polkit_grant_child_func, <a class="indexterm" href="polkit-polkit-grant.html#id2934703">polkit_grant_child_func ()</a>
<dt>polkit_grant_child_func, <a class="indexterm" href="polkit-polkit-grant.html#id3165857">polkit_grant_child_func ()</a>
</dt>
<dt>polkit_grant_initiate_auth, <a class="indexterm" href="polkit-polkit-grant.html#id2934406">polkit_grant_initiate_auth ()</a>
<dt>polkit_grant_initiate_auth, <a class="indexterm" href="polkit-polkit-grant.html#id3165561">polkit_grant_initiate_auth ()</a>
</dt>
<dt>polkit_grant_io_func, <a class="indexterm" href="polkit-polkit-grant.html#id2934613">polkit_grant_io_func ()</a>
<dt>polkit_grant_io_func, <a class="indexterm" href="polkit-polkit-grant.html#id3165767">polkit_grant_io_func ()</a>
</dt>
<dt>polkit_grant_new, <a class="indexterm" href="polkit-polkit-grant.html#id2933931">polkit_grant_new ()</a>
<dt>polkit_grant_new, <a class="indexterm" href="polkit-polkit-grant.html#id3165085">polkit_grant_new ()</a>
</dt>
<dt>polkit_grant_ref, <a class="indexterm" href="polkit-polkit-grant.html#id2933990">polkit_grant_ref ()</a>
<dt>polkit_grant_ref, <a class="indexterm" href="polkit-polkit-grant.html#id3165144">polkit_grant_ref ()</a>
</dt>
<dt>polkit_grant_set_functions, <a class="indexterm" href="polkit-polkit-grant.html#id2934111">polkit_grant_set_functions ()</a>
<dt>polkit_grant_set_functions, <a class="indexterm" href="polkit-polkit-grant.html#id3165265">polkit_grant_set_functions ()</a>
</dt>
<dt>polkit_grant_unref, <a class="indexterm" href="polkit-polkit-grant.html#id2934054">polkit_grant_unref ()</a>
<dt>polkit_grant_unref, <a class="indexterm" href="polkit-polkit-grant.html#id3165208">polkit_grant_unref ()</a>
</dt>
<dt>polkit_policy_cache_debug, <a class="indexterm" href="polkit-polkit-policy-cache.html#id2927638">polkit_policy_cache_debug ()</a>
<dt>polkit_policy_cache_debug, <a class="indexterm" href="polkit-polkit-policy-cache.html#id3158780">polkit_policy_cache_debug ()</a>
</dt>
<dt>polkit_policy_cache_foreach, <a class="indexterm" href="polkit-polkit-policy-cache.html#id2924459">polkit_policy_cache_foreach ()</a>
<dt>polkit_policy_cache_foreach, <a class="indexterm" href="polkit-polkit-policy-cache.html#id3153489">polkit_policy_cache_foreach ()</a>
</dt>
<dt>polkit_policy_cache_get_entry, <a class="indexterm" href="polkit-polkit-policy-cache.html#id2927699">polkit_policy_cache_get_entry ()</a>
<dt>polkit_policy_cache_get_entry, <a class="indexterm" href="polkit-polkit-policy-cache.html#id3158841">polkit_policy_cache_get_entry ()</a>
</dt>
<dt>polkit_policy_cache_get_entry_by_id, <a class="indexterm" href="polkit-polkit-policy-cache.html#id2924346">polkit_policy_cache_get_entry_by_id ()</a>
<dt>polkit_policy_cache_get_entry_by_id, <a class="indexterm" href="polkit-polkit-policy-cache.html#id3153376">polkit_policy_cache_get_entry_by_id ()</a>
</dt>
<dt>polkit_policy_cache_ref, <a class="indexterm" href="polkit-polkit-policy-cache.html#id2927504">polkit_policy_cache_ref ()</a>
<dt>polkit_policy_cache_ref, <a class="indexterm" href="polkit-polkit-policy-cache.html#id3158646">polkit_policy_cache_ref ()</a>
</dt>
<dt>polkit_policy_cache_unref, <a class="indexterm" href="polkit-polkit-policy-cache.html#id2927574">polkit_policy_cache_unref ()</a>
<dt>polkit_policy_cache_unref, <a class="indexterm" href="polkit-polkit-policy-cache.html#id3158716">polkit_policy_cache_unref ()</a>
</dt>
<dt>polkit_policy_default_can_caller_do_action, <a class="indexterm" href="polkit-polkit-policy-default.html#id2926169">polkit_policy_default_can_caller_do_action ()</a>
<dt>polkit_policy_default_can_caller_do_action, <a class="indexterm" href="polkit-polkit-policy-default.html#id3157203">polkit_policy_default_can_caller_do_action ()</a>
</dt>
<dt>polkit_policy_default_can_session_do_action, <a class="indexterm" href="polkit-polkit-policy-default.html#id2926028">polkit_policy_default_can_session_do_action ()</a>
<dt>polkit_policy_default_can_session_do_action, <a class="indexterm" href="polkit-polkit-policy-default.html#id3157063">polkit_policy_default_can_session_do_action ()</a>
</dt>
<dt>polkit_policy_default_debug, <a class="indexterm" href="polkit-polkit-policy-default.html#id2925967">polkit_policy_default_debug ()</a>
<dt>polkit_policy_default_debug, <a class="indexterm" href="polkit-polkit-policy-default.html#id3157002">polkit_policy_default_debug ()</a>
</dt>
<dt>polkit_policy_default_get_allow_active, <a class="indexterm" href="polkit-polkit-policy-default.html#id2922180">polkit_policy_default_get_allow_active ()</a>
<dt>polkit_policy_default_get_allow_active, <a class="indexterm" href="polkit-polkit-policy-default.html#id3109354">polkit_policy_default_get_allow_active ()</a>
</dt>
<dt>polkit_policy_default_get_allow_inactive, <a class="indexterm" href="polkit-polkit-policy-default.html#id2922104">polkit_policy_default_get_allow_inactive ()</a>
<dt>polkit_policy_default_get_allow_inactive, <a class="indexterm" href="polkit-polkit-policy-default.html#id3109278">polkit_policy_default_get_allow_inactive ()</a>
</dt>
<dt>polkit_policy_default_ref, <a class="indexterm" href="polkit-polkit-policy-default.html#id2889357">polkit_policy_default_ref ()</a>
<dt>polkit_policy_default_ref, <a class="indexterm" href="polkit-polkit-policy-default.html#id3153200">polkit_policy_default_ref ()</a>
</dt>
<dt>polkit_policy_default_unref, <a class="indexterm" href="polkit-polkit-policy-default.html#id2889429">polkit_policy_default_unref ()</a>
<dt>polkit_policy_default_unref, <a class="indexterm" href="polkit-polkit-policy-default.html#id3153272">polkit_policy_default_unref ()</a>
</dt>
<dt>polkit_policy_file_entry_annotations_foreach, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2926437">polkit_policy_file_entry_annotations_foreach ()</a>
<dt>polkit_policy_file_entry_annotations_foreach, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3157580">polkit_policy_file_entry_annotations_foreach ()</a>
</dt>
<dt>polkit_policy_file_entry_debug, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2922783">polkit_policy_file_entry_debug ()</a>
<dt>polkit_policy_file_entry_debug, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3153929">polkit_policy_file_entry_debug ()</a>
</dt>
<dt>polkit_policy_file_entry_foreach, <a class="indexterm" href="polkit-polkit-policy-file.html#id2886154">polkit_policy_file_entry_foreach ()</a>
<dt>polkit_policy_file_entry_foreach, <a class="indexterm" href="polkit-polkit-policy-file.html#id3109695">polkit_policy_file_entry_foreach ()</a>
</dt>
<dt>polkit_policy_file_entry_get_action_description, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2885562">polkit_policy_file_entry_get_action_description ()</a>
<dt>polkit_policy_file_entry_get_action_description, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3109103">polkit_policy_file_entry_get_action_description ()</a>
</dt>
<dt>polkit_policy_file_entry_get_action_message, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2926318">polkit_policy_file_entry_get_action_message ()</a>
<dt>polkit_policy_file_entry_get_action_message, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3157460">polkit_policy_file_entry_get_action_message ()</a>
</dt>
<dt>polkit_policy_file_entry_get_annotation, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2926547">polkit_policy_file_entry_get_annotation ()</a>
<dt>polkit_policy_file_entry_get_annotation, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3157691">polkit_policy_file_entry_get_annotation ()</a>
</dt>
<dt>polkit_policy_file_entry_get_default, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2885479">polkit_policy_file_entry_get_default ()</a>
<dt>polkit_policy_file_entry_get_default, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3109019">polkit_policy_file_entry_get_default ()</a>
</dt>
<dt>polkit_policy_file_entry_get_id, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2885404">polkit_policy_file_entry_get_id ()</a>
<dt>polkit_policy_file_entry_get_id, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3108944">polkit_policy_file_entry_get_id ()</a>
</dt>
<dt>polkit_policy_file_entry_ref, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2922649">polkit_policy_file_entry_ref ()</a>
<dt>polkit_policy_file_entry_ref, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3153796">polkit_policy_file_entry_ref ()</a>
</dt>
<dt>polkit_policy_file_entry_unref, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id2922718">polkit_policy_file_entry_unref ()</a>
<dt>polkit_policy_file_entry_unref, <a class="indexterm" href="polkit-polkit-policy-file-entry.html#id3153865">polkit_policy_file_entry_unref ()</a>
</dt>
<dt>polkit_policy_file_new, <a class="indexterm" href="polkit-polkit-policy-file.html#id2913330">polkit_policy_file_new ()</a>
<dt>polkit_policy_file_new, <a class="indexterm" href="polkit-polkit-policy-file.html#id3112335">polkit_policy_file_new ()</a>
</dt>
<dt>polkit_policy_file_ref, <a class="indexterm" href="polkit-polkit-policy-file.html#id2886020">polkit_policy_file_ref ()</a>
<dt>polkit_policy_file_ref, <a class="indexterm" href="polkit-polkit-policy-file.html#id3109561">polkit_policy_file_ref ()</a>
</dt>
<dt>polkit_policy_file_unref, <a class="indexterm" href="polkit-polkit-policy-file.html#id2886091">polkit_policy_file_unref ()</a>
<dt>polkit_policy_file_unref, <a class="indexterm" href="polkit-polkit-policy-file.html#id3109632">polkit_policy_file_unref ()</a>
</dt>
<dt>polkit_result_from_string_representation, <a class="indexterm" href="polkit-polkit-result.html#id2884177">polkit_result_from_string_representation ()</a>
<dt>polkit_result_from_string_representation, <a class="indexterm" href="polkit-polkit-result.html#id3140964">polkit_result_from_string_representation ()</a>
</dt>
<dt>polkit_result_to_string_representation, <a class="indexterm" href="polkit-polkit-result.html#id2884064">polkit_result_to_string_representation ()</a>
<dt>polkit_result_to_string_representation, <a class="indexterm" href="polkit-polkit-result.html#id3140851">polkit_result_to_string_representation ()</a>
</dt>
<dt>polkit_seat_debug, <a class="indexterm" href="polkit-polkit-seat.html#id2894075">polkit_seat_debug ()</a>
<dt>polkit_seat_debug, <a class="indexterm" href="polkit-polkit-seat.html#id3138263">polkit_seat_debug ()</a>
</dt>
<dt>polkit_seat_get_ck_objref, <a class="indexterm" href="polkit-polkit-seat.html#id2893980">polkit_seat_get_ck_objref ()</a>
<dt>polkit_seat_get_ck_objref, <a class="indexterm" href="polkit-polkit-seat.html#id3138168">polkit_seat_get_ck_objref ()</a>
</dt>
<dt>polkit_seat_new, <a class="indexterm" href="polkit-polkit-seat.html#id2885024">polkit_seat_new ()</a>
<dt>polkit_seat_new, <a class="indexterm" href="polkit-polkit-seat.html#id3136581">polkit_seat_new ()</a>
</dt>
<dt>polkit_seat_ref, <a class="indexterm" href="polkit-polkit-seat.html#id2894239">polkit_seat_ref ()</a>
<dt>polkit_seat_ref, <a class="indexterm" href="polkit-polkit-seat.html#id3133322">polkit_seat_ref ()</a>
</dt>
<dt>polkit_seat_set_ck_objref, <a class="indexterm" href="polkit-polkit-seat.html#id2893878">polkit_seat_set_ck_objref ()</a>
<dt>polkit_seat_set_ck_objref, <a class="indexterm" href="polkit-polkit-seat.html#id3138066">polkit_seat_set_ck_objref ()</a>
</dt>
<dt>polkit_seat_unref, <a class="indexterm" href="polkit-polkit-seat.html#id2894312">polkit_seat_unref ()</a>
<dt>polkit_seat_unref, <a class="indexterm" href="polkit-polkit-seat.html#id3133395">polkit_seat_unref ()</a>
</dt>
<dt>polkit_seat_validate, <a class="indexterm" href="polkit-polkit-seat.html#id2890706">polkit_seat_validate ()</a>
<dt>polkit_seat_validate, <a class="indexterm" href="polkit-polkit-seat.html#id3139526">polkit_seat_validate ()</a>
</dt>
<dt>polkit_session_debug, <a class="indexterm" href="polkit-polkit-session.html#id2919647">polkit_session_debug ()</a>
<dt>polkit_session_debug, <a class="indexterm" href="polkit-polkit-session.html#id3150790">polkit_session_debug ()</a>
</dt>
<dt>polkit_session_get_ck_is_active, <a class="indexterm" href="polkit-polkit-session.html#id2919380">polkit_session_get_ck_is_active ()</a>
<dt>polkit_session_get_ck_is_active, <a class="indexterm" href="polkit-polkit-session.html#id3150521">polkit_session_get_ck_is_active ()</a>
</dt>
<dt>polkit_session_get_ck_is_local, <a class="indexterm" href="polkit-polkit-session.html#id2919478">polkit_session_get_ck_is_local ()</a>
<dt>polkit_session_get_ck_is_local, <a class="indexterm" href="polkit-polkit-session.html#id3150619">polkit_session_get_ck_is_local ()</a>
</dt>
<dt>polkit_session_get_ck_objref, <a class="indexterm" href="polkit-polkit-session.html#id2919283">polkit_session_get_ck_objref ()</a>
<dt>polkit_session_get_ck_objref, <a class="indexterm" href="polkit-polkit-session.html#id3150423">polkit_session_get_ck_objref ()</a>
</dt>
<dt>polkit_session_get_ck_remote_host, <a class="indexterm" href="polkit-polkit-session.html#id2871915">polkit_session_get_ck_remote_host ()</a>
<dt>polkit_session_get_ck_remote_host, <a class="indexterm" href="polkit-polkit-session.html#id3144123">polkit_session_get_ck_remote_host ()</a>
</dt>
<dt>polkit_session_get_seat, <a class="indexterm" href="polkit-polkit-session.html#id2919188">polkit_session_get_seat ()</a>
<dt>polkit_session_get_seat, <a class="indexterm" href="polkit-polkit-session.html#id3150328">polkit_session_get_seat ()</a>
</dt>
<dt>polkit_session_get_uid, <a class="indexterm" href="polkit-polkit-session.html#id2919093">polkit_session_get_uid ()</a>
<dt>polkit_session_get_uid, <a class="indexterm" href="polkit-polkit-session.html#id3150234">polkit_session_get_uid ()</a>
</dt>
<dt>polkit_session_new, <a class="indexterm" href="polkit-polkit-session.html#id2879455">polkit_session_new ()</a>
<dt>polkit_session_new, <a class="indexterm" href="polkit-polkit-session.html#id3127679">polkit_session_new ()</a>
</dt>
<dt>polkit_session_new_from_cookie, <a class="indexterm" href="polkit-polkit-dbus.html#id2928701">polkit_session_new_from_cookie ()</a>
<dt>polkit_session_new_from_cookie, <a class="indexterm" href="polkit-polkit-dbus.html#id3159846">polkit_session_new_from_cookie ()</a>
</dt>
<dt>polkit_session_new_from_objpath, <a class="indexterm" href="polkit-polkit-dbus.html#id2925326">polkit_session_new_from_objpath ()</a>
<dt>polkit_session_new_from_objpath, <a class="indexterm" href="polkit-polkit-dbus.html#id3156373">polkit_session_new_from_objpath ()</a>
</dt>
<dt>polkit_session_ref, <a class="indexterm" href="polkit-polkit-session.html#id2879515">polkit_session_ref ()</a>
<dt>polkit_session_ref, <a class="indexterm" href="polkit-polkit-session.html#id3127739">polkit_session_ref ()</a>
</dt>
<dt>polkit_session_set_ck_is_active, <a class="indexterm" href="polkit-polkit-session.html#id2918781">polkit_session_set_ck_is_active ()</a>
<dt>polkit_session_set_ck_is_active, <a class="indexterm" href="polkit-polkit-session.html#id3149921">polkit_session_set_ck_is_active ()</a>
</dt>
<dt>polkit_session_set_ck_is_local, <a class="indexterm" href="polkit-polkit-session.html#id2918883">polkit_session_set_ck_is_local ()</a>
<dt>polkit_session_set_ck_is_local, <a class="indexterm" href="polkit-polkit-session.html#id3150023">polkit_session_set_ck_is_local ()</a>
</dt>
<dt>polkit_session_set_ck_objref, <a class="indexterm" href="polkit-polkit-session.html#id2918690">polkit_session_set_ck_objref ()</a>
<dt>polkit_session_set_ck_objref, <a class="indexterm" href="polkit-polkit-session.html#id3149829">polkit_session_set_ck_objref ()</a>
</dt>
<dt>polkit_session_set_ck_remote_host, <a class="indexterm" href="polkit-polkit-session.html#id2918988">polkit_session_set_ck_remote_host ()</a>
<dt>polkit_session_set_ck_remote_host, <a class="indexterm" href="polkit-polkit-session.html#id3150128">polkit_session_set_ck_remote_host ()</a>
</dt>
<dt>polkit_session_set_seat, <a class="indexterm" href="polkit-polkit-session.html#id2893746">polkit_session_set_seat ()</a>
<dt>polkit_session_set_seat, <a class="indexterm" href="polkit-polkit-session.html#id3145390">polkit_session_set_seat ()</a>
</dt>
<dt>polkit_session_set_uid, <a class="indexterm" href="polkit-polkit-session.html#id2893646">polkit_session_set_uid ()</a>
<dt>polkit_session_set_uid, <a class="indexterm" href="polkit-polkit-session.html#id3145289">polkit_session_set_uid ()</a>
</dt>
<dt>polkit_session_unref, <a class="indexterm" href="polkit-polkit-session.html#id2893583">polkit_session_unref ()</a>
<dt>polkit_session_unref, <a class="indexterm" href="polkit-polkit-session.html#id3145226">polkit_session_unref ()</a>
</dt>
<dt>polkit_session_validate, <a class="indexterm" href="polkit-polkit-session.html#id2919702">polkit_session_validate ()</a>
<dt>polkit_session_validate, <a class="indexterm" href="polkit-polkit-session.html#id3150844">polkit_session_validate ()</a>
</dt>
<dt>polkit_uint64_t, <a class="indexterm" href="polkit-polkit-types.html#id2904929">polkit_uint64_t</a>
<dt>polkit_uint64_t, <a class="indexterm" href="polkit-polkit-types.html#id3121534">polkit_uint64_t</a>
</dt>
</dl>
</div></div>


+ 1
- 1
doc/html/license.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Appendix&#160;A.&#160;License</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="prev" href="ix01.html" title="Index">


+ 3
- 3
doc/html/model.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>PolicyKit Model</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="rn01.html" title="Design Overview">
<link rel="prev" href="ch01s03.html" title="Defining the Problem">
@@ -33,13 +33,13 @@
<div class="titlepage"><div><div><h2 class="title">
<a name="model"></a>PolicyKit Model</h2></div></div></div>
<div class="toc"><dl>
<dt><span class="sect1"><a href="model.html#id2886668">Mechanims vs. Policy</a></span></dt>
<dt><span class="sect1"><a href="model.html#id3123433">Mechanims vs. Policy</a></span></dt>
<dt><span class="sect1"><a href="ch02s02.html">Concepts</a></span></dt>
<dt><span class="sect1"><a href="ch02s03.html">Theory of Operation</a></span></dt>
</dl></div>
<div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id2886668"></a>Mechanims vs. Policy</h2></div></div></div>
<a name="id3123433"></a>Mechanims vs. Policy</h2></div></div></div>
<p>
PolicyKit assumes a model where a program is split into two
parts. One part, the Mechanism, runs privileged (with no user


+ 15
- 10
doc/html/polkit-conf.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>PolicyKit configuration</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="rn01.html" title="Design Overview">
<link rel="prev" href="ch02s03.html" title="Theory of Operation">
@@ -33,13 +33,13 @@
<div class="titlepage"><div><div><h2 class="title">
<a name="polkit-conf"></a>PolicyKit configuration</h2></div></div></div>
<div class="toc"><dl>
<dt><span class="sect1"><a href="polkit-conf.html#id2901856">Declaring Actions</a></span></dt>
<dd><dl><dt><span class="sect2"><a href="polkit-conf.html#id2827259">Annotations</a></span></dt></dl></dd>
<dt><span class="sect1"><a href="polkit-conf.html#id3131512">Declaring Actions</a></span></dt>
<dd><dl><dt><span class="sect2"><a href="polkit-conf.html#id3125880">Annotations</a></span></dt></dl></dd>
<dt><span class="sect1"><a href="beyond-defaults.html">Beyond the Defaults</a></span></dt>
</dl></div>
<div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id2901856"></a>Declaring Actions</h2></div></div></div>
<a name="id3131512"></a>Declaring Actions</h2></div></div></div>
<p>
A Mechanism needs to declare what Actions it supports. This is
achieved by dropping one or more XML files with the suffix <code class="literal">.policy</code>
@@ -61,6 +61,7 @@
&lt;message xml:lang="da"&gt;System indstillinger forhindrer PolicyKit-gnome eksempel hj&#230;lper i at Frobnikere!&lt;/message&gt;
&lt;message xml:lang="en_CA"&gt;System policy prevents the PolicyKit-gnome example helper from Frobnicating, Aye!&lt;/message&gt;
&lt;defaults&gt;
&lt;allow_any&gt;no&lt;/allow_any&gt;
&lt;allow_inactive&gt;no&lt;/allow_inactive&gt;
&lt;allow_active&gt;auth_self&lt;/allow_active&gt;
&lt;/defaults&gt;
@@ -74,6 +75,7 @@
&lt;message xml:lang="da"&gt;System indstillinger forhindrer PolicyKit-gnome eksempel hj&#230;lper i at Tv&#230;kke!&lt;/message&gt;
&lt;message xml:lang="en_CA"&gt;System policy prevents the PolicyKit-gnome example helper from Tweaking, Aye!&lt;/message&gt;
&lt;defaults&gt;
&lt;allow_any&gt;no&lt;/allow_any&gt;
&lt;allow_inactive&gt;no&lt;/allow_inactive&gt;
&lt;allow_active&gt;auth_admin&lt;/allow_active&gt;
&lt;/defaults&gt;
@@ -110,11 +112,14 @@
</li>
<li><p>
<span class="emphasis"><em>Defaults:</em></span>
The <code class="literal">allow_inactive</code>
and <code class="literal">allow_active</code> specify the default
answer that <code class="literal">libpolkit</code> will return for
respectively inactive and active sessions. See below for
valid values and their meaning.
The <code class="literal">allow_any</code>, <code class="literal">allow_inactive</code>
and <code class="literal">allow_active</code> tags specify the
default answer that <code class="literal">libpolkit</code> will
return for respectively any, inactive and active
sessions. See below for valid values and their
meaning. Any of these elements, including the
enclosing <code class="literal">defaults</code> elements may be
omitted.
</p></li>
<li><p>
<span class="emphasis"><em>Textual descriptions:</em></span> Simply included
@@ -176,7 +181,7 @@
</p>
<div class="sect2" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="id2827259"></a>Annotations</h3></div></div></div>
<a name="id3125880"></a>Annotations</h3></div></div></div>
<p>
When declaring an Action, one can also annotate it with one or
more key/value pairs:


+ 24
- 24
doc/html/polkit-polkit-action.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Actions</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="rn02.html" title="Core API Reference">
<link rel="prev" href="polkit-polkit-result.html" title="Results">
@@ -30,16 +30,16 @@
<th width="100%" align="center">PolicyKit Library Reference Manual</th>
<td><a accesskey="n" href="polkit-polkit-seat.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2906843" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3132360" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2886479" class="shortcut">Description</a></nobr></td></tr>
<a href="#id3119254" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="polkit-polkit-action"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2906843"></a><span class="refentrytitle">Actions</span>
<a name="id3132360"></a><span class="refentrytitle">Actions</span>
</h2>
<p>Actions &#8212; Models what a caller is attempting to do.</p>
</td>
@@ -65,7 +65,7 @@ void <a class="link" href="polkit-polkit-action.html#polkit-actio
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2886479"></a><h2>Description</h2>
<a name="id3119254"></a><h2>Description</h2>
<p>
This class is used to represent a PolicyKit action.</p>
<p>
@@ -73,11 +73,11 @@ This class is used to represent a PolicyKit action.</p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2871656"></a><h2>Details</h2>
<a name="id3119400"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2871666"></a><h3>
<a name="id3119410"></a><h3>
<a name="PolKitAction"></a>PolKitAction</h3>
<a class="indexterm" name="id2871679"></a><pre class="programlisting">typedef struct _PolKitAction PolKitAction;</pre>
<a class="indexterm" name="id3119423"></a><pre class="programlisting">typedef struct _PolKitAction PolKitAction;</pre>
<p>
Objects of this class are used to record information about an action.</p>
<p>
@@ -86,9 +86,9 @@ Objects of this class are used to record information about an action.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2871699"></a><h3>
<a name="id3119443"></a><h3>
<a name="polkit-action-new"></a>polkit_action_new ()</h3>
<a class="indexterm" name="id2871711"></a><pre class="programlisting"><a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a>* polkit_action_new (void);</pre>
<a class="indexterm" name="id3119455"></a><pre class="programlisting"><a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a>* polkit_action_new (void);</pre>
<p>
Create a new <a class="link" href="polkit-polkit-action.html#PolKitAction"><span class="type">PolKitAction</span></a> object.</p>
<p>
@@ -105,9 +105,9 @@ Create a new <a class="link" href="polkit-polkit-action.html#PolKitAction"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2871759"></a><h3>
<a name="id3119503"></a><h3>
<a name="polkit-action-ref"></a>polkit_action_ref ()</h3>
<a class="indexterm" name="id2871771"></a><pre class="programlisting"><a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a>* polkit_action_ref (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action);</pre>
<a class="indexterm" name="id3119515"></a><pre class="programlisting"><a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a>* polkit_action_ref (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action);</pre>
<p>
Increase reference count.</p>
<p>
@@ -131,9 +131,9 @@ Increase reference count.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2888786"></a><h3>
<a name="id3127279"></a><h3>
<a name="polkit-action-unref"></a>polkit_action_unref ()</h3>
<a class="indexterm" name="id2888798"></a><pre class="programlisting">void polkit_action_unref (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action);</pre>
<a class="indexterm" name="id3127291"></a><pre class="programlisting">void polkit_action_unref (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action);</pre>
<p>
Decreases the reference count of the object. If it becomes zero,
the object is freed. Before freeing, reference counts on embedded
@@ -152,9 +152,9 @@ objects are decresed by one.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2888850"></a><h3>
<a name="id3127344"></a><h3>
<a name="polkit-action-set-action-id"></a>polkit_action_set_action_id ()</h3>
<a class="indexterm" name="id2888862"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_action_set_action_id (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action,
<a class="indexterm" name="id3127355"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_action_set_action_id (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action,
const char *action_id);</pre>
<p>
Set the action identifier</p>
@@ -186,9 +186,9 @@ href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2888950"></a><h3>
<a name="id3127444"></a><h3>
<a name="polkit-action-get-action-id"></a>polkit_action_get_action_id ()</h3>
<a class="indexterm" name="id2888962"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_action_get_action_id (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action,
<a class="indexterm" name="id3127455"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_action_get_action_id (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action,
char **out_action_id);</pre>
<p>
Get the action identifier.</p>
@@ -218,9 +218,9 @@ Get the action identifier.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2900188"></a><h3>
<a name="id3110972"></a><h3>
<a name="polkit-action-debug"></a>polkit_action_debug ()</h3>
<a class="indexterm" name="id2900201"></a><pre class="programlisting">void polkit_action_debug (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action);</pre>
<a class="indexterm" name="id3110984"></a><pre class="programlisting">void polkit_action_debug (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action);</pre>
<p>
Print debug details</p>
<p>
@@ -237,9 +237,9 @@ Print debug details</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2900250"></a><h3>
<a name="id3111034"></a><h3>
<a name="polkit-action-validate"></a>polkit_action_validate ()</h3>
<a class="indexterm" name="id2900262"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_action_validate (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action);</pre>
<a class="indexterm" name="id3111045"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_action_validate (<a class="link" href="polkit-polkit-action.html#PolKitAction">PolKitAction</a> *action);</pre>
<p>
Validate the object</p>
<p>
@@ -265,9 +265,9 @@ href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2900329"></a><h3>
<a name="id3111112"></a><h3>
<a name="polkit-action-validate-id"></a>polkit_action_validate_id ()</h3>
<a class="indexterm" name="id2900340"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_action_validate_id (const char *action_id);</pre>
<a class="indexterm" name="id3111124"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_action_validate_id (const char *action_id);</pre>
<p>
Validate whether an action identifier is well formed. To be well
formed, an action identifier needs to start with a lower case ASCII


+ 38
- 38
doc/html/polkit-polkit-caller.html View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Caller</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="rn02.html" title="Core API Reference">
<link rel="prev" href="polkit-polkit-session.html" title="Session">
@@ -30,16 +30,16 @@
<th width="100%" align="center">PolicyKit Library Reference Manual</th>
<td><a accesskey="n" href="polkit-polkit-context.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2882386" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3110143" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2878382" class="shortcut">Description</a></nobr></td></tr>
<a href="#id3141432" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="polkit-polkit-caller"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2882386"></a><span class="refentrytitle">Caller</span>
<a name="id3110143"></a><span class="refentrytitle">Caller</span>
</h2>
<p>Caller &#8212; Represents a process requesting a mechanism to do something.</p>
</td>
@@ -80,7 +80,7 @@ void <a class="link" href="polkit-polkit-caller.html#polkit-calle
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2878382"></a><h2>Description</h2>
<a name="id3141432"></a><h2>Description</h2>
<p>
This class is used to represent a caller in another process that is
calling into a mechanism to make the mechanism do something.</p>
@@ -89,11 +89,11 @@ calling into a mechanism to make the mechanism do something.</p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2878404"></a><h2>Details</h2>
<a name="id3141454"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2878415"></a><h3>
<a name="id3141464"></a><h3>
<a name="PolKitCaller"></a>PolKitCaller</h3>
<a class="indexterm" name="id2878427"></a><pre class="programlisting">typedef struct _PolKitCaller PolKitCaller;</pre>
<a class="indexterm" name="id3141477"></a><pre class="programlisting">typedef struct _PolKitCaller PolKitCaller;</pre>
<p>
Objects of this class are used to record information about a caller
in another process.</p>
@@ -103,9 +103,9 @@ in another process.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2878448"></a><h3>
<a name="id3141497"></a><h3>
<a name="polkit-caller-new"></a>polkit_caller_new ()</h3>
<a class="indexterm" name="id2878460"></a><pre class="programlisting"><a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a>* polkit_caller_new (void);</pre>
<a class="indexterm" name="id3141510"></a><pre class="programlisting"><a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a>* polkit_caller_new (void);</pre>
<p>
Creates a new <a class="link" href="polkit-polkit-caller.html#PolKitCaller"><span class="type">PolKitCaller</span></a> object.</p>
<p>
@@ -122,9 +122,9 @@ Creates a new <a class="link" href="polkit-polkit-caller.html#PolKitCaller"><spa
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2878508"></a><h3>
<a name="id3141557"></a><h3>
<a name="polkit-caller-ref"></a>polkit_caller_ref ()</h3>
<a class="indexterm" name="id2878520"></a><pre class="programlisting"><a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a>* polkit_caller_ref (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller);</pre>
<a class="indexterm" name="id3141570"></a><pre class="programlisting"><a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a>* polkit_caller_ref (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller);</pre>
<p>
Increase reference count.</p>
<p>
@@ -148,9 +148,9 @@ Increase reference count.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2878580"></a><h3>
<a name="id3141630"></a><h3>
<a name="polkit-caller-unref"></a>polkit_caller_unref ()</h3>
<a class="indexterm" name="id2878593"></a><pre class="programlisting">void polkit_caller_unref (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller);</pre>
<a class="indexterm" name="id3141643"></a><pre class="programlisting">void polkit_caller_unref (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller);</pre>
<p>
Decreases the reference count of the object. If it becomes zero,
the object is freed. Before freeing, reference counts on embedded
@@ -169,9 +169,9 @@ objects are decresed by one.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2916406"></a><h3>
<a name="id3145931"></a><h3>
<a name="polkit-caller-set-dbus-name"></a>polkit_caller_set_dbus_name ()</h3>
<a class="indexterm" name="id2916417"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_dbus_name (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3145942"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_dbus_name (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
const char *dbus_name);</pre>
<p>
Set the callers unique system bus connection name.</p>
@@ -203,9 +203,9 @@ href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2916505"></a><h3>
<a name="id3146032"></a><h3>
<a name="polkit-caller-set-uid"></a>polkit_caller_set_uid ()</h3>
<a class="indexterm" name="id2916516"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_uid (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3146043"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_uid (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
uid_t uid);</pre>
<p>
Set the callers UNIX user id.</p>
@@ -237,9 +237,9 @@ href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2916604"></a><h3>
<a name="id3146131"></a><h3>
<a name="polkit-caller-set-pid"></a>polkit_caller_set_pid ()</h3>
<a class="indexterm" name="id2916615"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_pid (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3146142"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_pid (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
pid_t pid);</pre>
<p>
Set the callers UNIX process id.</p>
@@ -271,9 +271,9 @@ href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2920590"></a><h3>
<a name="id3151731"></a><h3>
<a name="polkit-caller-set-selinux-context"></a>polkit_caller_set_selinux_context ()</h3>
<a class="indexterm" name="id2920603"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_selinux_context (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3151741"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_selinux_context (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
const char *selinux_context);</pre>
<p>
Set the callers SELinux security context.</p>
@@ -305,9 +305,9 @@ href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2920684"></a><h3>
<a name="id3151822"></a><h3>
<a name="polkit-caller-set-ck-session"></a>polkit_caller_set_ck_session ()</h3>
<a class="indexterm" name="id2920696"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_ck_session (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3151836"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_set_ck_session (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="link" href="polkit-polkit-session.html#PolKitSession">PolKitSession</a> *session);</pre>
<p>
Set the callers session. The reference count on the given object
@@ -341,9 +341,9 @@ href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2920790"></a><h3>
<a name="id3151929"></a><h3>
<a name="polkit-caller-get-dbus-name"></a>polkit_caller_get_dbus_name ()</h3>
<a class="indexterm" name="id2920802"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_dbus_name (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3151941"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_dbus_name (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
char **out_dbus_name);</pre>
<p>
Get the callers unique system bus connection name.</p>
@@ -373,9 +373,9 @@ Get the callers unique system bus connection name.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2920886"></a><h3>
<a name="id3152025"></a><h3>
<a name="polkit-caller-get-uid"></a>polkit_caller_get_uid ()</h3>
<a class="indexterm" name="id2920897"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_uid (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3152036"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_uid (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
uid_t *out_uid);</pre>
<p>
Get the callers UNIX user id.</p>
@@ -405,9 +405,9 @@ Get the callers UNIX user id.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2920979"></a><h3>
<a name="id3152118"></a><h3>
<a name="polkit-caller-get-pid"></a>polkit_caller_get_pid ()</h3>
<a class="indexterm" name="id2920990"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_pid (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3152129"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_pid (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
pid_t *out_pid);</pre>
<p>
Get the callers UNIX process id.</p>
@@ -437,9 +437,9 @@ Get the callers UNIX process id.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2921073"></a><h3>
<a name="id3152212"></a><h3>
<a name="polkit-caller-get-selinux-context"></a>polkit_caller_get_selinux_context ()</h3>
<a class="indexterm" name="id2921087"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_selinux_context (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3152226"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_selinux_context (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
char **out_selinux_context);</pre>
<p>
Get the callers SELinux security context. Note that this may be
@@ -472,9 +472,9 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2921178"></a><h3>
<a name="id3152317"></a><h3>
<a name="polkit-caller-get-ck-session"></a>polkit_caller_get_ck_session ()</h3>
<a class="indexterm" name="id2921192"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_ck_session (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,
<a class="indexterm" name="id3152331"></a><pre class="programlisting"><a class="link" href="polkit-polkit-types.html#polkit-bool-t">polkit_bool_t</a> polkit_caller_get_ck_session (<a class="link" href="polkit-polkit-caller.html#PolKitCaller">PolKitCaller</a> *caller,