PolicyKit: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Wed Dec 5 20:36:35 PST 2007
src/polkit-grant/polkit-authorization-db-dummy-write.c | 4 ++--
src/polkit/polkit-authorization-db-dummy.c | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
New commits:
commit 128729cbf5cebe011e87d97e4d4ff7367ed00768
Author: David Zeuthen <davidz at redhat.com>
Date: Wed Dec 5 23:33:24 2007 -0500
fix dummy backend so it builds
diff --git a/src/polkit-grant/polkit-authorization-db-dummy-write.c b/src/polkit-grant/polkit-authorization-db-dummy-write.c
index d458c16..ac1fcc5 100644
--- a/src/polkit-grant/polkit-authorization-db-dummy-write.c
+++ b/src/polkit-grant/polkit-authorization-db-dummy-write.c
@@ -92,7 +92,7 @@ polkit_bool_t
polkit_authorization_db_grant_to_uid (PolKitAuthorizationDB *authdb,
PolKitAction *action,
uid_t uid,
- PolKitAuthorizationConstraint *constraint,
+ PolKitAuthorizationConstraint **constraints,
PolKitError **error)
{
polkit_error_set_error (error, POLKIT_ERROR_NOT_SUPPORTED, "Not supported");
@@ -103,7 +103,7 @@ polkit_bool_t
polkit_authorization_db_grant_negative_to_uid (PolKitAuthorizationDB *authdb,
PolKitAction *action,
uid_t uid,
- PolKitAuthorizationConstraint *constraint,
+ PolKitAuthorizationConstraint **constraints,
PolKitError **error)
{
polkit_error_set_error (error, POLKIT_ERROR_NOT_SUPPORTED, "Not supported");
diff --git a/src/polkit/polkit-authorization-db-dummy.c b/src/polkit/polkit-authorization-db-dummy.c
index a944f3f..0b4c848 100644
--- a/src/polkit/polkit-authorization-db-dummy.c
+++ b/src/polkit/polkit-authorization-db-dummy.c
@@ -126,7 +126,8 @@ polkit_authorization_db_is_session_authorized (PolKitAuthorizationDB *authdb,
PolKitAction *action,
PolKitSession *session,
polkit_bool_t *out_is_authorized,
- polkit_bool_t *out_is_negative_authorized)
+ polkit_bool_t *out_is_negative_authorized,
+ PolKitError **error)
{
*out_is_authorized = FALSE;
*out_is_negative_authorized = FALSE;
@@ -139,7 +140,8 @@ polkit_authorization_db_is_caller_authorized (PolKitAuthorizationDB *authdb,
PolKitCaller *caller,
polkit_bool_t revoke_if_one_shot,
polkit_bool_t *out_is_authorized,
- polkit_bool_t *out_is_negative_authorized)
+ polkit_bool_t *out_is_negative_authorized,
+ PolKitError **error)
{
*out_is_authorized = FALSE;
*out_is_negative_authorized = FALSE;
More information about the hal-commit
mailing list