Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sigaltstack (nr 131)

Linux Signature

int sigaltstack(const stack_t *ss, stack_t *old_ss);

Description

Set and/or get the alternate signal stack.

Current Implementation

Stub: Returns 0 (success) unconditionally. No signal support is implemented. Rust’s standard library calls sigaltstack during runtime init to set up an alternate stack for signal handlers.

Source: osl/src/syscalls/mod.rs — inline stub in syscall_dispatch