From c7c7bbcfc762d73a50d3cb2ad6f277dad7bb9a6b Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Fri, 2 Sep 2022 11:38:20 +0000 Subject: FreeBSD / pids(): increase buf size if not enough ...dynamically, in case of ENOMEM, instead of crashing. Fixes #2093. --- HISTORY.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'HISTORY.rst') diff --git a/HISTORY.rst b/HISTORY.rst index 7c99a4f6..9bb7d572 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -31,7 +31,9 @@ ``min`` and ``max`` are in MHz. - 2050_, [Linux]: `virtual_memory()`_ may raise ``ValueError`` if running in a LCX container. -- 2095_, [Linux]: `net_if_stats()` returns incorrect interface speed for 100GbE +- 2093_, [FreeBSD]: `psutil.pids()` may fail with ENOMEM. Dynamically increase + the ``malloc()`` buffer size until it's big enough. +- 2095_, [Linux]: `net_if_stats()` returns incorrect interface speed for 100GbE network cards 5.9.0 -- cgit v1.2.1