9 Apr
2021
9 Apr
'21
9:41 a.m.
Bartosz Kwitniewski <zerg-bugs.python.org@uid0.pl> added the comment: It works as intended - pool of 5 processes is being reused with new data: - First, 5 processes are created as root, - in first run of check_permission they drop their privileges to user, - when they finish processing check_permission function, they are not killed, but provided with new path for processing, therefore they retain their lower privileges, - when maxtasksperchild=1 is used, processes are killed after single run of check_permission and recreated with root permissions. ---------- nosy: +zerg _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue38963> _______________________________________