shadow_shim_helper_rs::shim_shmem::export

Function shimshmem_setSigAltStack

source
#[no_mangle]
pub unsafe extern "C-unwind" fn shimshmem_setSigAltStack(
    lock: *const ShimShmemHostLock,
    thread: *const ShimShmemThread,
    stack: linux_stack_t,
)
Expand description

Set the signal stack as set by sigaltstack(2).

ยงSafety

Pointer args must be safely dereferenceable.