forked from falcosecurity/libs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdynamic_params_table.c
More file actions
28 lines (21 loc) · 888 Bytes
/
dynamic_params_table.c
File metadata and controls
28 lines (21 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
Copyright (C) 2021 The Falco Authors.
This file is dual licensed under either the MIT or GPL 2. See MIT.txt
or GPL2.txt for full copies of the license.
*/
#include "ppm_events_public.h"
const struct ppm_param_info sockopt_dynamic_param[PPM_SOCKOPT_IDX_MAX] = {
[PPM_SOCKOPT_IDX_UNKNOWN] = {{0}, PT_BYTEBUF, PF_HEX},
[PPM_SOCKOPT_IDX_ERRNO] = {{0}, PT_ERRNO, PF_DEC},
[PPM_SOCKOPT_IDX_UINT32] = {{0}, PT_UINT32, PF_DEC},
[PPM_SOCKOPT_IDX_UINT64] = {{0}, PT_UINT64, PF_DEC},
[PPM_SOCKOPT_IDX_TIMEVAL] = {{0}, PT_RELTIME, PF_DEC},
};
const struct ppm_param_info ptrace_dynamic_param[PPM_PTRACE_IDX_MAX] = {
[PPM_PTRACE_IDX_UINT64] = {{0}, PT_UINT64, PF_HEX},
[PPM_PTRACE_IDX_SIGTYPE] = {{0}, PT_SIGTYPE, PF_DEC},
};
const struct ppm_param_info bpf_dynamic_param[PPM_BPF_IDX_MAX] = {
[PPM_BPF_IDX_FD] = {{0}, PT_FD, PF_DEC},
[PPM_BPF_IDX_RES] = {{0}, PT_ERRNO, PF_DEC},
};