Linux的memfd_create接口
项目描述
pymemfd -- Python的memfd_create包装器
==========================================
此模块为新的memfd_create()系统调用
和新的文件密封fcntl()操作员提供Python包装。
低级接口
-------------------
memfd.memfd_create(name, flags) -> int
memfd.MFD_ALLOW_SEALING
memfd.MFD_CLOEXEC
memfd.F_ADD_SEALS
memfd.F_GET_SEALS
memfd.F_SEAL_SEAL
memfd.F_SEAL_GROW
memfd.F_SEAL_SHRINK
memfd.F_SEAL_WRITE
高级接口
---------------------
memfd.open(name, *, flags=MFD_CLOEXEC, mode='wb+', buffering=0, closefd=True,
**kwargs) -> io.FileIO
memfd.F_SEAL_ALL
memfd.MFD_ALLOW_SEALING_CLOEXEC
更多信息
----
http://man7.org/linux/man-pages/man2/memfd_create.2.html
https://dvdhrm.wordpress.com/tag/memfd/
==========================================
此模块为新的memfd_create()系统调用
和新的文件密封fcntl()操作员提供Python包装。
低级接口
-------------------
memfd.memfd_create(name, flags) -> int
memfd.MFD_ALLOW_SEALING
memfd.MFD_CLOEXEC
memfd.F_ADD_SEALS
memfd.F_GET_SEALS
memfd.F_SEAL_SEAL
memfd.F_SEAL_GROW
memfd.F_SEAL_SHRINK
memfd.F_SEAL_WRITE
高级接口
---------------------
memfd.open(name, *, flags=MFD_CLOEXEC, mode='wb+', buffering=0, closefd=True,
**kwargs) -> io.FileIO
memfd.F_SEAL_ALL
memfd.MFD_ALLOW_SEALING_CLOEXEC
更多信息
----
http://man7.org/linux/man-pages/man2/memfd_create.2.html
https://dvdhrm.wordpress.com/tag/memfd/