summaryrefslogtreecommitdiffstats
path: root/bind-bsdcompat.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2007-03-06 15:32:16 +0000
committerAdam Tkac <atkac@fedoraproject.org>2007-03-06 15:32:16 +0000
commit5ea70d6f4e0ec3afd9cd169258d0ddb342773da2 (patch)
tree8f99c10e5b9c35bfcb9f88da9462479e83c8f062 /bind-bsdcompat.patch
parent7d1ee6c49c8d9b46528f6bee2ae7c7c287fbde56 (diff)
downloadbind-5ea70d6f4e0ec3afd9cd169258d0ddb342773da2.tar.gz
bind-5ea70d6f4e0ec3afd9cd169258d0ddb342773da2.tar.xz
bind-5ea70d6f4e0ec3afd9cd169258d0ddb342773da2.zip
updated to 9.4.0 bind-chroot-admin now using restorecon instead chcon
Diffstat (limited to 'bind-bsdcompat.patch')
-rw-r--r--bind-bsdcompat.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/bind-bsdcompat.patch b/bind-bsdcompat.patch
index a0316c5..01ae22b 100644
--- a/bind-bsdcompat.patch
+++ b/bind-bsdcompat.patch
@@ -1,11 +1,11 @@
---- bind-9.2.2/lib/isc/unix/socket.c.bsdcompat 2003-02-18 02:28:41.000000000 -0500
-+++ bind-9.2.2/lib/isc/unix/socket.c 2003-07-19 15:40:49.784907968 -0400
-@@ -1365,7 +1365,7 @@ isc_socket_create(isc_socketmgr_t *manag
+--- bind-9.4.0/lib/isc/unix/socket.c.bsdcompat 2006-06-06 02:56:09.000000000 +0200
++++ bind-9.4.0/lib/isc/unix/socket.c 2007-03-06 12:53:12.000000000 +0100
+@@ -1492,7 +1492,7 @@
return (ISC_R_UNEXPECTED);
}
-#ifdef SO_BSDCOMPAT
+#if 0
- if (setsockopt(sock->fd, SOL_SOCKET, SO_BSDCOMPAT,
- (void *)&on, sizeof on) < 0) {
- isc__strerror(errno, strbuf, sizeof(strbuf));
+ if (type != isc_sockettype_unix &&
+ setsockopt(sock->fd, SOL_SOCKET, SO_BSDCOMPAT,
+ (void *)&on, sizeof(on)) < 0) {