PEP 446: fix typo
Mention also Mac OS 10.8 for the O_CLOEXEC flag (it was already mentionned in the summary table).
This commit is contained in:
parent
2dd26998ec
commit
2f67e7cc67
|
@ -19,7 +19,7 @@ issues and is a known major security vulnerability. Using the
|
|||
not possible in some cases, and has poor performances on some platforms.
|
||||
|
||||
This PEP proposes to make all file descriptors created by Python
|
||||
non-inheritable by default to reduces the risk of these issues. This PEP
|
||||
non-inheritable by default to reduce the risk of these issues. This PEP
|
||||
fixes also a race condition in multithreaded applications on operating
|
||||
systems supporting atomic flags to create non-inheritable file
|
||||
descriptors.
|
||||
|
@ -247,8 +247,8 @@ version (ex: Windows XP SP3), ``WSASocket()`` fails with
|
|||
On UNIX, new flags were added for files and sockets:
|
||||
|
||||
* ``O_CLOEXEC``: available on Linux (2.6.23), FreeBSD (8.3),
|
||||
OpenBSD 5.0, Solaris 11, QNX, BeOS, next NetBSD release (6.1?).
|
||||
This flag is part of POSIX.1-2008.
|
||||
Mac OS 10.8, OpenBSD 5.0, Solaris 11, QNX, BeOS, next NetBSD release
|
||||
(6.1?). This flag is part of POSIX.1-2008.
|
||||
* ``SOCK_CLOEXEC`` flag for ``socket()`` and ``socketpair()``,
|
||||
available on Linux 2.6.27, OpenBSD 5.2, NetBSD 6.0.
|
||||
* ``fcntl()``: ``F_DUPFD_CLOEXEC`` flag, available on Linux 2.6.24,
|
||||
|
|
Loading…
Reference in New Issue