Browse Source

Imported Upstream version 0.104

tags/upstream/0.104^0
Martin Pitt 9 years ago
parent
commit
da9e456886
100 changed files with 44427 additions and 181 deletions
  1. +1
    -1
      Makefile.am
  2. +6
    -1
      Makefile.in
  3. +36
    -0
      NEWS
  4. +10
    -0
      aclocal.m4
  5. +5
    -0
      actions/Makefile.in
  6. +398
    -18
      configure
  7. +39
    -4
      configure.ac
  8. +5
    -0
      data/Makefile.in
  9. +5
    -0
      docs/Makefile.in
  10. +5
    -0
      docs/man/Makefile.in
  11. +6
    -3
      docs/man/pklocalauthority.xml
  12. +5
    -0
      docs/polkit/Makefile.in
  13. +3
    -0
      docs/polkit/html/Identities.html
  14. +9
    -10
      docs/polkit/html/PolkitActionDescription.html
  15. +1
    -2
      docs/polkit/html/PolkitAgentListener.html
  16. +10
    -12
      docs/polkit/html/PolkitAuthority.html
  17. +2
    -2
      docs/polkit/html/PolkitBackendAuthority.html
  18. +2
    -2
      docs/polkit/html/PolkitBackendInteractiveAuthority.html
  19. +25
    -0
      docs/polkit/html/PolkitBackendLocalAuthority.html
  20. +3
    -4
      docs/polkit/html/PolkitError.html
  21. +1
    -1
      docs/polkit/html/PolkitIdentity.html
  22. +1
    -1
      docs/polkit/html/PolkitPermission.html
  23. +3
    -1
      docs/polkit/html/PolkitSystemBusName.html
  24. +2
    -2
      docs/polkit/html/PolkitUnixGroup.html
  25. +153
    -0
      docs/polkit/html/PolkitUnixNetgroup.html
  26. +23
    -0
      docs/polkit/html/PolkitUnixUser.html
  27. +4
    -1
      docs/polkit/html/index.html
  28. +22
    -4
      docs/polkit/html/index.sgml
  29. +6
    -3
      docs/polkit/html/pklocalauthority.8.html
  30. +20
    -4
      docs/polkit/html/polit-index.html
  31. +14
    -5
      docs/polkit/html/polkit-1.devhelp2
  32. +1
    -0
      docs/polkit/html/polkit-hierarchy.html
  33. +1
    -1
      docs/polkit/html/polkit.8.html
  34. +3
    -0
      docs/polkit/html/ref-api.html
  35. +2
    -2
      docs/polkit/html/ref-backend-api.html
  36. +1
    -0
      docs/polkit/polkit-1-docs.xml
  37. +18
    -0
      docs/polkit/polkit-1-sections.txt
  38. +1
    -0
      docs/polkit/polkit-1.types
  39. +1
    -1
      docs/version.xml
  40. +5
    -0
      src/Makefile.in
  41. +5
    -0
      src/examples/Makefile.in
  42. +5
    -0
      src/nullbackend/Makefile.in
  43. +12
    -1
      src/polkit/Makefile.am
  44. +79
    -34
      src/polkit/Makefile.in
  45. +1
    -0
      src/polkit/polkit.h
  46. +26
    -0
      src/polkit/polkitidentity.c
  47. +3
    -0
      src/polkit/polkittypes.h
  48. +242
    -0
      src/polkit/polkitunixnetgroup.c
  49. +58
    -0
      src/polkit/polkitunixnetgroup.h
  50. +481
    -0
      src/polkit/polkitunixsession-systemd.c
  51. +40
    -6
      src/polkit/polkitunixuser.c
  52. +1
    -0
      src/polkit/polkitunixuser.h
  53. +5
    -0
      src/polkitagent/Makefile.in
  54. +10
    -1
      src/polkitbackend/Makefile.am
  55. +61
    -26
      src/polkitbackend/Makefile.in
  56. +148
    -25
      src/polkitbackend/polkitbackendlocalauthority.c
  57. +31
    -3
      src/polkitbackend/polkitbackendlocalauthorizationstore.c
  58. +414
    -0
      src/polkitbackend/polkitbackendsessionmonitor-systemd.c
  59. +5
    -0
      src/polkitd/Makefile.in
  60. +5
    -0
      src/programs/Makefile.in
  61. +30
    -0
      test/Makefile.am
  62. +717
    -0
      test/Makefile.in
  63. +7
    -0
      test/data/etc/group
  64. +5
    -0
      test/data/etc/netgroup
  65. +5
    -0
      test/data/etc/passwd
  66. +2
    -0
      test/data/etc/polkit-1/localauthority.conf.d/10-test.conf
  67. +14
    -0
      test/data/etc/polkit-1/localauthority/10-test/com.example.pkla
  68. +6
    -0
      test/data/var/lib/polkit-1/localauthority/10-test/com.example.pkla
  69. +1
    -0
      test/mocklibc/AUTHORS
  70. +202
    -0
      test/mocklibc/COPYING
  71. +10
    -0
      test/mocklibc/ChangeLog
  72. +365
    -0
      test/mocklibc/INSTALL
  73. +3
    -0
      test/mocklibc/Makefile.am
  74. +717
    -0
      test/mocklibc/Makefile.in
  75. +0
    -0
      test/mocklibc/NEWS
  76. +121
    -0
      test/mocklibc/README
  77. +9382
    -0
      test/mocklibc/aclocal.m4
  78. +25
    -0
      test/mocklibc/bin/Makefile.am
  79. +530
    -0
      test/mocklibc/bin/Makefile.in
  80. +136
    -0
      test/mocklibc/bin/mocklibc-test.in
  81. +34
    -0
      test/mocklibc/bin/mocklibc.in
  82. +1501
    -0
      test/mocklibc/config.guess
  83. +99
    -0
      test/mocklibc/config.h.in
  84. +1705
    -0
      test/mocklibc/config.sub
  85. +13783
    -0
      test/mocklibc/configure
  86. +38
    -0
      test/mocklibc/configure.ac
  87. +630
    -0
      test/mocklibc/depcomp
  88. +4
    -0
      test/mocklibc/example/group
  89. +5
    -0
      test/mocklibc/example/netgroup
  90. +3
    -0
      test/mocklibc/example/passwd
  91. +520
    -0
      test/mocklibc/install-sh
  92. +9636
    -0
      test/mocklibc/ltmain.sh
  93. +376
    -0
      test/mocklibc/missing
  94. +8
    -0
      test/mocklibc/src/Makefile.am
  95. +577
    -0
      test/mocklibc/src/Makefile.in
  96. +156
    -0
      test/mocklibc/src/grp.c
  97. +100
    -0
      test/mocklibc/src/netdb.c
  98. +84
    -0
      test/mocklibc/src/netgroup-debug.c
  99. +58
    -0
      test/mocklibc/src/netgroup-debug.h
  100. +342
    -0
      test/mocklibc/src/netgroup.c

+ 1
- 1
Makefile.am View File

@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in

SUBDIRS = actions data src docs po
SUBDIRS = actions data src docs po test

NULL =



+ 6
- 1
Makefile.in View File

@@ -146,6 +146,8 @@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
HAVE_PAM = @HAVE_PAM@
@@ -221,6 +223,8 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
SYSTEMD_LIBS = @SYSTEMD_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -272,12 +276,13 @@ psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = actions data src docs po
SUBDIRS = actions data src docs po test
NULL =
EXTRA_DIST = \
HACKING \


+ 36
- 0
NEWS View File

@@ -1,3 +1,39 @@
--------------
PolicyKit 0.104
--------------

This is PolicyKit 0.104

WARNING WARNING WARNING: This is a prerelease on the road to PolicyKit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.

Build requirements

glib, gobject, gio >= 2.28
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd

Changes since PolicyKit 0.103:

David Zeuthen (3):
Post-release version bump to 0.104
Detect whether systemd is available and default to use if so
Update NEWS for release

Matthias Clasen (1):
Add optional systemd support

Nikki VonHollen (2):
Bug 43608 – Add unit tests
Bug 43610 - Add netgroup support

Thanks to our contributors.

David Zeuthen,
January 3, 2012

--------------
PolicyKit 0.103
--------------


+ 10
- 0
aclocal.m4 View File

@@ -260,6 +260,10 @@ msgstr ""
[CATOBJEXT=.mo
DATADIRNAME=lib])
;;
*-*-openbsd*)
CATOBJEXT=.mo
DATADIRNAME=share
;;
*)
CATOBJEXT=.mo
DATADIRNAME=lib
@@ -460,6 +464,7 @@ dnl Usage:
dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
AC_DEFUN([GTK_DOC_CHECK],
[
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first

@@ -487,6 +492,11 @@ AC_DEFUN([GTK_DOC_CHECK],
AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
[PKG_CHECK_EXISTS([gtk-doc >= $1],,
AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
dnl don't check for glib if we build glib
if test "x$PACKAGE_NAME" != "xglib"; then
dnl don't fail if someone does not have glib
PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,)
fi
fi

AC_MSG_CHECKING([whether to build gtk-doc documentation])


+ 5
- 0
actions/Makefile.in View File

@@ -115,6 +115,8 @@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
HAVE_PAM = @HAVE_PAM@
@@ -190,6 +192,8 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
SYSTEMD_LIBS = @SYSTEMD_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -241,6 +245,7 @@ psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@


+ 398
- 18
configure View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for polkit 0.103.
# Generated by GNU Autoconf 2.68 for polkit 0.104.
#
# Report bugs to <http://lists.freedesktop.org/mailman/listinfo/polkit-devel>.
#
@@ -571,11 +571,12 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='polkit'
PACKAGE_TARNAME='polkit'
PACKAGE_VERSION='0.103'
PACKAGE_STRING='polkit 0.103'
PACKAGE_VERSION='0.104'
PACKAGE_STRING='polkit 0.104'
PACKAGE_BUGREPORT='http://lists.freedesktop.org/mailman/listinfo/polkit-devel'
PACKAGE_URL=''

enable_option_checking=no
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
@@ -701,6 +702,10 @@ POLKIT_AUTHFW_PAM_TRUE
POLKIT_AUTHFW_NONE_FALSE
POLKIT_AUTHFW_NONE_TRUE
POLKIT_AUTHFW
HAVE_SYSTEMD_FALSE
HAVE_SYSTEMD_TRUE
SYSTEMD_LIBS
SYSTEMD_CFLAGS
EXPAT_LIBS
GLIB_LIBS
GLIB_CFLAGS
@@ -714,13 +719,15 @@ GTK_DOC_BUILD_HTML_FALSE
GTK_DOC_BUILD_HTML_TRUE
ENABLE_GTK_DOC_FALSE
ENABLE_GTK_DOC_TRUE
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
PKG_CONFIG
GTKDOC_DEPS_LIBS
GTKDOC_DEPS_CFLAGS
HTML_DIR
GTKDOC_MKPDF
GTKDOC_REBASE
GTKDOC_CHECK
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
PKG_CONFIG
MAN_PAGES_ENABLED_FALSE
MAN_PAGES_ENABLED_TRUE
XSLTPROC
@@ -773,6 +780,7 @@ CC
LT_AGE
LT_REVISION
LT_CURRENT
subdirs
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
MAINT
@@ -861,6 +869,7 @@ enable_gtk_doc
enable_gtk_doc_html
enable_gtk_doc_pdf
with_expat
enable_systemd
with_authfw
with_pam_prefix
with_pam_module_dir
@@ -882,9 +891,13 @@ CPP
PKG_CONFIG
PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
GTKDOC_DEPS_CFLAGS
GTKDOC_DEPS_LIBS
GLIB_CFLAGS
GLIB_LIBS'

GLIB_LIBS
SYSTEMD_CFLAGS
SYSTEMD_LIBS'
ac_subdirs_all='test/mocklibc'

# Initialize some variables set by options.
ac_init_help=
@@ -1426,7 +1439,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 polkit 0.103 to adapt to many kinds of systems.
\`configure' configures polkit 0.104 to adapt to many kinds of systems.

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

@@ -1496,7 +1509,7 @@ fi

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

@@ -1522,6 +1535,8 @@ Optional Features:
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
--enable-gtk-doc-html build documentation in html format [[default=yes]]
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
--enable-systemd=[auto/yes/no]
Use systemd (auto/yes/no)
--enable-introspection=[no/auto/yes]
Enable introspection for this build
--enable-examples Build the example programs
@@ -1557,8 +1572,16 @@ Some influential environment variables:
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
GTKDOC_DEPS_CFLAGS
C compiler flags for GTKDOC_DEPS, overriding pkg-config
GTKDOC_DEPS_LIBS
linker flags for GTKDOC_DEPS, overriding pkg-config
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
GLIB_LIBS linker flags for GLIB, overriding pkg-config
SYSTEMD_CFLAGS
C compiler flags for SYSTEMD, overriding pkg-config
SYSTEMD_LIBS
linker flags for SYSTEMD, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
@@ -1626,7 +1649,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
polkit configure 0.103
polkit configure 0.104
generated by GNU Autoconf 2.68

Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1995,7 +2018,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 polkit $as_me 0.103, which was
It was created by polkit $as_me 0.104, which was
generated by GNU Autoconf 2.68. Invocation command line was

$ $0 $@
@@ -2810,7 +2833,7 @@ fi

# Define the identity of the package.
PACKAGE=polkit
VERSION=0.103
VERSION=0.104


cat >>confdefs.h <<_ACEOF
@@ -2889,6 +2912,12 @@ esac
AM_BACKSLASH='\'


# Include external mocklibc tool for unit testing


subdirs="$subdirs test/mocklibc"


# libtool versioning - this applies to all libraries in this package
#
# See http://sources.redhat.com/autobook/autobook/autobook_91.html#SEC91 for details
@@ -13365,6 +13394,7 @@ $as_echo "no" >&6; }
fi



# Extract the first word of "gtkdoc-check", so it can be a program name with args.
set dummy gtkdoc-check; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -13522,6 +13552,99 @@ fi
else
as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build $PACKAGE_NAME" "$LINENO" 5
fi
if test "x$PACKAGE_NAME" != "xglib"; then

pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }

if test -n "$GTKDOC_DEPS_CFLAGS"; then
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$GTKDOC_DEPS_LIBS"; then
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi



if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }

if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
else
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5

as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:

$GTKDOC_DEPS_PKG_ERRORS

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details." "$LINENO" 5

elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See \`config.log' for more details" "$LINENO" 5; }

else
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }

fi
fi
fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
@@ -13844,6 +13967,107 @@ if test "x$GCC" = "xyes"; then
fi


have_systemd=no
SESSION_TRACKING=ConsoleKit

# Check whether --enable-systemd was given.
if test "${enable_systemd+set}" = set; then :
enableval=$enable_systemd; enable_systemd=$enableval
else
enable_systemd=auto
fi

if test "$enable_systemd" != "no"; then

pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
$as_echo_n "checking for SYSTEMD... " >&6; }

if test -n "$SYSTEMD_CFLAGS"; then
pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login\""; } >&5
($PKG_CONFIG --exists --print-errors "libsystemd-login") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-login" 2>/dev/null`
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$SYSTEMD_LIBS"; then
pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login\""; } >&5
($PKG_CONFIG --exists --print-errors "libsystemd-login") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-login" 2>/dev/null`
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi



if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }

if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsystemd-login" 2>&1`
else
SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsystemd-login" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$SYSTEMD_PKG_ERRORS" >&5

have_systemd=no
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
have_systemd=no
else
SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
have_systemd=yes
fi
if test "$have_systemd" = "yes"; then
SESSION_TRACKING=systemd
else
if test "$enable_systemd" = "yes"; then
as_fn_error $? "systemd support requested but libsystemd-login1 library not found" "$LINENO" 5
fi
fi
fi



if test "$have_systemd" = "yes"; then
HAVE_SYSTEMD_TRUE=
HAVE_SYSTEMD_FALSE='#'
else
HAVE_SYSTEMD_TRUE='#'
HAVE_SYSTEMD_FALSE=
fi




# Check whether --with-authfw was given.
if test "${with_authfw+set}" = set; then :
@@ -15740,6 +15964,10 @@ else
DATADIRNAME=lib
fi

;;
*-*-openbsd*)
CATOBJEXT=.mo
DATADIRNAME=share
;;
*)
CATOBJEXT=.mo
@@ -15866,7 +16094,7 @@ cat >>confdefs.h <<_ACEOF
_ACEOF


ac_config_files="$ac_config_files Makefile actions/Makefile data/Makefile data/polkit-1 data/polkit-gobject-1.pc data/polkit-backend-1.pc data/polkit-agent-1.pc src/Makefile src/polkit/Makefile src/polkitbackend/Makefile src/polkitagent/Makefile src/polkitd/Makefile src/programs/Makefile src/examples/Makefile src/nullbackend/Makefile docs/version.xml docs/extensiondir.xml docs/Makefile docs/polkit/Makefile docs/man/Makefile po/Makefile.in"
ac_config_files="$ac_config_files Makefile actions/Makefile data/Makefile data/polkit-1 data/polkit-gobject-1.pc data/polkit-backend-1.pc data/polkit-agent-1.pc src/Makefile src/polkit/Makefile src/polkitbackend/Makefile src/polkitagent/Makefile src/polkitd/Makefile src/programs/Makefile src/examples/Makefile src/nullbackend/Makefile docs/version.xml docs/extensiondir.xml docs/Makefile docs/polkit/Makefile docs/man/Makefile po/Makefile.in test/Makefile test/polkit/Makefile test/polkitbackend/Makefile"

cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -16029,6 +16257,10 @@ if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then
as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${POLKIT_AUTHFW_NONE_TRUE}" && test -z "${POLKIT_AUTHFW_NONE_FALSE}"; then
as_fn_error $? "conditional \"POLKIT_AUTHFW_NONE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -16494,7 +16726,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by polkit $as_me 0.103, which was
This file was extended by polkit $as_me 0.104, which was
generated by GNU Autoconf 2.68. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
@@ -16560,7 +16792,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
polkit config.status 0.103
polkit config.status 0.104
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"

@@ -16992,6 +17224,9 @@ do
"docs/polkit/Makefile") CONFIG_FILES="$CONFIG_FILES docs/polkit/Makefile" ;;
"docs/man/Makefile") CONFIG_FILES="$CONFIG_FILES docs/man/Makefile" ;;
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
"test/polkit/Makefile") CONFIG_FILES="$CONFIG_FILES test/polkit/Makefile" ;;
"test/polkitbackend/Makefile") CONFIG_FILES="$CONFIG_FILES test/polkitbackend/Makefile" ;;
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;

*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
@@ -18370,6 +18605,151 @@ if test "$no_create" != yes; then
# would make configure fail if this is the last instruction.
$ac_cs_success || as_fn_exit 1
fi

#
# CONFIG_SUBDIRS section.
#
if test "$no_recursion" != yes; then

# Remove --cache-file, --srcdir, and --disable-option-checking arguments
# so they do not pile up.
ac_sub_configure_args=
ac_prev=
eval "set x $ac_configure_args"
shift
for ac_arg
do
if test -n "$ac_prev"; then
ac_prev=
continue
fi
case $ac_arg in
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
| --c=*)
;;
--config-cache | -C)
;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
;;
--disable-option-checking)
;;
*)
case $ac_arg in
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
esac
done

# Always prepend --prefix to ensure using the same prefix
# in subdir configurations.
ac_arg="--prefix=$prefix"
case $ac_arg in
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"

# Pass --silent
if test "$silent" = yes; then
ac_sub_configure_args="--silent $ac_sub_configure_args"
fi

# Always prepend --disable-option-checking to silence warnings, since
# different subdirs can have different --enable and --with options.
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"

ac_popdir=`pwd`
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue

# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.
test -d "$srcdir/$ac_dir" || continue

ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
$as_echo "$ac_msg" >&6
as_dir="$ac_dir"; as_fn_mkdir_p
ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
.) # We are building in place.
ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) # Relative name.
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


cd "$ac_dir"

# Check for guested configure; otherwise get Cygnus style configure.
if test -f "$ac_srcdir/configure.gnu"; then
ac_sub_configure=$ac_srcdir/configure.gnu
elif test -f "$ac_srcdir/configure"; then
ac_sub_configure=$ac_srcdir/configure
elif test -f "$ac_srcdir/configure.in"; then
# This should be Cygnus configure.
ac_sub_configure=$ac_aux_dir/configure
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
ac_sub_configure=
fi

# The recursion is here.
if test -n "$ac_sub_configure"; then
# Make the cache file name correct relative to the subdirectory.
case $cache_file in
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
*) # Relative name.
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
esac

{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
# The eval makes quoting arguments work.
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
fi

cd "$ac_popdir"
done
fi
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
@@ -18397,7 +18777,8 @@ echo "
introspection: ${found_introspection}

Distribution/OS: ${with_os_type}
authentication framework: ${POLKIT_AUTHFW}
Authentication framework: ${POLKIT_AUTHFW}
Session tracking: ${SESSION_TRACKING}
PAM support: ${have_pam}"

if test "$have_pam" = yes ; then
@@ -18407,7 +18788,6 @@ echo "
PAM file password: ${PAM_FILE_INCLUDE_PASSWORD}
PAM file session: ${PAM_FILE_INCLUDE_SESSION}"
fi

echo "
Maintainer mode: ${USE_MAINTAINER_MODE}
Building verbose mode: ${enable_verbose_mode}


+ 39
- 4
configure.ac View File

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

AC_PREREQ(2.59c)
AC_INIT(polkit, 0.103, http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
AM_INIT_AUTOMAKE(polkit, 0.103)
AC_INIT(polkit, 0.104, http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
AM_INIT_AUTOMAKE(polkit, 0.104)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

# Include external mocklibc tool for unit testing
AC_CONFIG_SUBDIRS([test/mocklibc])

# libtool versioning - this applies to all libraries in this package
#
# See http://sources.redhat.com/autobook/autobook/autobook_91.html#SEC91 for details
@@ -144,6 +147,35 @@ if test "x$GCC" = "xyes"; then
LDFLAGS="-Wl,--as-needed $LDFLAGS"
fi

dnl ---------------------------------------------------------------------------
dnl - Select wether to use systemd or ConsoleKit for session tracking
dnl ---------------------------------------------------------------------------

have_systemd=no
SESSION_TRACKING=ConsoleKit

AC_ARG_ENABLE([systemd],
AS_HELP_STRING([--enable-systemd[=@<:@auto/yes/no@:>@]], [Use systemd (auto/yes/no)]),
[enable_systemd=$enableval],
[enable_systemd=auto])
if test "$enable_systemd" != "no"; then
PKG_CHECK_MODULES(SYSTEMD,
[libsystemd-login],
have_systemd=yes,
have_systemd=no)
if test "$have_systemd" = "yes"; then
SESSION_TRACKING=systemd
else
if test "$enable_systemd" = "yes"; then
AC_MSG_ERROR([systemd support requested but libsystemd-login1 library not found])
fi
fi
fi

AC_SUBST(SYSTEMD_CFLAGS)
AC_SUBST(SYSTEMD_LIBS)
AM_CONDITIONAL(HAVE_SYSTEMD, [test "$have_systemd" = "yes"], [Using systemd])

dnl ---------------------------------------------------------------------------
dnl - Select which authentication framework to use
dnl ---------------------------------------------------------------------------
@@ -419,6 +451,9 @@ docs/Makefile
docs/polkit/Makefile
docs/man/Makefile
po/Makefile.in
test/Makefile
test/polkit/Makefile
test/polkitbackend/Makefile
])

dnl ==========================================================================
@@ -443,7 +478,8 @@ echo "
introspection: ${found_introspection}

Distribution/OS: ${with_os_type}
authentication framework: ${POLKIT_AUTHFW}
Authentication framework: ${POLKIT_AUTHFW}
Session tracking: ${SESSION_TRACKING}
PAM support: ${have_pam}"

if test "$have_pam" = yes ; then
@@ -453,7 +489,6 @@ echo "
PAM file password: ${PAM_FILE_INCLUDE_PASSWORD}
PAM file session: ${PAM_FILE_INCLUDE_SESSION}"
fi

echo "
Maintainer mode: ${USE_MAINTAINER_MODE}
Building verbose mode: ${enable_verbose_mode}


+ 5
- 0
data/Makefile.in View File

@@ -119,6 +119,8 @@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
HAVE_PAM = @HAVE_PAM@
@@ -194,6 +196,8 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
SYSTEMD_LIBS = @SYSTEMD_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -245,6 +249,7 @@ psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@


+ 5
- 0
docs/Makefile.in View File

@@ -131,6 +131,8 @@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
HAVE_PAM = @HAVE_PAM@
@@ -206,6 +208,8 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
SYSTEMD_LIBS = @SYSTEMD_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -257,6 +261,7 @@ psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@


+ 5
- 0
docs/man/Makefile.in View File

@@ -116,6 +116,8 @@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
HAVE_PAM = @HAVE_PAM@
@@ -191,6 +193,8 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
SYSTEMD_LIBS = @SYSTEMD_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -242,6 +246,7 @@ psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@


+ 6
- 3
docs/man/pklocalauthority.xml View File

@@ -80,8 +80,9 @@
this key is a semi-colon separated list of identities that can
be used when administrator authentication is required. Users are
specified by prefixing the user name with
<literal>unix-user:</literal> and groups of users are specified
by prefixing with <literal>unix-group:</literal>. See
<literal>unix-user:</literal>, groups of users are specified by
prefixing with <literal>unix-group:</literal>, and netgroups of
users are specified with <literal>unix-netgroup:</literal>. See
<xref linkend="pklocalauthority-examples"/> for an example of a
configuration file.
</para>
@@ -208,7 +209,9 @@
A semi-colon separated list of globs to match identities. Each glob
should start with <literal>unix-user:</literal> or
<literal>unix-group:</literal> to specify whether to match on a
UNIX user name or a UNIX group name.
UNIX user name or a UNIX group name. Netgroups are supported with
the <literal>unix-netgroup:</literal> prefix, but cannot support
glob syntax.
</para>
</listitem>
</varlistentry>


+ 5
- 0
docs/polkit/Makefile.in View File

@@ -97,6 +97,8 @@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
HAVE_PAM = @HAVE_PAM@
@@ -172,6 +174,8 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
SYSTEMD_LIBS = @SYSTEMD_LIBS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -223,6 +227,7 @@ psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@


+ 3
- 0
docs/polkit/html/Identities.html View File

@@ -32,6 +32,9 @@
<dt>
<span class="refentrytitle"><a href="PolkitUnixGroup.html">PolkitUnixGroup</a></span><span class="refpurpose"> — Unix groups</span>
</dt>
<dt>
<span class="refentrytitle"><a href="PolkitUnixNetgroup.html">PolkitUnixNetgroup</a></span><span class="refpurpose"> — Unix netgroups</span>
</dt>
</dl></div>
</div>
<div class="footer">


+ 9
- 10
docs/polkit/html/PolkitActionDescription.html View File

@@ -40,7 +40,7 @@
<div class="refsynopsisdiv">
<a name="PolkitActionDescription.synopsis"></a><h2>Synopsis</h2>
<a name="PolkitImplicitAuthorization"></a><pre class="synopsis"> <a class="link" href="PolkitActionDescription.html#PolkitActionDescription-struct" title="PolkitActionDescription">PolkitActionDescription</a>;
enum <a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization">PolkitImplicitAuthorization</a>;
enum <a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization-enum" title="enum PolkitImplicitAuthorization">PolkitImplicitAuthorization</a>;
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-action-id" title="polkit_action_description_get_action_id ()">polkit_action_description_get_action_id</a>
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-description" title="polkit_action_description_get_description ()">polkit_action_description_get_description</a>
@@ -53,11 +53,11 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-icon-name" title="polkit_action_description_get_icon_name ()">polkit_action_description_get_icon_name</a>
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);
<a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-implicit-any" title="polkit_action_description_get_implicit_any ()">polkit_action_description_get_implicit_any</a>
<a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-implicit-any" title="polkit_action_description_get_implicit_any ()">polkit_action_description_get_implicit_any</a>
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);
<a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-implicit-inactive" title="polkit_action_description_get_implicit_inactive ()">polkit_action_description_get_implicit_inactive</a>
<a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-implicit-inactive" title="polkit_action_description_get_implicit_inactive ()">polkit_action_description_get_implicit_inactive</a>
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);
<a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-implicit-active" title="polkit_action_description_get_implicit_active ()">polkit_action_description_get_implicit_active</a>
<a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-implicit-active" title="polkit_action_description_get_implicit_active ()">polkit_action_description_get_implicit_active</a>
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitActionDescription.html#polkit-action-description-get-annotation" title="polkit_action_description_get_annotation ()">polkit_action_description_get_annotation</a>
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>,
@@ -92,9 +92,8 @@ The <a class="link" href="PolkitActionDescription.html" title="PolkitActionDescr
</div>
<hr>
<div class="refsect2">
<a name="PolkitImplicitAuthorization"></a><h3>enum PolkitImplicitAuthorization</h3>
<pre class="programlisting">typedef enum
{
<a name="PolkitImplicitAuthorization-enum"></a><h3>enum PolkitImplicitAuthorization</h3>
<pre class="programlisting">typedef enum {
POLKIT_IMPLICIT_AUTHORIZATION_UNKNOWN = -1,
POLKIT_IMPLICIT_AUTHORIZATION_NOT_AUTHORIZED = 0,
POLKIT_IMPLICIT_AUTHORIZATION_AUTHENTICATION_REQUIRED = 1,
@@ -283,7 +282,7 @@ Gets the icon name for <em class="parameter"><code>action_description</code></em
<hr>
<div class="refsect2">
<a name="polkit-action-description-get-implicit-any"></a><h3>polkit_action_description_get_implicit_any ()</h3>
<pre class="programlisting"><a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> polkit_action_description_get_implicit_any
<pre class="programlisting"><a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> polkit_action_description_get_implicit_any
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);</pre>
<p>
Gets the implicit authorization for <em class="parameter"><code>action_description</code></em> used for
@@ -306,7 +305,7 @@ any subject.
<hr>
<div class="refsect2">
<a name="polkit-action-description-get-implicit-inactive"></a><h3>polkit_action_description_get_implicit_inactive ()</h3>
<pre class="programlisting"><a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> polkit_action_description_get_implicit_inactive
<pre class="programlisting"><a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> polkit_action_description_get_implicit_inactive
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);</pre>
<p>
Gets the implicit authorization for <em class="parameter"><code>action_description</code></em> used for
@@ -329,7 +328,7 @@ subjects in inactive sessions on a local console.
<hr>
<div class="refsect2">
<a name="polkit-action-description-get-implicit-active"></a><h3>polkit_action_description_get_implicit_active ()</h3>
<pre class="programlisting"><a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> polkit_action_description_get_implicit_active
<pre class="programlisting"><a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> polkit_action_description_get_implicit_active
(<em class="parameter"><code><a class="link" href="PolkitActionDescription.html" title="PolkitActionDescription"><span class="type">PolkitActionDescription</span></a> *action_description</code></em>);</pre>
<p>
Gets the implicit authorization for <em class="parameter"><code>action_description</code></em> used for


+ 1
- 2
docs/polkit/html/PolkitAgentListener.html View File

@@ -268,8 +268,7 @@ Finishes an authentication request from the PolicyKit daemon, see
<hr>
<div class="refsect2">
<a name="PolkitAgentRegisterFlags"></a><h3>enum PolkitAgentRegisterFlags</h3>
<pre class="programlisting">typedef enum
{
<pre class="programlisting">typedef enum {
POLKIT_AGENT_REGISTER_FLAGS_NONE = 0,
POLKIT_AGENT_REGISTER_FLAGS_RUN_IN_THREAD = (1&lt;&lt;0)
} PolkitAgentRegisterFlags;


+ 10
- 12
docs/polkit/html/PolkitAuthority.html View File

@@ -50,8 +50,8 @@ Stable, unless otherwise indicated
<div class="refsynopsisdiv">
<a name="PolkitAuthority.synopsis"></a><h2>Synopsis</h2>
<a name="PolkitAuthorityFeatures"></a><a name="PolkitCheckAuthorizationFlags"></a><pre class="synopsis"> <a class="link" href="PolkitAuthority.html#PolkitAuthority-struct" title="PolkitAuthority">PolkitAuthority</a>;
enum <a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures">PolkitAuthorityFeatures</a>;
enum <a class="link" href="PolkitAuthority.html#PolkitCheckAuthorizationFlags">PolkitCheckAuthorizationFlags</a>;
enum <a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures-enum" title="enum PolkitAuthorityFeatures">PolkitAuthorityFeatures</a>;
enum <a class="link" href="PolkitAuthority.html#PolkitCheckAuthorizationFlags-enum" title="enum PolkitCheckAuthorizationFlags">PolkitCheckAuthorizationFlags</a>;
<span class="returnvalue">void</span> <a class="link" href="PolkitAuthority.html#polkit-authority-get-async" title="polkit_authority_get_async ()">polkit_authority_get_async</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
@@ -63,7 +63,7 @@ enum <a class="link" href="PolkitAuthority.html#PolkitCheckAuthor
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitAuthority.html#polkit-authority-get-backend-name" title="polkit_authority_get_backend_name ()">polkit_authority_get_backend_name</a> (<em class="parameter"><code><a class="link" href="PolkitAuthority.html" title="PolkitAuthority"><span class="type">PolkitAuthority</span></a> *authority</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitAuthority.html#polkit-authority-get-backend-version" title="polkit_authority_get_backend_version ()">polkit_authority_get_backend_version</a>
(<em class="parameter"><code><a class="link" href="PolkitAuthority.html" title="PolkitAuthority"><span class="type">PolkitAuthority</span></a> *authority</code></em>);
<a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures"><span class="returnvalue">PolkitAuthorityFeatures</span></a> <a class="link" href="PolkitAuthority.html#polkit-authority-get-backend-features" title="polkit_authority_get_backend_features ()">polkit_authority_get_backend_features</a>
<a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures"><span class="returnvalue">PolkitAuthorityFeatures</span></a> <a class="link" href="PolkitAuthority.html#polkit-authority-get-backend-features" title="polkit_authority_get_backend_features ()">polkit_authority_get_backend_features</a>
(<em class="parameter"><code><a class="link" href="PolkitAuthority.html" title="PolkitAuthority"><span class="type">PolkitAuthority</span></a> *authority</code></em>);
<span class="returnvalue">void</span> <a class="link" href="PolkitAuthority.html#polkit-authority-check-authorization" title="polkit_authority_check_authorization ()">polkit_authority_check_authorization</a>
(<em class="parameter"><code><a class="link" href="PolkitAuthority.html" title="PolkitAuthority"><span class="type">PolkitAuthority</span></a> *authority</code></em>,
@@ -90,7 +90,7 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="PolkitAuthority.html#polkit-authority-enumerate-actions-finish" title="polkit_authority_enumerate_actions_finish ()">polkit_authority_enumerate_actions_finish</a>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="PolkitAuthority.html#polkit-authority-enumerate-actions-finish" title="polkit_authority_enumerate_actions_finish ()">polkit_authority_enumerate_actions_finish</a>
(<em class="parameter"><code><a class="link" href="PolkitAuthority.html" title="PolkitAuthority"><span class="type">PolkitAuthority</span></a> *authority</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
@@ -261,9 +261,8 @@ The <a class="link" href="PolkitAuthority.html" title="PolkitAuthority"><span cl
</div>
<hr>
<div class="refsect2">
<a name="PolkitAuthorityFeatures"></a><h3>enum PolkitAuthorityFeatures</h3>
<pre class="programlisting">typedef enum
{
<a name="PolkitAuthorityFeatures-enum"></a><h3>enum PolkitAuthorityFeatures</h3>
<pre class="programlisting">typedef enum {
POLKIT_AUTHORITY_FEATURES_NONE = 0,
POLKIT_AUTHORITY_FEATURES_TEMPORARY_AUTHORIZATION = (1&lt;&lt;0),
} PolkitAuthorityFeatures;
@@ -290,9 +289,8 @@ that can be obtained through authentication.
</div>
<hr>
<div class="refsect2">
<a name="PolkitCheckAuthorizationFlags"></a><h3>enum PolkitCheckAuthorizationFlags</h3>
<pre class="programlisting">typedef enum
{
<a name="PolkitCheckAuthorizationFlags-enum"></a><h3>enum PolkitCheckAuthorizationFlags</h3>
<pre class="programlisting">typedef enum {
POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE = 0,
POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION = (1&lt;&lt;0),
} PolkitCheckAuthorizationFlags;
@@ -489,7 +487,7 @@ Gets the version of the authority backend.
<hr>
<div class="refsect2">
<a name="polkit-authority-get-backend-features"></a><h3>polkit_authority_get_backend_features ()</h3>
<pre class="programlisting"><a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures"><span class="returnvalue">PolkitAuthorityFeatures</span></a> polkit_authority_get_backend_features
<pre class="programlisting"><a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures"><span class="returnvalue">PolkitAuthorityFeatures</span></a> polkit_authority_get_backend_features
(<em class="parameter"><code><a class="link" href="PolkitAuthority.html" title="PolkitAuthority"><span class="type">PolkitAuthority</span></a> *authority</code></em>);</pre>
<p>
Gets the features supported by the authority backend.
@@ -747,7 +745,7 @@ to get the result of the operation.
<hr>
<div class="refsect2">
<a name="polkit-authority-enumerate-actions-finish"></a><h3>polkit_authority_enumerate_actions_finish ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * polkit_authority_enumerate_actions_finish
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * polkit_authority_enumerate_actions_finish
(<em class="parameter"><code><a class="link" href="PolkitAuthority.html" title="PolkitAuthority"><span class="type">PolkitAuthority</span></a> *authority</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>


+ 2
- 2
docs/polkit/html/PolkitBackendAuthority.html View File

@@ -51,7 +51,7 @@ struct <a class="link" href="PolkitBackendAuthority.html#PolkitBack
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitBackendAuthority.html#polkit-backend-authority-get-name" title="polkit_backend_authority_get_name ()">polkit_backend_authority_get_name</a> (<em class="parameter"><code><a class="link" href="PolkitBackendAuthority.html" title="PolkitBackendAuthority"><span class="type">PolkitBackendAuthority</span></a> *authority</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitBackendAuthority.html#polkit-backend-authority-get-version" title="polkit_backend_authority_get_version ()">polkit_backend_authority_get_version</a>
(<em class="parameter"><code><a class="link" href="PolkitBackendAuthority.html" title="PolkitBackendAuthority"><span class="type">PolkitBackendAuthority</span></a> *authority</code></em>);
<a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures"><span class="returnvalue">PolkitAuthorityFeatures</span></a> <a class="link" href="PolkitBackendAuthority.html#polkit-backend-authority-get-features" title="polkit_backend_authority_get_features ()">polkit_backend_authority_get_features</a>
<a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures"><span class="returnvalue">PolkitAuthorityFeatures</span></a> <a class="link" href="PolkitBackendAuthority.html#polkit-backend-authority-get-features" title="polkit_backend_authority_get_features ()">polkit_backend_authority_get_features</a>
(<em class="parameter"><code><a class="link" href="PolkitBackendAuthority.html" title="PolkitBackendAuthority"><span class="type">PolkitBackendAuthority</span></a> *authority</code></em>);
<span class="returnvalue">void</span> <a class="link" href="PolkitBackendAuthority.html#polkit-backend-authority-check-authorization" title="polkit_backend_authority_check_authorization ()">polkit_backend_authority_check_authorization</a>
(<em class="parameter"><code><a class="link" href="PolkitBackendAuthority.html" title="PolkitBackendAuthority"><span class="type">PolkitBackendAuthority</span></a> *authority</code></em>,
@@ -360,7 +360,7 @@ Gets the version of the authority backend.
<hr>
<div class="refsect2">
<a name="polkit-backend-authority-get-features"></a><h3>polkit_backend_authority_get_features ()</h3>
<pre class="programlisting"><a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures"><span class="returnvalue">PolkitAuthorityFeatures</span></a> polkit_backend_authority_get_features
<pre class="programlisting"><a class="link" href="PolkitAuthority.html#PolkitAuthorityFeatures"><span class="returnvalue">PolkitAuthorityFeatures</span></a> polkit_backend_authority_get_features
(<em class="parameter"><code><a class="link" href="PolkitBackendAuthority.html" title="PolkitBackendAuthority"><span class="type">PolkitBackendAuthority</span></a> *authority</code></em>);</pre>
<p>
Gets the features supported by the authority backend.


+ 2
- 2
docs/polkit/html/PolkitBackendInteractiveAuthority.html View File

@@ -52,7 +52,7 @@ struct <a class="link" href="PolkitBackendInteractiveAuthority.html
<em class="parameter"><code><a class="link" href="PolkitIdentity.html" title="PolkitIdentity"><span class="type">PolkitIdentity</span></a> *user_for_subject</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *action_id</code></em>,
<em class="parameter"><code><a class="link" href="PolkitDetails.html" title="PolkitDetails"><span class="type">PolkitDetails</span></a> *details</code></em>);
<a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> <a class="link" href="PolkitBackendInteractiveAuthority.html#polkit-backend-interactive-authority-check-authorization-sync" title="polkit_backend_interactive_authority_check_authorization_sync ()">polkit_backend_interactive_authority_check_authorization_sync</a>
<a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> <a class="link" href="PolkitBackendInteractiveAuthority.html#polkit-backend-interactive-authority-check-authorization-sync" title="polkit_backend_interactive_authority_check_authorization_sync ()">polkit_backend_interactive_authority_check_authorization_sync</a>
(<em class="parameter"><code><a class="link" href="PolkitBackendInteractiveAuthority.html" title="PolkitBackendInteractiveAuthority"><span class="type">PolkitBackendInteractiveAuthority</span></a> *authority</code></em>,
<em class="parameter"><code><a class="link" href="PolkitSubject.html" title="PolkitSubject"><span class="type">PolkitSubject</span></a> *caller</code></em>,
<em class="parameter"><code><a class="link" href="PolkitSubject.html" title="PolkitSubject"><span class="type">PolkitSubject</span></a> *subject</code></em>,
@@ -193,7 +193,7 @@ The default implementation returns a list with a single element for the super us
<hr>
<div class="refsect2">
<a name="polkit-backend-interactive-authority-check-authorization-sync"></a><h3>polkit_backend_interactive_authority_check_authorization_sync ()</h3>
<pre class="programlisting"><a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> polkit_backend_interactive_authority_check_authorization_sync
<pre class="programlisting"><a class="link" href="PolkitActionDescription.html#PolkitImplicitAuthorization"><span class="returnvalue">PolkitImplicitAuthorization</span></a> polkit_backend_interactive_authority_check_authorization_sync
(<em class="parameter"><code><a class="link" href="PolkitBackendInteractiveAuthority.html" title="PolkitBackendInteractiveAuthority"><span class="type">PolkitBackendInteractiveAuthority</span></a> *authority</code></em>,
<em class="parameter"><code><a class="link" href="PolkitSubject.html" title="PolkitSubject"><span class="type">PolkitSubject</span></a> *caller</code></em>,
<em class="parameter"><code><a class="link" href="PolkitSubject.html" title="PolkitSubject"><span class="type">PolkitSubject</span></a> *subject</code></em>,


+ 25
- 0
docs/polkit/html/PolkitBackendLocalAuthority.html View File

@@ -26,6 +26,8 @@
<a href="#PolkitBackendLocalAuthority.description" class="shortcut">Description</a>
 | 
<a href="#PolkitBackendLocalAuthority.object-hierarchy" class="shortcut">Object Hierarchy</a>
 | 
<a href="#PolkitBackendLocalAuthority.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
@@ -57,6 +59,13 @@ struct <a class="link" href="PolkitBackendLocalAuthority.html#Polki
</pre>
</div>
<div class="refsect1">
<a name="PolkitBackendLocalAuthority.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority--auth-store-paths" title='The "auth-store-paths" property'>auth-store-paths</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write / Construct Only
"<a class="link" href="PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority--config-path" title='The "config-path" property'>config-path</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write / Construct Only
</pre>
</div>
<div class="refsect1">
<a name="PolkitBackendLocalAuthority.description"></a><h2>Description</h2>
<p>
An implementation of <a class="link" href="PolkitBackendAuthority.html" title="PolkitBackendAuthority"><span class="type">PolkitBackendAuthority</span></a> that stores
@@ -93,6 +102,22 @@ Class structure for <a class="link" href="PolkitBackendLocalAuthority.html" titl
</table></div>
</div>
</div>
<div class="refsect1">
<a name="PolkitBackendLocalAuthority.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="PolkitBackendLocalAuthority--auth-store-paths"></a><h3>The <code class="literal">"auth-store-paths"</code> property</h3>
<pre class="programlisting"> "auth-store-paths" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write / Construct Only</pre>
<p>Semi-colon separated list of Authorization Store 'top' directories.</p>
<p>Default value: "/var/lib/polkit-1/localauthority;/etc/polkit-1/localauthority"</p>
</div>
<hr>
<div class="refsect2">
<a name="PolkitBackendLocalAuthority--config-path"></a><h3>The <code class="literal">"config-path"</code> property</h3>
<pre class="programlisting"> "config-path" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write / Construct Only</pre>
<p>Path to directory of LocalAuthority config files.</p>
<p>Default value: "/etc/polkit-1/localauthority.conf.d"</p>
</div>
</div>
</div>
<div class="footer">
<hr>


+ 3
- 4
docs/polkit/html/PolkitError.html View File

@@ -40,7 +40,7 @@
<div class="refsynopsisdiv">
<a name="PolkitError.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define <a class="link" href="PolkitError.html#POLKIT-ERROR:CAPS" title="POLKIT_ERROR">POLKIT_ERROR</a>
enum <a class="link" href="PolkitError.html" title="PolkitError">PolkitError</a>;
enum <a class="link" href="PolkitError.html#PolkitError-enum" title="enum PolkitError">PolkitError</a>;
</pre>
</div>
<div class="refsect1">
@@ -69,9 +69,8 @@ enumeration. See <a href="http://library.gnome.org/devel/glib/unstable/glib-Erro
</div>
<hr>
<div class="refsect2">
<a name="PolkitError"></a><h3>enum PolkitError</h3>
<pre class="programlisting">typedef enum
{
<a name="PolkitError-enum"></a><h3>enum PolkitError</h3>
<pre class="programlisting">typedef enum {
POLKIT_ERROR_FAILED = 0,
POLKIT_ERROR_CANCELLED = 1,
POLKIT_ERROR_NOT_SUPPORTED = 2,


+ 1
- 1
docs/polkit/html/PolkitIdentity.html View File

@@ -70,7 +70,7 @@ PolkitIdentity requires
<a name="PolkitIdentity.implementations"></a><h2>Known Implementations</h2>
<p>
PolkitIdentity is implemented by
<a class="link" href="PolkitUnixGroup.html" title="PolkitUnixGroup">PolkitUnixGroup</a> and <a class="link" href="PolkitUnixUser.html" title="PolkitUnixUser">PolkitUnixUser</a>.</p>
<a class="link" href="PolkitUnixGroup.html" title="PolkitUnixGroup">PolkitUnixGroup</a>, <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup">PolkitUnixNetgroup</a> and <a class="link" href="PolkitUnixUser.html" title="PolkitUnixUser">PolkitUnixUser</a>.</p>
</div>
<div class="refsect1">
<a name="PolkitIdentity.description"></a><h2>Description</h2>


+ 1
- 1
docs/polkit/html/PolkitPermission.html View File

@@ -88,7 +88,7 @@ PolkitPermission implements
<a name="PolkitPermission.description"></a><h2>Description</h2>
<p>
<a class="link" href="PolkitPermission.html" title="PolkitPermission"><span class="type">PolkitPermission</span></a> is a <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> implementation. It can be used
with e.g. <a href="http://library.gnome.org/devel/gtk/GtkLockButton.html"><span class="type">GtkLockButton</span></a>. See the <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> documentation for
with e.g. <span class="type">GtkLockButton</span>. See the <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> documentation for
more information.
</p>
</div>


+ 3
- 1
docs/polkit/html/PolkitSystemBusName.html View File

@@ -160,7 +160,9 @@ Sets the unique system bus name for <em class="parameter"><code>system_bus_name<
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Synchronously gets a <a class="link" href="PolkitUnixProcess.html" title="PolkitUnixProcess"><span class="type">PolkitUnixProcess</span></a> object for <em class="parameter"><code>system_bus_name</code></em>
- the calling thread is blocked until a reply is received.
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>the calling thread is blocked until a reply is received.</p></li></ul></div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">


+ 2
- 2
docs/polkit/html/PolkitUnixGroup.html View File

@@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="PolicyKit Reference Manual">
<link rel="up" href="Identities.html" title="Identities">
<link rel="prev" href="PolkitUnixUser.html" title="PolkitUnixUser">
<link rel="next" href="ref-backend-api.html" title="Part IV. Backend API Reference">
<link rel="next" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
@@ -18,7 +18,7 @@
<td><a accesskey="u" href="Identities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">PolicyKit Reference Manual</th>
<td><a accesskey="n" href="ref-backend-api.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="PolkitUnixNetgroup.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#PolkitUnixGroup.synopsis" class="shortcut">Top</a>


+ 153
- 0
docs/polkit/html/PolkitUnixNetgroup.html View File

@@ -0,0 +1,153 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PolkitUnixNetgroup</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="PolicyKit Reference Manual">
<link rel="up" href="Identities.html" title="Identities">
<link rel="prev" href="PolkitUnixGroup.html" title="PolkitUnixGroup">
<link rel="next" href="ref-backend-api.html" title="Part IV. Backend API Reference">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="PolkitUnixGroup.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="Identities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">PolicyKit Reference Manual</th>
<td><a accesskey="n" href="ref-backend-api.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#PolkitUnixNetgroup.synopsis" class="shortcut">Top</a>
 | 
<a href="#PolkitUnixNetgroup.description" class="shortcut">Description</a>
 | 
<a href="#PolkitUnixNetgroup.object-hierarchy" class="shortcut">Object Hierarchy</a>
 | 
<a href="#PolkitUnixNetgroup.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#PolkitUnixNetgroup.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="PolkitUnixNetgroup"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="PolkitUnixNetgroup.top_of_page"></a>PolkitUnixNetgroup</span></h2>
<p>PolkitUnixNetgroup — Unix netgroups</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="PolkitUnixNetgroup.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="PolkitUnixNetgroup.html#PolkitUnixNetgroup-struct" title="PolkitUnixNetgroup">PolkitUnixNetgroup</a>;
<a class="link" href="PolkitIdentity.html" title="PolkitIdentity"><span class="returnvalue">PolkitIdentity</span></a> * <a class="link" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-new" title="polkit_unix_netgroup_new ()">polkit_unix_netgroup_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-get-name" title="polkit_unix_netgroup_get_name ()">polkit_unix_netgroup_get_name</a> (<em class="parameter"><code><a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> *group</code></em>);
<span class="returnvalue">void</span> <a class="link" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-set-name" title="polkit_unix_netgroup_set_name ()">polkit_unix_netgroup_set_name</a> (<em class="parameter"><code><a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> *group</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----PolkitUnixNetgroup
</pre>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
PolkitUnixNetgroup implements
<a class="link" href="PolkitIdentity.html" title="PolkitIdentity">PolkitIdentity</a>.</p>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="PolkitUnixNetgroup.html#PolkitUnixNetgroup--name" title='The "name" property'>name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct
</pre>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.description"></a><h2>Description</h2>
<p>
An object representing a netgroup identity on a UNIX system.
</p>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="PolkitUnixNetgroup-struct"></a><h3>PolkitUnixNetgroup</h3>
<pre class="programlisting">typedef struct _PolkitUnixNetgroup PolkitUnixNetgroup;</pre>
<p>
The <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> struct should not be accessed directly.
</p>
</div>
<hr>
<div class="refsect2">
<a name="polkit-unix-netgroup-new"></a><h3>polkit_unix_netgroup_new ()</h3>
<pre class="programlisting"><a class="link" href="PolkitIdentity.html" title="PolkitIdentity"><span class="returnvalue">PolkitIdentity</span></a> * polkit_unix_netgroup_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
Creates a new <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> object for <em class="parameter"><code>name</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>A netgroup name.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> object. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="polkit-unix-netgroup-get-name"></a><h3>polkit_unix_netgroup_get_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * polkit_unix_netgroup_get_name (<em class="parameter"><code><a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> *group</code></em>);</pre>
<p>
Gets the netgroup name for <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>A <a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A netgroup name string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="polkit-unix-netgroup-set-name"></a><h3>polkit_unix_netgroup_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> polkit_unix_netgroup_set_name (<em class="parameter"><code><a class="link" href="PolkitUnixNetgroup.html" title="PolkitUnixNetgroup"><span class="type">PolkitUnixNetgroup</span></a> *group</code></em>,
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="PolkitUnixNetgroup.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="PolkitUnixNetgroup--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting"> "name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct</pre>
<p>
The NIS netgroup name.
</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>

+ 23
- 0
docs/polkit/html/PolkitUnixUser.html View File

@@ -50,6 +50,7 @@
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="PolkitUnixUser.html#polkit-unix-user-get-uid" title="polkit_unix_user_get_uid ()">polkit_unix_user_get_uid</a> (<em class="parameter"><code><a class="link" href="PolkitUnixUser.html" title="PolkitUnixUser"><span class="type">PolkitUnixUser</span></a> *user</code></em>);
<span class="returnvalue">void</span> <a class="link" href="PolkitUnixUser.html#polkit-unix-user-set-uid" title="polkit_unix_user_set_uid ()">polkit_unix_user_set_uid</a> (<em class="parameter"><code><a class="link" href="PolkitUnixUser.html" title="PolkitUnixUser"><span class="type">PolkitUnixUser</span></a> *user</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> uid</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="PolkitUnixUser.html#polkit-unix-user-get-name" title="polkit_unix_user_get_name ()">polkit_unix_user_get_name</a> (<em class="parameter"><code><a class="link" href="PolkitUnixUser.html" title="PolkitUnixUser"><span class="type">PolkitUnixUser</span></a> *user</code></em>);
</pre>
</div>
<div class="refsect1">
@@ -179,6 +180,28 @@ Sets <em class="parameter"><code>uid</code></em> for <em class="parameter"><code
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="polkit-unix-user-get-name"></a><h3>polkit_unix_user_get_name ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * polkit_unix_user_get_name (<em class="parameter"><code><a class="link" href="PolkitUnixUser.html" title="PolkitUnixUser"><span class="type">PolkitUnixUser</span></a> *user</code></em>);</pre>
<p>
Get the user's name.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
<td>A <a class="link" href="PolkitUnixUser.html" title="PolkitUnixUser"><span class="type">PolkitUnixUser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>User name string or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if user uid not found. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="PolkitUnixUser.property-details"></a><h2>Property Details</h2>


+ 4
- 1
docs/polkit/html/index.html View File

@@ -22,7 +22,7 @@
            <code class="email">&lt;<a class="email" href="mailto:davidz@redhat.com">davidz@redhat.com</a>&gt;</code><br>
          </p></div></div>
</div></div></div>
<div><p class="releaseinfo">Version 0.103
<div><p class="releaseinfo">Version 0.104
</p></div>
<div><p class="copyright">Copyright © 2008-2009 The PolicyKit Authors</p></div>
<div><div class="legalnotice">
@@ -124,6 +124,9 @@
<dt>
<span class="refentrytitle"><a href="PolkitUnixGroup.html">PolkitUnixGroup</a></span><span class="refpurpose"> — Unix groups</span>
</dt>
<dt>
<span class="refentrytitle"><a href="PolkitUnixNetgroup.html">PolkitUnixNetgroup</a></span><span class="refpurpose"> — Unix netgroups</span>
</dt>
</dl></dd>
</dl></dd>
<dt><span class="part"><a href="ref-backend-api.html">IV. Backend API Reference</a></span></dt>


+ 22
- 4
docs/polkit/html/index.sgml View File

@@ -61,10 +61,10 @@
<ANCHOR id="PolkitAuthority.description" href="polkit-1/PolkitAuthority.html#PolkitAuthority.description">
<ANCHOR id="PolkitAuthority.details" href="polkit-1/PolkitAuthority.html#PolkitAuthority.details">
<ANCHOR id="PolkitAuthority-struct" href="polkit-1/PolkitAuthority.html#PolkitAuthority-struct">
<ANCHOR id="PolkitAuthorityFeatures" href="polkit-1/PolkitAuthority.html#PolkitAuthorityFeatures">
<ANCHOR id="PolkitAuthorityFeatures-enum" href="polkit-1/PolkitAuthority.html#PolkitAuthorityFeatures-enum">
<ANCHOR id="POLKIT-AUTHORITY-FEATURES-NONE:CAPS" href="polkit-1/PolkitAuthority.html#POLKIT-AUTHORITY-FEATURES-NONE:CAPS">
<ANCHOR id="POLKIT-AUTHORITY-FEATURES-TEMPORARY-AUTHORIZATION:CAPS" href="polkit-1/PolkitAuthority.html#POLKIT-AUTHORITY-FEATURES-TEMPORARY-AUTHORIZATION:CAPS">
<ANCHOR id="PolkitCheckAuthorizationFlags" href="polkit-1/PolkitAuthority.html#PolkitCheckAuthorizationFlags">
<ANCHOR id="PolkitCheckAuthorizationFlags-enum" href="polkit-1/PolkitAuthority.html#PolkitCheckAuthorizationFlags-enum">
<ANCHOR id="POLKIT-CHECK-AUTHORIZATION-FLAGS-NONE:CAPS" href="polkit-1/PolkitAuthority.html#POLKIT-CHECK-AUTHORIZATION-FLAGS-NONE:CAPS">
<ANCHOR id="POLKIT-CHECK-AUTHORIZATION-FLAGS-ALLOW-USER-INTERACTION:CAPS" href="polkit-1/PolkitAuthority.html#POLKIT-CHECK-AUTHORIZATION-FLAGS-ALLOW-USER-INTERACTION:CAPS">
<ANCHOR id="polkit-authority-get-async" href="polkit-1/PolkitAuthority.html#polkit-authority-get-async">
@@ -136,7 +136,7 @@
<ANCHOR id="PolkitError.description" href="polkit-1/PolkitError.html#PolkitError.description">
<ANCHOR id="PolkitError.details" href="polkit-1/PolkitError.html#PolkitError.details">
<ANCHOR id="POLKIT-ERROR:CAPS" href="polkit-1/PolkitError.html#POLKIT-ERROR:CAPS">
<ANCHOR id="PolkitError" href="polkit-1/PolkitError.html#PolkitError">
<ANCHOR id="PolkitError-enum" href="polkit-1/PolkitError.html#PolkitError-enum">
<ANCHOR id="POLKIT-ERROR-FAILED:CAPS" href="polkit-1/PolkitError.html#POLKIT-ERROR-FAILED:CAPS">
<ANCHOR id="POLKIT-ERROR-CANCELLED:CAPS" href="polkit-1/PolkitError.html#POLKIT-ERROR-CANCELLED:CAPS">
<ANCHOR id="POLKIT-ERROR-NOT-SUPPORTED:CAPS" href="polkit-1/PolkitError.html#POLKIT-ERROR-NOT-SUPPORTED:CAPS">
@@ -148,7 +148,7 @@
<ANCHOR id="PolkitActionDescription.description" href="polkit-1/PolkitActionDescription.html#PolkitActionDescription.description">
<ANCHOR id="PolkitActionDescription.details" href="polkit-1/PolkitActionDescription.html#PolkitActionDescription.details">
<ANCHOR id="PolkitActionDescription-struct" href="polkit-1/PolkitActionDescription.html#PolkitActionDescription-struct">
<ANCHOR id="PolkitImplicitAuthorization" href="polkit-1/PolkitActionDescription.html#PolkitImplicitAuthorization">
<ANCHOR id="PolkitImplicitAuthorization-enum" href="polkit-1/PolkitActionDescription.html#PolkitImplicitAuthorization-enum">
<ANCHOR id="POLKIT-IMPLICIT-AUTHORIZATION-UNKNOWN:CAPS" href="polkit-1/PolkitActionDescription.html#POLKIT-IMPLICIT-AUTHORIZATION-UNKNOWN:CAPS">
<ANCHOR id="POLKIT-IMPLICIT-AUTHORIZATION-NOT-AUTHORIZED:CAPS" href="polkit-1/PolkitActionDescription.html#POLKIT-IMPLICIT-AUTHORIZATION-NOT-AUTHORIZED:CAPS">
<ANCHOR id="POLKIT-IMPLICIT-AUTHORIZATION-AUTHENTICATION-REQUIRED:CAPS" href="polkit-1/PolkitActionDescription.html#POLKIT-IMPLICIT-AUTHORIZATION-AUTHENTICATION-REQUIRED:CAPS">
@@ -287,6 +287,7 @@
<ANCHOR id="polkit-unix-user-new-for-name" href="polkit-1/PolkitUnixUser.html#polkit-unix-user-new-for-name">
<ANCHOR id="polkit-unix-user-get-uid" href="polkit-1/PolkitUnixUser.html#polkit-unix-user-get-uid">
<ANCHOR id="polkit-unix-user-set-uid" href="polkit-1/PolkitUnixUser.html#polkit-unix-user-set-uid">
<ANCHOR id="polkit-unix-user-get-name" href="polkit-1/PolkitUnixUser.html#polkit-unix-user-get-name">
<ANCHOR id="PolkitUnixUser.property-details" href="polkit-1/PolkitUnixUser.html#PolkitUnixUser.property-details">
<ANCHOR id="PolkitUnixUser--uid" href="polkit-1/PolkitUnixUser.html#PolkitUnixUser--uid">
<ANCHOR id="PolkitUnixGroup" href="polkit-1/PolkitUnixGroup.html">
@@ -303,6 +304,19 @@
<ANCHOR id="polkit-unix-group-set-gid" href="polkit-1/PolkitUnixGroup.html#polkit-unix-group-set-gid">
<ANCHOR id="PolkitUnixGroup.property-details" href="polkit-1/PolkitUnixGroup.html#PolkitUnixGroup.property-details">
<ANCHOR id="PolkitUnixGroup--gid" href="polkit-1/PolkitUnixGroup.html#PolkitUnixGroup--gid">
<ANCHOR id="PolkitUnixNetgroup" href="polkit-1/PolkitUnixNetgroup.html">
<ANCHOR id="PolkitUnixNetgroup.synopsis" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup.synopsis">
<ANCHOR id="PolkitUnixNetgroup.object-hierarchy" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup.object-hierarchy">
<ANCHOR id="PolkitUnixNetgroup.implemented-interfaces" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup.implemented-interfaces">
<ANCHOR id="PolkitUnixNetgroup.properties" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup.properties">
<ANCHOR id="PolkitUnixNetgroup.description" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup.description">
<ANCHOR id="PolkitUnixNetgroup.details" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup.details">
<ANCHOR id="PolkitUnixNetgroup-struct" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup-struct">
<ANCHOR id="polkit-unix-netgroup-new" href="polkit-1/PolkitUnixNetgroup.html#polkit-unix-netgroup-new">
<ANCHOR id="polkit-unix-netgroup-get-name" href="polkit-1/PolkitUnixNetgroup.html#polkit-unix-netgroup-get-name">
<ANCHOR id="polkit-unix-netgroup-set-name" href="polkit-1/PolkitUnixNetgroup.html#polkit-unix-netgroup-set-name">
<ANCHOR id="PolkitUnixNetgroup.property-details" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup.property-details">
<ANCHOR id="PolkitUnixNetgroup--name" href="polkit-1/PolkitUnixNetgroup.html#PolkitUnixNetgroup--name">
<ANCHOR id="PolkitBackendAuthority" href="polkit-1/PolkitBackendAuthority.html">
<ANCHOR id="PolkitBackendAuthority.stability-level" href="polkit-1/PolkitBackendAuthority.html#PolkitBackendAuthority.stability-level">
<ANCHOR id="PolkitBackendAuthority.synopsis" href="polkit-1/PolkitBackendAuthority.html#PolkitBackendAuthority.synopsis">
@@ -345,10 +359,14 @@
<ANCHOR id="PolkitBackendLocalAuthority.stability-level" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority.stability-level">
<ANCHOR id="PolkitBackendLocalAuthority.synopsis" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority.synopsis">
<ANCHOR id="PolkitBackendLocalAuthority.object-hierarchy" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority.object-hierarchy">
<ANCHOR id="PolkitBackendLocalAuthority.properties" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority.properties">
<ANCHOR id="PolkitBackendLocalAuthority.description" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority.description">
<ANCHOR id="PolkitBackendLocalAuthority.details" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority.details">
<ANCHOR id="PolkitBackendLocalAuthority-struct" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority-struct">
<ANCHOR id="PolkitBackendLocalAuthorityClass" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthorityClass">
<ANCHOR id="PolkitBackendLocalAuthority.property-details" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority.property-details">
<ANCHOR id="PolkitBackendLocalAuthority--auth-store-paths" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority--auth-store-paths">
<ANCHOR id="PolkitBackendLocalAuthority--config-path" href="polkit-1/PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority--config-path">
<ANCHOR id="PolkitAgentListener" href="polkit-1/PolkitAgentListener.html">
<ANCHOR id="PolkitAgentListener.stability-level" href="polkit-1/PolkitAgentListener.html#PolkitAgentListener.stability-level">
<ANCHOR id="PolkitAgentListener.synopsis" href="polkit-1/PolkitAgentListener.html#PolkitAgentListener.synopsis">


+ 6
- 3
docs/polkit/html/pklocalauthority.8.html View File

@@ -86,8 +86,9 @@
this key is a semi-colon separated list of identities that can
be used when administrator authentication is required. Users are
specified by prefixing the user name with
<code class="literal">unix-user:</code> and groups of users are specified
by prefixing with <code class="literal">unix-group:</code>. See
<code class="literal">unix-user:</code>, groups of users are specified by
prefixing with <code class="literal">unix-group:</code>, and netgroups of
users are specified with <code class="literal">unix-netgroup:</code>. See
<a class="xref" href="pklocalauthority.8.html#pklocalauthority-examples" title="EXAMPLES">the section called “EXAMPLES”</a> for an example of a
configuration file.
</p>
@@ -206,7 +207,9 @@
A semi-colon separated list of globs to match identities. Each glob
should start with <code class="literal">unix-user:</code> or
<code class="literal">unix-group:</code> to specify whether to match on a
UNIX user name or a UNIX group name.
UNIX user name or a UNIX group name. Netgroups are supported with
the <code class="literal">unix-netgroup:</code> prefix, but cannot support
glob syntax.
</p></td>
</tr>
<tr>


+ 20
- 4
docs/polkit/html/polit-index.html View File

@@ -100,7 +100,7 @@
</dt>
<dt>PolkitAuthority:owner, <a class="indexterm" href="PolkitAuthority.html#PolkitAuthority--owner">The "owner" property</a>
</dt>
<dt>PolkitAuthorityFeatures, <a class="indexterm" href="PolkitAuthority.html#PolkitAuthorityFeatures">PolkitAuthority</a>
<dt>PolkitAuthorityFeatures, <a class="indexterm" href="PolkitAuthority.html#PolkitAuthorityFeatures-enum">enum PolkitAuthorityFeatures</a>
</dt>
<dt>polkit_authority_authentication_agent_response, <a class="indexterm" href="PolkitAuthority.html#polkit-authority-authentication-agent-response">polkit_authority_authentication_agent_response ()</a>
</dt>
@@ -197,6 +197,10 @@
</dt>
<dt>PolkitBackendLocalAuthority, <a class="indexterm" href="PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority-struct">PolkitBackendLocalAuthority</a>
</dt>
<dt>PolkitBackendLocalAuthority:auth-store-paths, <a class="indexterm" href="PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority--auth-store-paths">The "auth-store-paths" property</a>
</dt>
<dt>PolkitBackendLocalAuthority:config-path, <a class="indexterm" href="PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthority--config-path">The "config-path" property</a>
</dt>
<dt>PolkitBackendLocalAuthorityClass, <a class="indexterm" href="PolkitBackendLocalAuthority.html#PolkitBackendLocalAuthorityClass">struct PolkitBackendLocalAuthorityClass</a>
</dt>
<dt>polkit_backend_authority_authentication_agent_response, <a class="indexterm" href="PolkitBackendAuthority.html#polkit-backend-authority-authentication-agent-response">polkit_backend_authority_authentication_agent_response ()</a>
@@ -239,7 +243,7 @@
</div>
<div class="indexdiv">
<h3>C</h3>
<dl><dt>PolkitCheckAuthorizationFlags, <a class="indexterm" href="PolkitAuthority.html#PolkitCheckAuthorizationFlags">PolkitAuthority</a>
<dl><dt>PolkitCheckAuthorizationFlags, <a class="indexterm" href="PolkitAuthority.html#PolkitCheckAuthorizationFlags-enum">enum PolkitCheckAuthorizationFlags</a>
</dt></dl>
</div>
<div class="indexdiv">
@@ -260,7 +264,7 @@
<div class="indexdiv">
<h3>E</h3>
<dl>
<dt>PolkitError, <a class="indexterm" href="PolkitError.html">PolkitError</a>
<dt>PolkitError, <a class="indexterm" href="PolkitError.html#PolkitError-enum">enum PolkitError</a>
</dt>
<dt>POLKIT_ERROR, <a class="indexterm" href="PolkitError.html#POLKIT-ERROR:CAPS">POLKIT_ERROR</a>
</dt>
@@ -281,7 +285,7 @@
</dt>
<dt>polkit_identity_to_string, <a class="indexterm" href="PolkitIdentity.html#polkit-identity-to-string">polkit_identity_to_string ()</a>
</dt>
<dt>PolkitImplicitAuthorization, <a class="indexterm" href="PolkitActionDescription.html#PolkitImplicitAuthorization">PolkitActionDescription</a>
<dt>PolkitImplicitAuthorization, <a class="indexterm" href="PolkitActionDescription.html#PolkitImplicitAuthorization-enum">enum PolkitImplicitAuthorization</a>
</dt>
</dl>
</div>
@@ -365,6 +369,10 @@
</dt>
<dt>PolkitUnixGroup:gid, <a class="indexterm" href="PolkitUnixGroup.html#PolkitUnixGroup--gid">The "gid" property</a>
</dt>
<dt>PolkitUnixNetgroup, <a class="indexterm" href="PolkitUnixNetgroup.html#PolkitUnixNetgroup-struct">PolkitUnixNetgroup</a>
</dt>
<dt>PolkitUnixNetgroup:name, <a class="indexterm" href="PolkitUnixNetgroup.html#PolkitUnixNetgroup--name">The "name" property</a>
</dt>
<dt>PolkitUnixProcess, <a class="indexterm" href="PolkitUnixProcess.html#PolkitUnixProcess-struct">PolkitUnixProcess</a>
</dt>
<dt>PolkitUnixProcess:pid, <a class="indexterm" href="PolkitUnixProcess.html#PolkitUnixProcess--pid">The "pid" property</a>
@@ -391,6 +399,12 @@
</dt>
<dt>polkit_unix_group_set_gid, <a class="indexterm" href="PolkitUnixGroup.html#polkit-unix-group-set-gid">polkit_unix_group_set_gid ()</a>
</dt>
<dt>polkit_unix_netgroup_get_name, <a class="indexterm" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-get-name">polkit_unix_netgroup_get_name ()</a>
</dt>
<dt>polkit_unix_netgroup_new, <a class="indexterm" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-new">polkit_unix_netgroup_new ()</a>
</dt>
<dt>polkit_unix_netgroup_set_name, <a class="indexterm" href="PolkitUnixNetgroup.html#polkit-unix-netgroup-set-name">polkit_unix_netgroup_set_name ()</a>
</dt>
<dt>polkit_unix_process_get_pid, <a class="indexterm" href="PolkitUnixProcess.html#polkit-unix-process-get-pid">polkit_unix_process_get_pid ()</a>
</dt>
<dt>polkit_unix_process_get_start_time, <a class="indexterm" href="PolkitUnixProcess.html#polkit-unix-process-get-start-time">polkit_unix_process_get_start_time ()</a>
@@ -421,6 +435,8 @@
</dt>
<dt>polkit_unix_session_set_session_id, <a class="indexterm" href="PolkitUnixSession.html#polkit-unix-session-set-session-id">polkit_unix_session_set_session_id ()</a>
</dt>
<dt>polkit_unix_user_get_name, <a class="indexterm" href="PolkitUnixUser.html#polkit-unix-user-get-name">polkit_unix_user_get_name ()</a>
</dt>
<dt>polkit_unix_user_get_uid, <a class="indexterm" href="PolkitUnixUser.html#polkit-unix-user-get-uid">polkit_unix_user_get_uid ()</a>
</dt>
<dt>polkit_unix_user_new, <a class="indexterm" href="PolkitUnixUser.html#polkit-unix-user-new">polkit_unix_user_new ()</a>


+ 14
- 5
docs/polkit/html/polkit-1.devhelp2 View File

<