4#include <clues/SystemCall.hxx>
5#include <clues/items/items.hxx>
6#include <clues/items/limits.hxx>
7#include <clues/items/process.hxx>
8#include <clues/sysnrs/generic.hxx>
12struct CLUES_API UnknownSystemCall :
16 result{
"result",
""} {
26template <SystemCallNr LIMIT_SYS_NR>
27struct CLUES_API LimitSystemCallT :
32 limit{LIMIT_SYS_NR == SystemCallNr::GETRLIMIT ?
35 setParameters(type, limit);
46struct CLUES_API Prlimit64SystemCall :
49 Prlimit64SystemCall() :
55 setParameters(pid, type, limit, old_limit);
65struct CLUES_API RestartSystemCall :
76struct CLUES_API ExitGroupSystemCall :
79 ExitGroupSystemCall() :
83 setParameters(status);
void setReturnItem(SystemCallItem &ret)
Sets the return value system call item.
SystemCall(const SystemCallNr nr)
Instantiates a new SystemCall object with given properties.
A resource kind specification as used in getrlimit & friends.
Base class for a system call return values.
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.
SystemCallNr
Abstract system call number usable across architectures and ABIs.
Item used together with UnknownSystemCall.