4#include <clues/items/signal.hxx>
5#include <clues/items/process.hxx>
6#include <clues/sysnrs/generic.hxx>
7#include <clues/SystemCall.hxx>
11struct CLUES_API AlarmSystemCall :
17 old_seconds{
"old_seconds",
"remaining seconds from previous timer",
ItemType::RETVAL} {
19 setParameters(seconds);
22 item::UintValue seconds;
23 item::UintValue old_seconds;
27struct CLUES_API SigActionSystemCall :
30 explicit SigActionSystemCall(
const SystemCallNr nr = SystemCallNr::SIGACTION) :
34 setParameters(signum, action, old_action);
47struct CLUES_API RtSigActionSystemCall :
48 public SigActionSystemCall {
50 explicit RtSigActionSystemCall() :
51 SigActionSystemCall{SystemCallNr::RT_SIGACTION},
66struct CLUES_API SigProcMaskSystemCall :
69 explicit SigProcMaskSystemCall(
const SystemCallNr nr = SystemCallNr::SIGPROCMASK) :
74 setParameters(operation, new_mask, old_mask);
87struct CLUES_API RtSigProcMaskSystemCall :
88 public SigProcMaskSystemCall {
90 explicit RtSigProcMaskSystemCall() :
91 SigProcMaskSystemCall{SystemCallNr::RT_SIGPROCMASK},
100struct CLUES_API TgKillSystemCall :
108 setParameters(thread_group, thread_id, signum);
void setReturnItem(SystemCallItem &ret)
Sets the return value system call item.
SystemCall(const SystemCallNr nr)
Instantiates a new SystemCall object with given properties.
The struct sigaction used in various signal related system calls.
The operation to performed on a signal set.
A set of POSIX signals for setting or masking in the context of various system calls.
A signal number specification.
An always-success return value.
@ PARAM_OUT
An output parameter filled by in by the system call.
@ PARAM_IN
An input parameter to the system call.
@ RETVAL
A system call return value.
SystemCallNr
Abstract system call number usable across architectures and ABIs.
item::SizeValue sigset_size
Provides sizeof(sigset_t) as found in the sigaction struct.
item::SizeValue sigset_size
size of sigset_t, fixed to "8".