Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
myseccomp.cpp File Reference
#include "eunomia/myseccomp.h"
#include "spdlog/spdlog.h"
Include dependency graph for myseccomp.cpp:

Functions

bool is_not_allow (const std::vector< uint32_t > &syscall_vec, uint32_t id)
 if a system call is not in the list, it will be allowed More...
 
int get_syscall_id (std::string syscall_name)
 
int enable_seccomp_white_list (const seccomp_config &config)
 Enable Seccomp syscall. More...
 

Function Documentation

◆ enable_seccomp_white_list()

int enable_seccomp_white_list ( const seccomp_config config)

Enable Seccomp syscall.

param seccomp_config type is defined by include/eunomia/config.h

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_syscall_id()

int get_syscall_id ( std::string  syscall_name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_not_allow()

bool is_not_allow ( const std::vector< uint32_t > &  syscall_vec,
uint32_t  id 
)

if a system call is not in the list, it will be allowed