16 Commits (13165dfbe57b4211b610ffb77f194b4aea69e78e)
 

Author SHA1 Message Date
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 de56f67046
MappedFile::shared() is now unwind-safe.
2 years ago
Avril e96c2274c3
MappedFile: Added `try_new_buffer()`.
2 years ago
Avril ec26e0e9ed
Added basic (tx, rx) fd-overlap mapping with `MappedFile::try_new_buffer()`.
2 years ago
Avril 4f427e88e4
Started buffer: `(tx, rx)` memory buffer.
2 years ago
Avril eca5ac5350
Update README
2 years ago
Avril b4fa3bf215
Started `UnmanagedFD`.
2 years ago
Avril eb64632841
`MappedFile::new()`: changed `flags` to `impl MapFlags` to match `try_new()`
2 years ago
Avril aad400a458
Fixed build error on stable due to FFI namespace changes.
2 years ago
Avril 7e00ade351
hugetlb: Implemented `HugePage::compute_huge()`, `scan_hugepages()`, and a public lazy static `SYSTEM_HUGEPAGES`.
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 8795f0a1a2
Added `err` module: Wrapped OS errors; Ad-hoc inline definitions, and named definitions with pre-defined messages.
2 years ago
Avril d3cc7b45a5
Started `file` module: Will have file interfaces from `memfd`: `ManagedFD`, `UnmanagedFD`, and `MemoryFile`.
2 years ago
Avril 5ba18c9358
Added `MappedFile<T>` interface.
2 years ago
Avril be452a99ff
Added `UniqueSlice<T>`, `MappedSlice`.
2 years ago