diff options
Diffstat (limited to 'socket')
37 files changed, 39 insertions, 39 deletions
diff --git a/socket/Makefile b/socket/Makefile index df732fa..70fd413 100644 --- a/socket/Makefile +++ b/socket/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-2024 Free Software Foundation, Inc. +# Copyright (C) 1991-2025 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/accept.c b/socket/accept.c index 461918e..c3bd825 100644 --- a/socket/accept.c +++ b/socket/accept.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/accept4.c b/socket/accept4.c index 215f402..00f1ce3 100644 --- a/socket/accept4.c +++ b/socket/accept4.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2008-2024 Free Software Foundation, Inc. +/* Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/bind.c b/socket/bind.c index ba6dfc5..617a70e 100644 --- a/socket/bind.c +++ b/socket/bind.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/bits/socket2.h b/socket/bits/socket2.h index bd91647..333c90e 100644 --- a/socket/bits/socket2.h +++ b/socket/bits/socket2.h @@ -1,5 +1,5 @@ /* Checking macros for socket functions. - Copyright (C) 2005-2024 Free Software Foundation, Inc. + Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/connect.c b/socket/connect.c index ec88b41..4c5aa96 100644 --- a/socket/connect.c +++ b/socket/connect.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/getpeername.c b/socket/getpeername.c index d620321..114fb21 100644 --- a/socket/getpeername.c +++ b/socket/getpeername.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/getsockname.c b/socket/getsockname.c index 59d6e4d..729dee1 100644 --- a/socket/getsockname.c +++ b/socket/getsockname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/getsockopt.c b/socket/getsockopt.c index d9334ae..1d75434 100644 --- a/socket/getsockopt.c +++ b/socket/getsockopt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/isfdtype.c b/socket/isfdtype.c index 340b805..ed88274 100644 --- a/socket/isfdtype.c +++ b/socket/isfdtype.c @@ -1,5 +1,5 @@ /* isfdtype - Determine whether descriptor has given property. Stub version. - Copyright (C) 1996-2024 Free Software Foundation, Inc. + Copyright (C) 1996-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/listen.c b/socket/listen.c index 85f4c68..14f00d23 100644 --- a/socket/listen.c +++ b/socket/listen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/opensock.c b/socket/opensock.c index 83e8991..8983970 100644 --- a/socket/opensock.c +++ b/socket/opensock.c @@ -1,5 +1,5 @@ /* Create socket with an unspecified address family for use with ioctl. - Copyright (C) 1999-2024 Free Software Foundation, Inc. + Copyright (C) 1999-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/recv.c b/socket/recv.c index 0894388..3cfce87 100644 --- a/socket/recv.c +++ b/socket/recv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/recvfrom.c b/socket/recvfrom.c index 8a48be3..dc3dfc9 100644 --- a/socket/recvfrom.c +++ b/socket/recvfrom.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/recvmmsg.c b/socket/recvmmsg.c index 47476ee..50796a2 100644 --- a/socket/recvmmsg.c +++ b/socket/recvmmsg.c @@ -1,5 +1,5 @@ /* Receive multiple messages on a socket. Stub version. - Copyright (C) 2010-2024 Free Software Foundation, Inc. + Copyright (C) 2010-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/recvmsg.c b/socket/recvmsg.c index b674435..e0b3631 100644 --- a/socket/recvmsg.c +++ b/socket/recvmsg.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/sa_len.c b/socket/sa_len.c index 7039745..738b1a6 100644 --- a/socket/sa_len.c +++ b/socket/sa_len.c @@ -1,5 +1,5 @@ /* Helper for SA_LEN macro. - Copyright (C) 2013-2024 Free Software Foundation, Inc. + Copyright (C) 2013-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/send.c b/socket/send.c index 70b75de..03bb138 100644 --- a/socket/send.c +++ b/socket/send.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/sendmmsg.c b/socket/sendmmsg.c index e41bbdd..32189ff 100644 --- a/socket/sendmmsg.c +++ b/socket/sendmmsg.c @@ -1,5 +1,5 @@ /* Send multiple messages on a socket. Stub version. - Copyright (C) 2011-2024 Free Software Foundation, Inc. + Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/sendmsg.c b/socket/sendmsg.c index 7d1cf8f..286f6cd 100644 --- a/socket/sendmsg.c +++ b/socket/sendmsg.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/sendto.c b/socket/sendto.c index 2a68947..36dc1b9 100644 --- a/socket/sendto.c +++ b/socket/sendto.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/setsockopt.c b/socket/setsockopt.c index 8ede566..379f1e4 100644 --- a/socket/setsockopt.c +++ b/socket/setsockopt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/shutdown.c b/socket/shutdown.c index f6bf65d..6c3d082 100644 --- a/socket/shutdown.c +++ b/socket/shutdown.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/sockaddr_un_set.c b/socket/sockaddr_un_set.c index 0287ca6..46eefbb 100644 --- a/socket/sockaddr_un_set.c +++ b/socket/sockaddr_un_set.c @@ -1,5 +1,5 @@ /* Set the sun_path member of struct sockaddr_un. - Copyright (C) 2022-2024 Free Software Foundation, Inc. + Copyright (C) 2022-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/sockatmark.c b/socket/sockatmark.c index 52e5dd3..6673f1e 100644 --- a/socket/sockatmark.c +++ b/socket/sockatmark.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2024 Free Software Foundation, Inc. +/* Copyright (C) 2001-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/socket.c b/socket/socket.c index c8e7fde..8678a93 100644 --- a/socket/socket.c +++ b/socket/socket.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/socketpair.c b/socket/socketpair.c index 8531882..0a46f03 100644 --- a/socket/socketpair.c +++ b/socket/socketpair.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/sys/socket.h b/socket/sys/socket.h index 463cf32..e72f5e7 100644 --- a/socket/sys/socket.h +++ b/socket/sys/socket.h @@ -1,5 +1,5 @@ /* Declarations of socket constants, types, and functions. - Copyright (C) 1991-2024 Free Software Foundation, Inc. + Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/sys/un.h b/socket/sys/un.h index ff9cbd6..85a97a8 100644 --- a/socket/sys/un.h +++ b/socket/sys/un.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2024 Free Software Foundation, Inc. +/* Copyright (C) 1991-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/tst-accept4.c b/socket/tst-accept4.c index 84f00e2..804b725 100644 --- a/socket/tst-accept4.c +++ b/socket/tst-accept4.c @@ -1,5 +1,5 @@ /* Test the accept4 function with differing flags arguments. - Copyright (C) 2017-2024 Free Software Foundation, Inc. + Copyright (C) 2017-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/tst-cmsg_cloexec.c b/socket/tst-cmsg_cloexec.c index 0ac421b..68ad90f 100644 --- a/socket/tst-cmsg_cloexec.c +++ b/socket/tst-cmsg_cloexec.c @@ -1,5 +1,5 @@ /* Smoke test for MSG_CMSG_CLOEXEC. - Copyright (C) 2021-2024 Free Software Foundation, Inc. + Copyright (C) 2021-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/tst-cmsghdr-skeleton.c b/socket/tst-cmsghdr-skeleton.c index 1d51827..9ad2d59 100644 --- a/socket/tst-cmsghdr-skeleton.c +++ b/socket/tst-cmsghdr-skeleton.c @@ -1,5 +1,5 @@ /* Test ancillary data header creation. - Copyright (C) 2022-2024 Free Software Foundation, Inc. + Copyright (C) 2022-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -56,7 +56,7 @@ RUN_TEST_FUNCNAME (CMSG_NXTHDR_IMPL) (void) /* The first header leaves just enough space to hold another header. */ cmsg = CMSG_FIRSTHDR (&m); TEST_VERIFY_EXIT ((char *) cmsg == cmsgbuf); - cmsg->cmsg_len = sizeof (cmsgbuf) - sizeof (struct cmsghdr); + cmsg->cmsg_len = sizeof (cmsgbuf) - CMSG_ALIGN (sizeof (struct cmsghdr)); cmsg = CMSG_NXTHDR_IMPL (&m, cmsg); TEST_VERIFY_EXIT (cmsg != NULL); @@ -75,7 +75,7 @@ RUN_TEST_FUNCNAME (CMSG_NXTHDR_IMPL) (void) TEST_VERIFY_EXIT (cmsg != NULL); cmsg->cmsg_len = sizeof (cmsgbuf) - CMSG_SPACE (sizeof (PAYLOAD)) /* First header. */ - - sizeof (struct cmsghdr); + - CMSG_ALIGN (sizeof (struct cmsghdr)); cmsg = CMSG_NXTHDR_IMPL (&m, cmsg); TEST_VERIFY_EXIT (cmsg != NULL); diff --git a/socket/tst-cmsghdr.c b/socket/tst-cmsghdr.c index 58f7f1b..5f9470a 100644 --- a/socket/tst-cmsghdr.c +++ b/socket/tst-cmsghdr.c @@ -1,5 +1,5 @@ /* Test ancillary data header creation. - Copyright (C) 2022-2024 Free Software Foundation, Inc. + Copyright (C) 2022-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/tst-connect.c b/socket/tst-connect.c index ec2fdd9..44c0049 100644 --- a/socket/tst-connect.c +++ b/socket/tst-connect.c @@ -1,5 +1,5 @@ /* Test the connect function. - Copyright (C) 2024 Free Software Foundation, Inc. + Copyright (C) 2024-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/tst-shutdown.c b/socket/tst-shutdown.c index a305e5e..879b596 100644 --- a/socket/tst-shutdown.c +++ b/socket/tst-shutdown.c @@ -1,5 +1,5 @@ /* Test the shutdown function. - Copyright (C) 2024 Free Software Foundation, Inc. + Copyright (C) 2024-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/tst-sockaddr_un_set.c b/socket/tst-sockaddr_un_set.c index de0ed35..f9ea270 100644 --- a/socket/tst-sockaddr_un_set.c +++ b/socket/tst-sockaddr_un_set.c @@ -1,5 +1,5 @@ /* Test the __sockaddr_un_set function. - Copyright (C) 2022-2024 Free Software Foundation, Inc. + Copyright (C) 2022-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/socket/tst-sockopt.c b/socket/tst-sockopt.c index b5d6df9..9cdf52a 100644 --- a/socket/tst-sockopt.c +++ b/socket/tst-sockopt.c @@ -1,5 +1,5 @@ /* Smoke test for socket options. - Copyright (C) 2021-2024 Free Software Foundation, Inc. + Copyright (C) 2021-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or |