Module syscalls

Module syscalls 

Source

Re-exports§

pub use super::signal_handling::sys_restart_syscall;

Structs§

WaitingOptions
The generic options for both waitid and wait4.

Functions§

read_siginfo
Reads a siginfo_t structure from the given userspace address.
sys_kill
The kill syscall can be used to send any signal to any process group or process.
sys_pidfd_send_signal
The pidfd_send_signal syscall sends a signal to a process specified by a PID file descriptor.
sys_rt_sigaction
The rt_sigaction syscall allows the calling process to examine and change the action associated with a specific signal.
sys_rt_sigpending
The rt_sigpending syscall returns the set of signals that are pending for delivery to the calling thread.
sys_rt_sigprocmask
The rt_sigprocmask syscall is used to fetch and/or change the signal mask of the calling thread.
sys_rt_sigqueueinfo
The rt_sigqueueinfo syscall sends a signal with a payload to a process.
sys_rt_sigreturn
The rt_sigreturn syscall returns from a signal handler and restores the process’s context.
sys_rt_sigsuspend
The rt_sigsuspend syscall temporarily replaces the signal mask of the calling thread with the mask given by user_mask and then suspends the thread until delivery of a signal whose action is to invoke a signal handler or to terminate a process.
sys_rt_sigtimedwait
The rt_sigtimedwait syscall waits for one of the signals in set_addr to become pending for the calling thread. The call will block until a signal is pending or the timeout expires.
sys_rt_tgsigqueueinfo
The rt_tgsigqueueinfo syscall sends a signal with a payload to a specific thread.
sys_sigaltstack
The sigaltstack syscall allows a process to define an alternate signal stack.
sys_signalfd4
The signalfd4 syscall creates a file descriptor that can be used to accept signals targeted at the caller.
sys_tgkill
The tgkill syscall sends the signal unchecked_signal to the thread with thread ID tid in the thread group tgid.
sys_tkill
The tkill syscall sends the signal unchecked_signal to the thread with the thread ID tid.
sys_wait4
The wait4 syscall waits for a child process to change state.
sys_waitid
The waitid syscall waits for a child process to change state.

Type Aliases§

RUsagePtr