diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2021-10-05 19:05:14 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2021-10-05 19:05:14 +0200 |
commit | b3a1f04d2b96482d5c5812cf1f0957edc384050c (patch) | |
tree | 9f1f71716fc5b442a91c9ebcea6ba94c62484eec | |
parent | 970755bd3f8ac52b0a7dd66ea62d0f6bc3fa9114 (diff) | |
download | psutil-osx-list-fds-refact.tar.gz |
update HISTORY for #1901 / #1903osx-list-fds-refact
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
-rw-r--r-- | HISTORY.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index 55c6b2b9..a8284ad2 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -24,6 +24,11 @@ XXXX-XX-XX where it first finds one - 1874_: [Solaris] swap output error due to incorrect range. - 1892_: [macOS] psutil.cpu_freq() broken on Apple M1. +- 1901_: [macOS] different functions, especially process' open_files() and + connections() methods, could randomly raise AccessDenied because the internal + buffer of `proc_pidinfo(PROC_PIDLISTFDS)` syscall was not big enough. We now + dynamically increase the buffer size until it's big enough instead of giving + up and raising AccessDenied, which was a fallback to avoid crashing. - 1904_: [Windows] OpenProcess fails with ERROR_SUCCESS due to GetLastError() called after sprintf(). (patch by alxchk) - 1913_: [Linux] wait_procs seemingly ignoring timeout, TimeoutExpired thrown |