cpython/Lib/multiprocessing
Miss Islington (bot) b43496c01a
[3.9] gh-97514: Don't use Linux abstract sockets for multiprocessing (GH-98501) (#98504)
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.
(cherry picked from commit 49f61068f4)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2022-10-28 12:08:30 +02:00
..
dummy
__init__.py
connection.py [3.9] gh-97514: Don't use Linux abstract sockets for multiprocessing (GH-98501) (#98504) 2022-10-28 12:08:30 +02:00
context.py bpo-39244: multiprocessing return default start method first on macOS (GH-18625) 2020-05-26 08:13:33 -07: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-91231: multiprocessing BaseManager waits 1.0 second (GH-91701) 2022-04-19 08:29:57 -07:00
pool.py bpo-40443: Remove unused imports in stdlib (GH-19815) 2020-05-01 02:38:00 +02:00
popen_fork.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
popen_forkserver.py
popen_spawn_posix.py
popen_spawn_win32.py
process.py bpo-35727: Use exit code 0 on sys.exit() in multiprocessing.Process. (GH-11538) 2020-02-21 10:33:04 +01:00
queues.py bpo-47029: Fix BrokenPipeError in multiprocessing.Queue at garbage collection and explicit close (GH-31913) 2022-05-03 17:18:20 -07:00
reduction.py
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 bpo-38546: multiprocessing tests stop the resource tracker (GH-17641) 2019-12-17 18:37:26 +01:00
shared_memory.py bpo-41344: Raise ValueError when creating shared memory of size 0 (GH-21556) (GH-22018) 2020-08-30 20:42:22 +01:00
sharedctypes.py
spawn.py bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158) 2020-01-28 21:34:23 +11:00
synchronize.py Fix typo in message from assert statement (GH-21283) 2020-09-04 15:55:05 -07:00
util.py Fix missing f prefix on f-strings (GH-91910) 2022-04-27 00:01:11 -07:00