mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Create more sockets with SOCK_CLOEXEC [BZ #15722]
This commit is contained in:
@ -383,6 +383,7 @@ rresvport_af (int *alport, sa_family_t family)
|
||||
__set_errno (EAFNOSUPPORT);
|
||||
return -1;
|
||||
}
|
||||
/* NB: No SOCK_CLOXEC for backwards compatibility. */
|
||||
s = __socket(family, SOCK_STREAM, 0);
|
||||
if (s < 0)
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user