mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
update copyright notice
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.c,v 1.276 2008/01/10 23:47:01 tbox Exp $ */
|
||||
/* $Id: socket.c,v 1.277 2008/01/18 23:46:58 tbox Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -438,7 +438,7 @@ select_readmsg(isc_socketmgr_t *mgr, int *fd, int *msg) {
|
||||
"read() failed "
|
||||
"during watcher poke: %s"),
|
||||
strbuf);
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
INSIST(cc == sizeof(buf));
|
||||
@@ -543,7 +543,7 @@ cmsg_space(ISC_SOCKADDR_LEN_T len) {
|
||||
return ((char *)cmsgp - (char *)msg.msg_control);
|
||||
else
|
||||
return (0);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
#endif /* USE_CMSG */
|
||||
|
||||
@@ -617,7 +617,7 @@ process_cmsg(isc_socket_t *sock, struct msghdr *msg, isc_socketevent_t *dev) {
|
||||
"interface received on ifindex %u",
|
||||
dev->pktinfo.ipi6_ifindex);
|
||||
if (IN6_IS_ADDR_MULTICAST(&pktinfop->ipi6_addr))
|
||||
dev->attributes |= ISC_SOCKEVENTATTR_MULTICAST;
|
||||
dev->attributes |= ISC_SOCKEVENTATTR_MULTICAST;
|
||||
goto next;
|
||||
}
|
||||
#endif
|
||||
@@ -1000,7 +1000,7 @@ doio_recv(isc_socket_t *sock, isc_socketevent_t *dev) {
|
||||
isc__strerror(recv_errno, strbuf, sizeof(strbuf));
|
||||
socket_log(sock, NULL, IOEVENT,
|
||||
isc_msgcat, ISC_MSGSET_SOCKET,
|
||||
ISC_MSG_DOIORECV,
|
||||
ISC_MSG_DOIORECV,
|
||||
"doio_recv: recvmsg(%d) %d bytes, err %d/%s",
|
||||
sock->fd, cc, recv_errno, strbuf);
|
||||
}
|
||||
@@ -1048,7 +1048,7 @@ doio_recv(isc_socket_t *sock, isc_socketevent_t *dev) {
|
||||
if (isc_log_wouldlog(isc_lctx, IOEVENT_LEVEL)) {
|
||||
socket_log(sock, &dev->address, IOEVENT,
|
||||
isc_msgcat, ISC_MSGSET_SOCKET,
|
||||
ISC_MSG_ZEROPORT,
|
||||
ISC_MSG_ZEROPORT,
|
||||
"dropping source port zero packet");
|
||||
}
|
||||
return (DOIO_SOFT);
|
||||
@@ -1528,7 +1528,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
|
||||
free_socket(&sock);
|
||||
return (ISC_R_NORESOURCES);
|
||||
}
|
||||
|
||||
|
||||
if (sock->fd < 0) {
|
||||
free_socket(&sock);
|
||||
|
||||
@@ -1609,7 +1609,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
|
||||
isc__strerror(errno, strbuf, sizeof(strbuf));
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||
"setsockopt(%d, SO_TIMESTAMP) %s: %s",
|
||||
sock->fd,
|
||||
sock->fd,
|
||||
isc_msgcat_get(isc_msgcat,
|
||||
ISC_MSGSET_GENERAL,
|
||||
ISC_MSG_FAILED,
|
||||
@@ -2137,7 +2137,7 @@ internal_accept(isc_task_t *me, isc_event_t *ev) {
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||
"internal_accept(): "
|
||||
"accept() returned peer address "
|
||||
"family %u (expected %u)",
|
||||
"family %u (expected %u)",
|
||||
dev->newsocket->peer_address.
|
||||
type.sa.sa_family,
|
||||
sock->pf);
|
||||
@@ -2210,7 +2210,7 @@ internal_accept(isc_task_t *me, isc_event_t *ev) {
|
||||
dev->newsocket->references--;
|
||||
free_socket(&dev->newsocket);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Fill in the done event details and send it off.
|
||||
*/
|
||||
@@ -3340,7 +3340,7 @@ isc_socket_permunix(isc_sockaddr_t *sockaddr, isc_uint32_t perm,
|
||||
} else
|
||||
strcpy(path, ".");
|
||||
#endif
|
||||
|
||||
|
||||
if (chmod(path, perm) < 0) {
|
||||
isc__strerror(errno, strbuf, sizeof(strbuf));
|
||||
isc_log_write(isc_lctx, ISC_LOGCATEGORY_GENERAL,
|
||||
|
Reference in New Issue
Block a user