Uh oh!
There was an error while loading. Please reload this page.
bpo-26836: Add os.memfd_create() - #13567
Conversation
tiran
left a comment
There was a problem hiding this comment.
Good work! 👍
Please modify the patch to use the glibc wrapper instead of the syscall interface and to use MFD_CLOEXEC as default value for the new FD. Feel free to use bits and pieces from my pending PR master...tiran:bpo-26836-memfd-seal (Co-authored-by appreciated).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
May 25, 2019
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
ZackerySpytz
commented
May 26, 2019
Thank you, @tiran, for the comments. I will address them soon. |
Co-Authored-By: Christian Heimes <christian@python.org>
ZackerySpytz
commented
May 28, 2019
There were some issues with I have made the requested changes; please review again. |
bedevere-bot
commented
May 28, 2019
Thanks for making the requested changes! @tiran: please review the changes made to this pull request. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot
commented
May 29, 2019
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
ZackerySpytz
commented
May 29, 2019
I have made the requested changes; please review again. |
bedevere-bot
commented
May 29, 2019
Thanks for making the requested changes! @tiran: please review the changes made to this pull request. |
bedevere-bot
commented
May 29, 2019
@tiran: Please replace |
tiran
commented
May 29, 2019
Argh, I wanted to edit the commit message, too. Thanks for your hard work. Is there a PR for sealing, too? |
bedevere-bot
commented
May 29, 2019
|
tiran
commented
May 29, 2019
@ZackerySpytz Please see buildbot logs. It looks like some HUGE TABLE constants are not defined on all platforms. You may have to ifdef them all :( |
ZackerySpytz
commented
May 29, 2019
@tiran Okay, I'll take a look. |
* bpo-26836: Add os.memfd_create() * Use the glibc wrapper for memfd_create() Co-Authored-By: Christian Heimes <christian@python.org> * Fix deletions caused by autoreconf. * Use MFD_CLOEXEC as the default value for *flags*. * Add memset_s to configure.ac. * Revert memset_s changes. * Apply the requested changes. * Tweak the docs.
https://bugs.python.org/issue26836