4#include <cosmos/types.hxx>
7#include <clues/SystemCallItem.hxx>
11class CLUES_API UserID :
16 const std::string_view short_name =
"uid",
17 const std::string_view long_name =
"user id") :
33 cosmos::UserID m_uid = cosmos::UserID::INVALID;
36class CLUES_API GroupID :
41 const std::string_view short_name =
"gid",
42 const std::string_view long_name =
"group id") :
58 cosmos::GroupID m_gid = cosmos::GroupID::INVALID;
OTHER valueAs() const
Helper to cast the strongly typed Word m_val to other strong enum types.
SystemCallItem(const ItemType type, const std::string_view short_name={}, const std::string_view long_name={})
Constructs a new SystemCallItem.
Base class for traced processes.
void processValue(const Tracee &) override
Processes the value stored in m_val acc. to the actual item type.
void processValue(const Tracee &) override
Processes the value stored in m_val acc. to the actual item type.
ItemType
Basic type of a SystemCallItem.
@ RETVAL
A system call return value.