diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2022-09-02 11:38:20 +0000 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2022-09-02 11:39:08 +0000 |
commit | c7c7bbcfc762d73a50d3cb2ad6f277dad7bb9a6b (patch) | |
tree | ecc034b178f6a9d3f89fab6ccec45e9bd018aff2 /HISTORY.rst | |
parent | d2fab7c8de16b6ffbfb0faa3e832845bc1ef0df0 (diff) | |
download | psutil-c7c7bbcfc762d73a50d3cb2ad6f277dad7bb9a6b.tar.gz |
FreeBSD / pids(): increase buf size if not enough
...dynamically, in case of ENOMEM, instead of crashing.
Fixes #2093.
Diffstat (limited to 'HISTORY.rst')
-rw-r--r-- | HISTORY.rst | 4 |
1 files changed, 3 insertions, 1 deletions
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 |