Christian Heimes added the comment: mlock() can prevent swapping but it may need extra capabilities. A working memset_s() removes critical information from core dumps at least.
If we don't want to add _Py_memset_s() then I'm going to remove the dysfunctional clearstate macro from my sha3 module. ---------- nosy: +gregory.p.smith _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com