This website works better with JavaScript.
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.)
master
Avril
2024-06-06 21:09:58 +0100
5d4c9b57f7
Added `try_map_or_cloned()`: Map a file, or if that fails, map an in-memory copy of that file.
Avril
2023-03-10 21:14:26 +0000
08c93f2af0
MappedFile: Added generic into_inner(), inner_mut(), and inner() accessors.
Avril
2023-02-10 13:31:55 +0000
d74946934d
Added read+write test for `ManagedFD` & `MemoryFile`.
Avril
2023-02-10 11:35:50 +0000
71da5e610f
Added io::Read/Write impls for `ManagedFD` and `MemoryFile`.
Avril
2022-11-02 18:21:48 +0000
51c64b56b0
Made MappedFile<T> impl Send.
Avril
2022-10-23 05:49:18 +0100
6b5c791880
Added fd-aliasing for Un/ManagedFD
Avril
2022-10-23 05:34:17 +0100
0a146fb14a
Added doc-comment for `hugetlb::HugePage`
Avril
2022-10-21 02:24:33 +0100
13165dfbe5
Added basic creation methods for `MemoryFile` (and `NamedMemoryFile`.)
Avril
2022-10-20 18:58:18 +0100
c1f1d00af2
Added `{As,From,Into}RawFd` impls for ManagedFD and MemoryFile.
Avril
2022-10-19 07:53:44 +0100
de56f67046
MappedFile::shared() is now unwind-safe.
Avril
2022-10-17 21:56:03 +0100
e96c2274c3
MappedFile: Added `try_new_buffer()`.
Avril
2022-10-17 18:46:35 +0100
ec26e0e9ed
Added basic (tx, rx) fd-overlap mapping with `MappedFile::try_new_buffer()`.
Avril
2022-10-17 05:23:53 +0100
4f427e88e4
Started buffer: `(tx, rx)` memory buffer.
Avril
2022-10-16 19:50:08 +0100
eca5ac5350
Update README
Avril
2022-10-01 21:21:02 +0100
b4fa3bf215
Started `UnmanagedFD`.
Avril
2022-10-01 21:16:24 +0100
eb64632841
`MappedFile::new()`: changed `flags` to `impl MapFlags` to match `try_new()`
Avril
2022-09-12 02:59:47 +0100
aad400a458
Fixed build error on stable due to FFI namespace changes.
Avril
2022-09-12 02:53:01 +0100
7e00ade351
hugetlb: Implemented `HugePage::compute_huge()`, `scan_hugepages()`, and a public lazy static `SYSTEM_HUGEPAGES`.
Avril
2022-09-12 02:43:08 +0100
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.
Avril
2022-09-05 19:17:29 +0100
8795f0a1a2
Added `err` module: Wrapped OS errors; Ad-hoc inline definitions, and named definitions with pre-defined messages.
Avril
2022-09-03 14:22:32 +0100
d3cc7b45a5
Started `file` module: Will have file interfaces from `memfd`: `ManagedFD`, `UnmanagedFD`, and `MemoryFile`.
Avril
2022-09-03 11:39:43 +0100
5ba18c9358
Added `MappedFile<T>` interface.
Avril
2022-09-02 20:54:13 +0100
be452a99ff
Added `UniqueSlice<T>`, `MappedSlice`.
Avril
2022-09-01 22:07:37 +0100