PolicyKit ChangeLog, 1.18, 1.19 Makefile.am, 1.2, 1.3 README,
1.1.1.1, 1.2 configure.in, 1.5,
1.6 polkit-interface-manager.xml, 1.2,
1.3 polkit-interface-session.xml, 1.1, 1.2 polkit.pc.in, 1.6, 1.7
David Zeuthen
david at kemper.freedesktop.org
Mon Jun 5 16:39:02 PDT 2006
- Previous message: PolicyKit/privileges desktop-console.privilege,1.1,1.2
- Next message: PolicyKit/tools Makefile.am, 1.3, 1.4 polkit-grant-privilege.c, 1.4,
1.5 polkit-is-privileged.c, 1.4, 1.5 polkit-list-privileges.c,
1.2, 1.3 polkit-revoke-privilege.c, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/hal/PolicyKit
In directory kemper:/tmp/cvs-serv24124
Modified Files:
ChangeLog Makefile.am README configure.in
polkit-interface-manager.xml polkit-interface-session.xml
polkit.pc.in
Log Message:
2006-06-05 David Zeuthen <davidz at redhat.com>
Lots of changes! Almost ready for 0.2 release.
* Makefile.am:
* README:
* configure.in:
* doc/TODO:
* doc/api/polkit-docs.xml:
* doc/spec/Makefile.am:
* doc/spec/polkit-spec.html:
* doc/spec/polkit-spec.xml.in:
* libpolkit/Makefile.am:
* libpolkit/libpolkit-grant.c: (have_questions_handler),
(libpolkit_grant_provide_answers), (auth_done_handler),
(libpolkit_grant_new_context),
(libpolkit_grant_get_libpolkit_context),
(libpolkit_grant_set_questions_handler),
(libpolkit_grant_set_grant_complete_handler),
(libpolkit_grant_initiate_temporary_grant),
(libpolkit_grant_get_user_for_auth),
(libpolkit_grant_get_pam_service_for_auth),
(libpolkit_grant_close), (libpolkit_grant_free_context),
(libpolkit_grant_get_user), (libpolkit_grant_get_privilege),
(libpolkit_grant_get_resource):
* libpolkit/libpolkit-grant.h:
* libpolkit/libpolkit.c:
(libpolkit_get_allowed_resources_for_privilege_for_uid),
(libpolkit_is_uid_allowed_for_privilege):
* libpolkit/libpolkit.h:
* pam-polkit-console/Makefile.am:
* pam-polkit-console/pam-polkit-console.c: (_pam_log),
(_parse_module_args), (_is_local_xconsole), (_poke_polkitd),
(pam_sm_authenticate), (pam_sm_setcred), (pam_sm_open_session),
(pam_sm_close_session):
* polkit-interface-manager.xml:
* polkit-interface-session.xml:
* polkit.pc.in:
* polkitd/PolicyKit.in:
* polkitd/main.c: (handle_sigusr1), (sigusr1_iochn_data), (main):
* polkitd/policy.c: (txt_backend_read_policy),
(txt_backend_read_list), (txt_backend_read_word),
(policy_get_sufficient_privileges),
(policy_get_required_privileges),
(policy_get_auth_details_for_policy),
(_policy_is_uid_gid_allowed_for_policy),
(policy_is_uid_gid_allowed_for_policy),
(policy_is_uid_allowed_for_policy):
* polkitd/policy.h:
* polkitd/polkit-manager.c: (_granting_temp_priv),
(_revoking_temp_priv), (polkit_manager_error_get_type),
(bus_name_owner_changed), (polkit_manager_get_caller_info),
(_check_for_temp_privilege),
(polkit_manager_initiate_temporary_privilege_grant),
(polkit_manager_is_user_privileged),
(polkit_manager_get_allowed_resources_for_privilege),
(polkit_manager_revoke_temporary_privilege),
(polkit_manager_add_temporary_privilege),
(polkit_manager_remove_temporary_privilege),
(polkit_manager_update_desktop_console_privileges):
* polkitd/polkit-manager.h:
* polkitd/polkit-session.c: (polkit_session_close),
(polkit_session_grant_privilege_temporarily), (polkit_session_new),
(polkit_session_initiator_disconnected):
* polkitd/polkit-session.h:
* privileges/desktop-console.privilege:
* tools/Makefile.am:
* tools/polkit-grant-privilege.c: (questions_cb),
(grant_complete_cb), (main):
* tools/polkit-is-privileged.c: (usage), (main):
* tools/polkit-list-privileges.c: (main):
* tools/polkit-revoke-privilege.c: (main):
Index: ChangeLog
===================================================================
RCS file: /cvs/hal/PolicyKit/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- ChangeLog 22 Apr 2006 23:27:14 -0000 1.18
+++ ChangeLog 5 Jun 2006 23:39:00 -0000 1.19
@@ -1,3 +1,76 @@
+2006-06-05 David Zeuthen <davidz at redhat.com>
+
+ Lots of changes! Almost ready for 0.2 release.
+
+ * Makefile.am:
+ * README:
+ * configure.in:
+ * doc/TODO:
+ * doc/api/polkit-docs.xml:
+ * doc/spec/Makefile.am:
+ * doc/spec/polkit-spec.html:
+ * doc/spec/polkit-spec.xml.in:
+ * libpolkit/Makefile.am:
+ * libpolkit/libpolkit-grant.c: (have_questions_handler),
+ (libpolkit_grant_provide_answers), (auth_done_handler),
+ (libpolkit_grant_new_context),
+ (libpolkit_grant_get_libpolkit_context),
+ (libpolkit_grant_set_questions_handler),
+ (libpolkit_grant_set_grant_complete_handler),
+ (libpolkit_grant_initiate_temporary_grant),
+ (libpolkit_grant_get_user_for_auth),
+ (libpolkit_grant_get_pam_service_for_auth),
+ (libpolkit_grant_close), (libpolkit_grant_free_context),
+ (libpolkit_grant_get_user), (libpolkit_grant_get_privilege),
+ (libpolkit_grant_get_resource):
+ * libpolkit/libpolkit-grant.h:
+ * libpolkit/libpolkit.c:
+ (libpolkit_get_allowed_resources_for_privilege_for_uid),
+ (libpolkit_is_uid_allowed_for_privilege):
+ * libpolkit/libpolkit.h:
+ * pam-polkit-console/Makefile.am:
+ * pam-polkit-console/pam-polkit-console.c: (_pam_log),
+ (_parse_module_args), (_is_local_xconsole), (_poke_polkitd),
+ (pam_sm_authenticate), (pam_sm_setcred), (pam_sm_open_session),
+ (pam_sm_close_session):
+ * polkit-interface-manager.xml:
+ * polkit-interface-session.xml:
+ * polkit.pc.in:
+ * polkitd/PolicyKit.in:
+ * polkitd/main.c: (handle_sigusr1), (sigusr1_iochn_data), (main):
+ * polkitd/policy.c: (txt_backend_read_policy),
+ (txt_backend_read_list), (txt_backend_read_word),
+ (policy_get_sufficient_privileges),
+ (policy_get_required_privileges),
+ (policy_get_auth_details_for_policy),
+ (_policy_is_uid_gid_allowed_for_policy),
+ (policy_is_uid_gid_allowed_for_policy),
+ (policy_is_uid_allowed_for_policy):
+ * polkitd/policy.h:
+ * polkitd/polkit-manager.c: (_granting_temp_priv),
+ (_revoking_temp_priv), (polkit_manager_error_get_type),
+ (bus_name_owner_changed), (polkit_manager_get_caller_info),
+ (_check_for_temp_privilege),
+ (polkit_manager_initiate_temporary_privilege_grant),
+ (polkit_manager_is_user_privileged),
+ (polkit_manager_get_allowed_resources_for_privilege),
+ (polkit_manager_revoke_temporary_privilege),
+ (polkit_manager_add_temporary_privilege),
+ (polkit_manager_remove_temporary_privilege),
+ (polkit_manager_update_desktop_console_privileges):
+ * polkitd/polkit-manager.h:
+ * polkitd/polkit-session.c: (polkit_session_close),
+ (polkit_session_grant_privilege_temporarily), (polkit_session_new),
+ (polkit_session_initiator_disconnected):
+ * polkitd/polkit-session.h:
+ * privileges/desktop-console.privilege:
+ * tools/Makefile.am:
+ * tools/polkit-grant-privilege.c: (questions_cb),
+ (grant_complete_cb), (main):
+ * tools/polkit-is-privileged.c: (usage), (main):
+ * tools/polkit-list-privileges.c: (main):
+ * tools/polkit-revoke-privilege.c: (main):
+
2006-04-22 David Zeuthen <davidz at redhat.com>
* tools/polkit-list-privileges.c (main): Update to new D-BUS API;
Index: Makefile.am
===================================================================
RCS file: /cvs/hal/PolicyKit/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.am 14 Mar 2006 06:14:33 -0000 1.2
+++ Makefile.am 5 Jun 2006 23:39:00 -0000 1.3
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = libpolkit polkitd doc tools privileges
+SUBDIRS = libpolkit pam-polkit-console polkitd doc tools privileges
pamdir = $(sysconfdir)/pam.d
pam_DATA = policy-kit
Index: README
===================================================================
RCS file: /cvs/hal/PolicyKit/README,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- README 8 Mar 2006 01:52:01 -0000 1.1.1.1
+++ README 5 Jun 2006 23:39:00 -0000 1.2
@@ -2,7 +2,6 @@
PolicyKit is a framework for defining policy for system-wide components and
for desktop pieces to configure it. It is used by HAL.
-
See also the file HACKING for notes of interest to developers working
on PolicyKit.
Index: configure.in
===================================================================
RCS file: /cvs/hal/PolicyKit/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- configure.in 29 Mar 2006 16:15:28 -0000 1.5
+++ configure.in 5 Jun 2006 23:39:00 -0000 1.6
@@ -1,8 +1,8 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT(PolicyKit, 0.1, david at fubar.dk)
-AM_INIT_AUTOMAKE(PolicyKit, 0.1)
+AC_INIT(PolicyKit, 0.2, david at fubar.dk)
+AM_INIT_AUTOMAKE(PolicyKit, 0.2)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
@@ -48,7 +48,7 @@
# Taken from dbus
AC_ARG_ENABLE(ansi, [ --enable-ansi enable -ansi -pedantic gcc flags],enable_ansi=$enableval,enable_ansi=no)
AC_ARG_ENABLE(verbose-mode, [ --enable-verbose-mode support verbose debug mode],enable_verbose_mode=$enableval,enable_verbose_mode=$USE_MAINTAINER_MODE)
-AC_ARG_ENABLE(docbook-docs, [ --enable-docbook-docs build documentation (requires docbook2html)],enable_docbook_docs=$enableval,enable_docbook_docs=auto)
+AC_ARG_ENABLE(docbook-docs, [ --enable-docbook-docs build documentation (requires xmlto)],enable_docbook_docs=$enableval,enable_docbook_docs=auto)
GTK_DOC_CHECK([1.3])
@@ -150,7 +150,7 @@
# DocBook Documentation
-AC_PATH_PROG(DOCBOOK, docbook2html, no)
+AC_PATH_PROG(XMLTO, xmlto, no)
AC_MSG_CHECKING([whether to build DocBook documentation])
@@ -347,6 +347,7 @@
policy-kit
polkit.pc
Makefile
+pam-polkit-console/Makefile
polkitd/Makefile
polkitd/PolicyKit
polkitd/PolicyKit.conf
Index: polkit-interface-manager.xml
===================================================================
RCS file: /cvs/hal/PolicyKit/polkit-interface-manager.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- polkit-interface-manager.xml 22 Apr 2006 23:27:14 -0000 1.2
+++ polkit-interface-manager.xml 5 Jun 2006 23:39:00 -0000 1.3
@@ -21,20 +21,22 @@
<method name="IsUserPrivileged">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg name="pid" type="i" direction="in"/>
- <arg name="user" type="s" direction="in"/>
- <arg name="privilege" type="s" direction="in"/>
- <arg name="resource" type="s" direction="in"/>
- <arg name="is_privileged" type="b" direction="out"/>
- <arg name="is_temporary" type="b" direction="out"/>
+ <arg name="system_bus_unique_name" type="s" direction="in"/>
+ <arg name="user" type="s" direction="in"/>
+ <arg name="privilege" type="s" direction="in"/>
+ <arg name="resource" type="s" direction="in"/>
+ <arg name="is_privileged" type="b" direction="out"/>
+ <arg name="is_temporary" type="b" direction="out"/>
+ <arg name="is_privileged_but_restricted_to_system_bus_unique_name" type="s" direction="out"/>
</method>
<method name="GetAllowedResourcesForPrivilege">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg name="user" type="s" direction="in"/>
- <arg name="privilege" type="s" direction="in"/>
- <arg name="resource_list" type="as" direction="out"/>
- <arg name="num_non_temp" type="i" direction="out"/>
+ <arg name="user" type="s" direction="in"/>
+ <arg name="privilege" type="s" direction="in"/>
+ <arg name="resource_list" type="as" direction="out"/>
+ <arg name="restriction_list" type="as" direction="out"/>
+ <arg name="num_non_temp" type="i" direction="out"/>
</method>
<method name="ListPrivileges">
Index: polkit-interface-session.xml
===================================================================
RCS file: /cvs/hal/PolicyKit/polkit-interface-session.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- polkit-interface-session.xml 14 Mar 2006 06:14:33 -0000 1.1
+++ polkit-interface-session.xml 5 Jun 2006 23:39:00 -0000 1.2
@@ -35,12 +35,11 @@
<method name="Close">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg name="do_not_revoke_privileges" type="b" direction="in"/>
</method>
<method name="GrantPrivilegeTemporarily">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg name="restrict_to_callers_pid" type="b" direction="in"/>
+ <arg name="restrict_to_callers_system_bus_unique_name" type="b" direction="in"/>
</method>
<signal name="HaveQuestions"/>
Index: polkit.pc.in
===================================================================
RCS file: /cvs/hal/PolicyKit/polkit.pc.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- polkit.pc.in 14 Mar 2006 06:14:33 -0000 1.6
+++ polkit.pc.in 5 Jun 2006 23:39:00 -0000 1.7
@@ -3,10 +3,6 @@
libdir=@libdir@
includedir=@includedir@
-user=@POLKIT_USER@
-group=@POLKIT_GROUP@
-txtsrc=@sysconfdir@/PolicyKit/privilege.d
-
Name: libpolkit
Description: library for querying and setting system-wide policy
Version: @VERSION@
- Previous message: PolicyKit/privileges desktop-console.privilege,1.1,1.2
- Next message: PolicyKit/tools Makefile.am, 1.3, 1.4 polkit-grant-privilege.c, 1.4,
1.5 polkit-is-privileged.c, 1.4, 1.5 polkit-list-privileges.c,
1.2, 1.3 polkit-revoke-privilege.c, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the hal-commit
mailing list