PolicyKit/polkitd polkit-manager.c,1.3,1.4

David Zeuthen david at kemper.freedesktop.org
Tue Jun 6 17:26:57 PDT 2006


Update of /cvs/hal/PolicyKit/polkitd
In directory kemper:/tmp/cvs-serv15215/polkitd

Modified Files:
	polkit-manager.c 
Log Message:
2006-06-06  David Zeuthen  <davidz at redhat.com>

        * polkitd/polkit-manager.c (polkit_manager_get_caller_info): For
        now, comment out SELinux stuff as it breaks when SELinux is not
        available.



Index: polkit-manager.c
===================================================================
RCS file: /cvs/hal/PolicyKit/polkitd/polkit-manager.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- polkit-manager.c	5 Jun 2006 23:39:00 -0000	1.3
+++ polkit-manager.c	7 Jun 2006 00:26:55 -0000	1.4
@@ -354,6 +354,7 @@
 		goto out;
 	}
 
+#if 0
 	if (!dbus_g_proxy_call (manager->priv->bus_proxy, "GetConnectionSELinuxSecurityContext", &error,
 				G_TYPE_STRING, sender,
 				G_TYPE_INVALID,
@@ -369,6 +370,7 @@
 	selinux_context_string = (char *) g_array_free (calling_selinux_context, FALSE);
 	g_message ("selinux context = '%s' for sender '%s'", selinux_context_string, sender);
 	g_free (selinux_context_string);
+#endif
 
 	caller_info = g_new0 (CallerInfo, 1);
 	caller_info->uid = *calling_uid;




More information about the hal-commit mailing list