Skip to content
Snippets Groups Projects

feat(mremap): add `KEEP_OLD` flag

Merged Anhad Singh requested to merge andypython/syscall:master into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -311,6 +311,9 @@ bitflags! {
pub struct MremapFlags: usize {
const FIXED = 1;
const FIXED_REPLACE = 3;
/// Alias's memory region at `old_address` to `new_address` such that both regions share
/// the same frames.
const KEEP_OLD = 1 << 2;
// TODO: MAYMOVE, DONTUNMAP
}
}
Loading