Skip to content
API Documentation
BastionGuard™
bsc::netlink::ProcEvent Struct Reference

#include <ProcEventMonitor.hpp>

Public Types

enum class  Type {
  Unknown , Fork , Exec , Exit ,
  Uid , Gid , Sid , Comm ,
  Ptrace , CoreDump
}

Public Attributes

Type type {Type::Unknown}
std::uint32_t pid {0}
std::uint32_t tgid {0}
std::uint32_t parent_pid {0}
std::uint32_t parent_tgid {0}
std::uint32_t uid {0}
std::uint32_t gid {0}
std::int32_t exit_code {0}
std::uint32_t exit_signal {0}
std::string comm

Detailed Description

Definition at line 10 of file ProcEventMonitor.hpp.

Member Enumeration Documentation

◆ Type

enum class bsc::netlink::ProcEvent::Type
strong
Enumerator
Unknown 
Fork 
Exec 
Exit 
Uid 
Gid 
Sid 
Comm 
Ptrace 
CoreDump 

Definition at line 11 of file ProcEventMonitor.hpp.

11 {
12 Unknown,
13 Fork,
14 Exec,
15 Exit,
16 Uid,
17 Gid,
18 Sid,
19 Comm,
20 Ptrace,
21 CoreDump
22 };

Member Data Documentation

◆ comm

std::string bsc::netlink::ProcEvent::comm

Definition at line 33 of file ProcEventMonitor.hpp.

◆ exit_code

std::int32_t bsc::netlink::ProcEvent::exit_code {0}

Definition at line 31 of file ProcEventMonitor.hpp.

Referenced by bsc::service::DaemonService::handle_proc_event().

◆ exit_signal

std::uint32_t bsc::netlink::ProcEvent::exit_signal {0}

Definition at line 32 of file ProcEventMonitor.hpp.

◆ gid

std::uint32_t bsc::netlink::ProcEvent::gid {0}

Definition at line 30 of file ProcEventMonitor.hpp.

◆ parent_pid

std::uint32_t bsc::netlink::ProcEvent::parent_pid {0}

Definition at line 27 of file ProcEventMonitor.hpp.

Referenced by bsc::service::DaemonService::handle_proc_event().

◆ parent_tgid

std::uint32_t bsc::netlink::ProcEvent::parent_tgid {0}

Definition at line 28 of file ProcEventMonitor.hpp.

Referenced by bsc::service::DaemonService::handle_proc_event().

◆ pid

std::uint32_t bsc::netlink::ProcEvent::pid {0}

Definition at line 25 of file ProcEventMonitor.hpp.

Referenced by bsc::service::DaemonService::handle_proc_event().

◆ tgid

std::uint32_t bsc::netlink::ProcEvent::tgid {0}

Definition at line 26 of file ProcEventMonitor.hpp.

Referenced by bsc::service::DaemonService::handle_proc_event().

◆ type

Type bsc::netlink::ProcEvent::type {Type::Unknown}

Definition at line 24 of file ProcEventMonitor.hpp.

Referenced by bsc::service::DaemonService::handle_proc_event().

◆ uid

std::uint32_t bsc::netlink::ProcEvent::uid {0}

Definition at line 29 of file ProcEventMonitor.hpp.


The documentation for this struct was generated from the following file:
  • BastionGuard/thirdparty/bastionguard-secure-connection/daemon/include/bsc/netlink/ProcEventMonitor.hpp