#include <linux/filter.h>
#include <linux/seccomp.h>
#include <malloc.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/prctl.h>
#include <time.h>
#include <unistd.h>
#include <string>
#include <vector>
#include "config.h"
#include "seccomp-bpf.h"
#include "syscall_helper.h"
Go to the source code of this file.
◆ _GNU_SOURCE
◆ enable_seccomp_white_list()
◆ get_syscall_id()
      
        
          | int get_syscall_id | ( | std::string | syscall_name | ) |  | 
      
 
 
◆ 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