cpython/Lib/multiprocessing
Gregory P. Smith 49f61068f4
gh-97514: Don't use Linux abstract sockets for multiprocessing (#98501)
Linux abstract sockets are insecure as they lack any form of filesystem
permissions so their use allows anyone on the system to inject code into
the process.

This removes the default preference for abstract sockets in
multiprocessing introduced in Python 3.9+ via
https://github.com/python/cpython/pull/18866 while fixing
https://github.com/python/cpython/issues/84031.

Explicit use of an abstract socket by a user now generates a
RuntimeWarning.  If we choose to keep this warning, it should be
backported to the 3.7 and 3.8 branches.
2022-10-20 15:30:09 -07:00
..
dummy bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
__init__.py
connection.py gh-97514: Don't use Linux abstract sockets for multiprocessing (#98501) 2022-10-20 15:30:09 -07:00
context.py gh-90549: Fix leak of global named resources using multiprocessing spawn (#30617) 2022-06-09 18:55:12 +02:00
forkserver.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
heap.py
managers.py gh-97816: Remove unused variables in `mutliprocessing.managers.Server` (#97817) 2022-10-03 22:29:17 -07:00
pool.py GH-83658: make multiprocessing.Pool raise an exception if maxtasksperchild is not None or a positive int (GH-93364) 2022-06-17 00:14:26 -07:00
popen_fork.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
popen_forkserver.py bpo-36888: Add multiprocessing.parent_process() (GH-13247) 2019-05-20 21:37:05 +02:00
popen_spawn_posix.py bpo-36888: Add multiprocessing.parent_process() (GH-13247) 2019-05-20 21:37:05 +02:00
popen_spawn_win32.py gh-98360: multiprocessing now spawns children on Windows with correct argv[0] in virtual environments (GH-98462) 2022-10-20 14:53:38 +01:00
process.py gh-90549: Fix leak of global named resources using multiprocessing spawn (#30617) 2022-06-09 18:55:12 +02:00
queues.py bpo-47029: Fix BrokenPipeError in multiprocessing.Queue at garbage collection and explicit close (#31913) 2022-05-03 17:49:57 -06:00
reduction.py bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613) 2018-09-28 02:51:05 -07:00
resource_sharer.py bpo-40221: Update multiprocessing to use _at_fork_reinit (GH-19511) 2020-04-15 01:35:36 +09:00
resource_tracker.py gh-96819: multiprocessing.resource_tracker: check if length of pipe write <= 512 (#96890) 2022-10-02 17:41:01 -07:00
shared_memory.py gh-91577: SharedMemory move imports out of methods (#91579) 2022-06-16 15:41:51 +02:00
sharedctypes.py
spawn.py bpo-46720: Add support for path-like objects to multiprocessing.set_executable for Windows (GH-31279) 2022-04-22 15:47:09 -07:00
synchronize.py bpo-25066: Added repr for multiprocessing.Event (GH-29749) 2021-12-09 13:16:45 +00:00
util.py gh-82616: Add process_group support to subprocess.Popen (#23930) 2022-05-05 16:22:32 -07:00