Skip to main content

memfd_create interface for Linux

Project description

pymemfd -- memfd_create wrapper for Python
==========================================

This modules provides a Python wrapper for the new memfd_create() syscall
and the new file-sealing fcntl() operators.

Low level interface
-------------------

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


High level interfaces
---------------------

memfd.open(name, *, flags=MFD_CLOEXEC, mode='wb+', buffering=0, closefd=True,
**kwargs) -> io.FileIO

memfd.F_SEAL_ALL

memfd.MFD_ALLOW_SEALING_CLOEXEC

More
----

http://man7.org/linux/man-pages/man2/memfd_create.2.html

https://dvdhrm.wordpress.com/tag/memfd/

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymemfd-0.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file pymemfd-0.1.tar.gz.

File metadata

  • Download URL: pymemfd-0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymemfd-0.1.tar.gz
Algorithm Hash digest
SHA256 e754c0ffc036e0eb2e07feabe2687487afde52b960522aa011ab99848e554d9c
MD5 4bc3211480a6a744f68194e0d82b39eb
BLAKE2b-256 9398927c4c8ea2a39191af16631756cfd84a401d6fe7bdb7414b5c8c2943e3e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page