diff options
| author | Adam Tkac <atkac@fedoraproject.org> | 2007-03-06 15:32:16 +0000 |
|---|---|---|
| committer | Adam Tkac <atkac@fedoraproject.org> | 2007-03-06 15:32:16 +0000 |
| commit | 5ea70d6f4e0ec3afd9cd169258d0ddb342773da2 (patch) | |
| tree | 8f99c10e5b9c35bfcb9f88da9462479e83c8f062 /bind-bsdcompat.patch | |
| parent | 7d1ee6c49c8d9b46528f6bee2ae7c7c287fbde56 (diff) | |
| download | bind-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.patch | 12 |
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) { |
