The sigsuspend() system call suspends the caller until a signal is received. It is equivalent to
sigprocmask(SIG_SETMASK,&mask,NULL);pause();
The mask given as argument is used as the signal mask of the process during the period of suspension; upon return from the call it is restored to the previous value. While sigsuspend() is being executed, any signal may be accepted, except SIGKILL and SIGSTOP.
The sigsuspend() function shall not return if it is interrupted by a signal handler and the signal handler does not return.
This document was automatically generated by OpenAI and needs review. It might
not be accurate and might contain errors. The authors of Tracee recommend that
the user reads the "events.go" source file to understand the events and their
arguments better.