Linux Assemblycollection of fast libraries

Signal system calls

Signals are software interrupts that provide a mechanism for handling asynchronous events. These events can originate from outside the system - such as when the user generates the interrupt character (usually via Ctrl-C) - or from activities within the program or kernel, such as when the process executes code that divides by zero. As a primitive form of interprocess communication (IPC), one process can also send a signal to another process.

Contents

Tip: For detailed information about each system call please read: Linux man pages

Standard signals

SyscallNumberDescription
KILL62Send signal to a process
TKILL200Send a signal to a thread
TGKILL234Send a signal to a thread
PAUSE34Wait for a signal

Real-time signals

SyscallNumberDescription
RT_SIGACTION13Examine and change a signal action
RT_SIGPROCMASK14Examine and change blocked signals
RT_SIGPENDING127Examine pending signals
RT_SIGQUEUEINFO129Queue a signal and data
RT_TGSIGQUEUEINFO297Queue a signal and data
RT_SIGTIMEDWAIT128Synchronously wait for queued signals
RT_SIGSUSPEND130Wait for a signal
RT_SIGRETURN15Return from signal handler and cleanup stack frame
SIGALTSTACK131Set and/or get signal stack context

File descriptor based signals

SyscallNumberDescription
SIGNALFD282Create a file descriptor for accepting signals
SIGNALFD4289Create a file descriptor for accepting signals
EVENTFD284Create a file descriptor for event notification
EVENTFD2290Create a file descriptor for event notification

Miscellaneous

SyscallNumberDescription
RESTART_SYSCALL219Restart a system call after interruption by a stop signal
Copyright 2012-2018 Jack Black. All rights reserved.