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
commit4a27d64c8fd5ffef6f8fe5cd8feb6f9b493b5282 (patch)
tree82fb72c8a3cb461464ef61e0b2297edd82b83dfc /bind-bsdcompat.patch
parent8deb4c0e76fb7d34e9c13fa03793ce176dc9bdb9 (diff)
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) {