9 Commits (8fcd1929a434b093b001cf767b3b1644bec7df8b)

Author SHA1 Message Date
Avril 8fcd1929a4
Added default feature `default-cloexec`: If this feature is set, file-descriptors will be created with the close-on-exec flag (`MFD_CLOEXEC` for memfds, `FD_CLOEXEC` for other pseudofiles and `O_CLOEXEC` for `open()` calls.)
6 months ago
Avril 71da5e610f
Added io::Read/Write impls for `ManagedFD` and `MemoryFile`.
2 years ago
Avril 6b5c791880
Added fd-aliasing for Un/ManagedFD
2 years ago
Avril 0a146fb14a
Added doc-comment for `hugetlb::HugePage`
2 years ago
Avril 13165dfbe5
Added basic creation methods for `MemoryFile` (and `NamedMemoryFile`.)
2 years ago
Avril c1f1d00af2
Added `{As,From,Into}RawFd` impls for ManagedFD and MemoryFile.
2 years ago
Avril b4fa3bf215
Started `UnmanagedFD`.
2 years ago
Avril 92fe0166de
Started adding huge-page support in for `MappedFile<T>` and `file::memory::MemoryFile`. Also added huge-page support to `MappedFile<T>` via the `MapFlags` trait, which can also be used to add user-provided flags.
2 years ago
Avril d3cc7b45a5
Started `file` module: Will have file interfaces from `memfd`: `ManagedFD`, `UnmanagedFD`, and `MemoryFile`.
2 years ago