nc 0.9.7

Access system calls directly
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Seals the VM's metadata from selected syscalls.
///
/// - addr/len: VM address range.
pub unsafe fn mseal(
    start: *const core::ffi::c_void,
    len: size_t,
    flags: usize,
) -> Result<(), Errno> {
    let start = start as usize;
    syscall3(SYS_MSEAL, start, len, flags).map(drop)
}