Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
syscall_helpers.c File Reference
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <stdio.h>
#include <errno.h>
Include dependency graph for syscall_helpers.c:

Macros

#define warn(...)   fprintf(stderr, __VA_ARGS__)
 
#define MAX(x, y)   (((x) > (y)) ? (x) : (y))
 

Functions

void init_syscall_names (void)
 
void free_syscall_names (void)
 
void syscall_name (unsigned n, char *buf, size_t size)
 
int list_syscalls (void)
 

Macro Definition Documentation

◆ MAX

#define MAX (   x,
 
)    (((x) > (y)) ? (x) : (y))

◆ warn

#define warn (   ...)    fprintf(stderr, __VA_ARGS__)

Function Documentation

◆ free_syscall_names()

void free_syscall_names ( void  )

◆ init_syscall_names()

void init_syscall_names ( void  )

◆ list_syscalls()

int list_syscalls ( void  )

◆ syscall_name()

void syscall_name ( unsigned  n,
char *  buf,
size_t  size 
)
Here is the caller graph for this function: