bpo-38692: Add os.pidfd_open.#17063
Conversation
|
Thanks for working on this, Benjamin. |
Sorry, something went wrong.
|
How are you testing this? AFAICT it's not currently possible to run a pidfd-supporting kernel in any of the hosted CI services. (Except maybe via User-Mode Linux, which I've seriously considered, but it's non-trivial.) Has anyone checked whether we have a buildbot running a new enough kernel? Having some kind of CI coverage seems important. |
Sorry, something went wrong.
|
I'm running a 5.3 kernel locally. The lack of CI is indeed troubling, but I expect it to be a temporary situation on the order of months. The next Ubunu LTS 20.04 will presumably support pidfds. I'm hoping CI will be available before 3.9 is released. |
Sorry, something went wrong.
|
I checked AMD64 Fedora Rawhide 3.x buildbot: it runs Linux 5.4 (release 5.4.0-0.rc5.git0.1.fc32.x86_64). |
Sorry, something went wrong.
|
Sweet, sounds like we're all set then. |
Sorry, something went wrong.
|
Perfect, thanks ;-) |
Sorry, something went wrong.
|
Just a heads up: In Fedora, I am getting: When building Python 3.9.0a1. I'm still investigating as I can only get the problem in local chroot, but not in the remote build system. EDIT: The remote build system has an older kernel. |
Sorry, something went wrong.
|
Sounds like you're using some kind of buggy sandbox that's returning EPERM for unrecognized syscalls: https://bugs.python.org/issue38692#msg356235 |
Sorry, something went wrong.
https://bugs.python.org/issue38692