hal/tools hal-storage-mount.c,1.3,1.4
David Zeuthen
david at kemper.freedesktop.org
Fri Apr 28 11:48:09 PDT 2006
Update of /cvs/hal/hal/tools
In directory kemper:/tmp/cvs-serv18361/tools
Modified Files:
hal-storage-mount.c
Log Message:
2006-04-28 David Zeuthen <davidz at redhat.com>
* tools/hal-storage-mount.c (handle_mount): Update to new
PolicyKit API.
Index: hal-storage-mount.c
===================================================================
RCS file: /cvs/hal/hal/tools/hal-storage-mount.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- hal-storage-mount.c 14 Mar 2006 06:43:50 -0000 1.3
+++ hal-storage-mount.c 28 Apr 2006 18:48:07 -0000 1.4
@@ -315,6 +315,7 @@
gboolean pol_change_uid;
char *privilege;
gboolean allowed_by_privilege;
+ gboolean is_temporary_privilege;
gboolean explicit_mount_point_given;
const char *end;
@@ -547,7 +548,8 @@
invoked_by_uid,
privilege,
udi,
- &allowed_by_privilege) != LIBPOLKIT_RESULT_OK) {
+ &allowed_by_privilege,
+ &is_temporary_privilege) != LIBPOLKIT_RESULT_OK) {
printf ("cannot lookup privilege\n");
unknown_error ();
}
More information about the hal-commit
mailing list