dbus ChangeLog,1.903,1.904 configure.in,1.134,1.135

John Palmieri johnp at freedesktop.org
Wed Oct 12 15:15:39 PDT 2005


Update of /cvs/dbus/dbus
In directory gabe:/tmp/cvs-serv4857

Modified Files:
	ChangeLog configure.in 
Log Message:
patches from Michael Krivoruchko <misha at sun.com>: 
	
* dbus/dbus-connection.c (_dbus_connection_queue_received_message_link,
_dbus_connection_message_sent, 
_dbus_connection_send_preallocated_unlocked_no_update, 
_dbus_connection_pop_message_link_unlocked): handle the case when path 
is NULL when calling _dbus_verbose

* configure.in: check for functions getpeerucred and getpeereid

* dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): provides 
support of auth EXTERNAL on Solaris 10+ (getpeerucred), FreeBSD 4.6+, 
OpenBSD 3.0+ and FreeBSD 5.0+ as well as MacOSX 10.2+ (getpeereid). 
Patch was only tested on Solaris 10 x86 so it might be issues
with other platforms (i.e. BSDs and MacOSX)


Index: ChangeLog
===================================================================
RCS file: /cvs/dbus/dbus/ChangeLog,v
retrieving revision 1.903
retrieving revision 1.904
diff -u -d -r1.903 -r1.904
--- ChangeLog	5 Oct 2005 20:43:46 -0000	1.903
+++ ChangeLog	12 Oct 2005 22:15:37 -0000	1.904
@@ -1,3 +1,22 @@
+2005-10-12  John (J5) Palmieri  <johnp at redhat.com>
+
+	patches from Michael Krivoruchko <misha at sun.com>: 
+	
+	* dbus/dbus-connection.c (_dbus_connection_queue_received_message_link,
+	_dbus_connection_message_sent, 
+	_dbus_connection_send_preallocated_unlocked_no_update, 
+	_dbus_connection_pop_message_link_unlocked): handle the case when path 
+	is NULL when calling _dbus_verbose
+
+	* configure.in: check for functions getpeerucred and getpeereid
+
+	* dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): provides 
+	support of auth EXTERNAL on Solaris 10+ (getpeerucred), FreeBSD 4.6+, 
+	OpenBSD 3.0+ and FreeBSD 5.0+ as well as MacOSX 10.2+ (getpeereid). 
+	Patch was only tested on Solaris 10 x86 so it might be issues
+	with other platforms (i.e. BSDs and MacOSX)
+	
+
 2005-10-05  John (J5) Palmieri  <johnp at redhat.com>
 
 	* glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal 

Index: configure.in
===================================================================
RCS file: /cvs/dbus/dbus/configure.in,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- configure.in	30 Sep 2005 15:20:08 -0000	1.134
+++ configure.in	12 Oct 2005 22:15:37 -0000	1.135
@@ -653,6 +653,7 @@
     AC_DEFINE(HAVE_CMSGCRED,1,[Have cmsgcred structure])
 fi
 
+AC_CHECK_FUNCS(getpeerucred getpeereid)
 
 #### Abstract sockets
 



More information about the dbus-commit mailing list