forked from bminor/glibc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assume that SOCK_CLOEXEC is available and works
This fixes (harmless) data races when accessing the various __have_sock_cloexec variables.
- Loading branch information
1 parent
f546f87
commit 52fb79d
Showing
11 changed files
with
33 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
2015-10-17 Florian Weimer <[email protected]> | ||
|
||
* sysdeps/unix/sysv/linux/kernel-features.h | ||
(__ASSUME_SOCK_CLOEXEC): Remove. | ||
* include/sys/socket.h (__have_sock_cloexec): Remove declaration. | ||
(__have_paccept): Remove unused macro. | ||
* include/unistd.h (__have_sock_cloexec): Remove declaration. | ||
* misc/syslog.c (openlog_internal): Remove fallback code for | ||
!__ASSUME_SOCK_CLOEXEC. | ||
* nis/ypclnt.c (yp_bind_client_create): Remove fallback code for | ||
missing SOCK_CLOEXEC. | ||
* nscd/connections.c (have_sock_cloexec): Remove definition. | ||
(nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC. | ||
* nscd/nscd_helper.c (open_socket): Remove fallback code for | ||
!__ASSUME_SOCK_CLOEXEC. | ||
* resolv/res_send.c (__have_o_nonblock): Remove definition. | ||
(reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC. | ||
* socket/have_sock_cloexec.c (__have_sock_cloexec): Remove | ||
definition. | ||
* sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback | ||
code for !__ASSUME_SOCK_CLOEXEC. | ||
|
||
2015-10-17 Florian Weimer <[email protected]> | ||
|
||
[BZ #18982] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters