PolicyKit: Branch 'master' - 2 commits

David Zeuthen david at kemper.freedesktop.org
Fri Jan 15 11:03:52 PST 2010


 configure.ac                                          |    4 ++--
 src/polkitbackend/polkitbackendinteractiveauthority.c |    7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

New commits:
commit 869743bedd23633db765dbaab451d4d99e7be822
Author: David Zeuthen <davidz at redhat.com>
Date:   Fri Jan 15 14:02:21 2010 -0500

    Don't log authorization checks
    
    It's a little too verbose to do this. See
    
     http://lists.freedesktop.org/archives/polkit-devel/2009-December/000283.html
    
    for the rationale.

diff --git a/src/polkitbackend/polkitbackendinteractiveauthority.c b/src/polkitbackend/polkitbackendinteractiveauthority.c
index 004a99b..41e9017 100644
--- a/src/polkitbackend/polkitbackendinteractiveauthority.c
+++ b/src/polkitbackend/polkitbackendinteractiveauthority.c
@@ -444,7 +444,8 @@ _polkit_subject_get_cmdline (PolkitSubject *subject)
   return ret;
 }
 
-static void
+/* TODO: possibly remove this function altogether */
+G_GNUC_UNUSED static void
 log_result (PolkitBackendInteractiveAuthority    *authority,
             const gchar                          *action_id,
             PolkitSubject                        *subject,
@@ -619,7 +620,7 @@ check_authorization_challenge_cb (AuthenticationAgent         *agent,
                                     user_of_subject_str);
     }
 
-  log_result (authority, action_id, subject, caller, result);
+  /* log_result (authority, action_id, subject, caller, result); */
 
   g_simple_async_result_set_op_res_gpointer (simple,
                                              result,
@@ -828,7 +829,7 @@ polkit_backend_interactive_authority_check_authorization (PolkitBackendAuthority
         }
     }
 
-  log_result (interactive_authority, action_id, subject, caller, result);
+  /* log_result (interactive_authority, action_id, subject, caller, result); */
 
   /* Otherwise just return the result */
   g_simple_async_result_set_op_res_gpointer (simple,
commit ee81d1704df4d584bf69b41c5df15d4624360955
Author: David Zeuthen <davidz at redhat.com>
Date:   Fri Jan 15 13:53:04 2010 -0500

    Post-release version bump to 0.96

diff --git a/configure.ac b/configure.ac
index 2605187..c461654 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59c)
-AC_INIT(polkit, 0.95, http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
-AM_INIT_AUTOMAKE(polkit, 0.95)
+AC_INIT(polkit, 0.96, http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
+AM_INIT_AUTOMAKE(polkit, 0.96)
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 


More information about the hal-commit mailing list