Better.
This commit is contained in:
parent
8771739246
commit
9c5fee729a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.35 2010/06/29 02:14:57 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.36 2010/06/29 03:36:30 ajacoutot Exp $
|
||||
|
||||
# XXX patches/patch-configure_in disables PIE on arm/hppa. This is just a
|
||||
# temporary workaround until PIE works.
|
||||
@ -6,7 +6,7 @@
|
||||
COMMENT= message bus system
|
||||
|
||||
DISTNAME= dbus-1.2.24
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
|
||||
SHARED_LIBS += dbus-1 7.1 # .7.0
|
||||
CATEGORIES= x11
|
||||
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: patch-dbus_dbus-sysdeps-unix_c,v 1.3 2010/06/29 02:14:57 ajacoutot Exp $
|
||||
--- dbus/dbus-sysdeps-unix.c.orig Tue Jun 29 04:12:50 2010
|
||||
+++ dbus/dbus-sysdeps-unix.c Tue Jun 29 04:13:23 2010
|
||||
@@ -1256,6 +1256,7 @@ _dbus_read_credentials_socket (int clien
|
||||
$OpenBSD: patch-dbus_dbus-sysdeps-unix_c,v 1.4 2010/06/29 03:36:30 ajacoutot Exp $
|
||||
--- dbus/dbus-sysdeps-unix.c.orig Tue Mar 23 20:01:27 2010
|
||||
+++ dbus/dbus-sysdeps-unix.c Tue Jun 29 05:35:34 2010
|
||||
@@ -1255,6 +1255,7 @@ _dbus_read_credentials_socket (int clien
|
||||
gid_t egid;
|
||||
if (getpeereid (client_fd, &euid, &egid) == 0)
|
||||
{
|
||||
+ pid_read = DBUS_PID_UNSET;
|
||||
uid_read = euid;
|
||||
+ pid_read = getpid();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user