diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-16 01:56:13 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-16 01:56:13 +0200 |
| commit | 04fa01992ad88ea8e9cd05e7cbb9f81087b23aff (patch) | |
| tree | 0c85508f5bbdbc2ee5f7853b8f74e4d14b0227b8 /types.bpf.h | |
| parent | 3abf5484394fa68a690c6388f63b09bcafd7974d (diff) | |
move some files to internal types
Diffstat (limited to 'types.bpf.h')
| -rw-r--r-- | types.bpf.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/types.bpf.h b/types.bpf.h deleted file mode 100644 index 57feaaa..0000000 --- a/types.bpf.h +++ /dev/null @@ -1,37 +0,0 @@ -//+build ignore - -// These types mirror the Go types from internal/types/types.go -// -#define MAX_FILENAME_LENGTH 256 -#define MAX_PROGNAME_LENGTH 16 - -#define OPENAT_ENTER_OP_ID 1 -#define OPENAT_EXIT_OP_ID 2 -#define CLOSE_ENTER_OP_ID 3 -#define CLOSE_EXIT_OP_ID 4 - -struct null_event { - __u32 op_id; - __u32 tid; - __u64 time; -}; - -struct fd_event { - __u32 op_id; - __u32 tid; - __u64 time; - __s32 fd; -}; - -struct openat_enter_event { - __u32 op_id; - __u32 tid; - __u64 time; - char filename[MAX_FILENAME_LENGTH]; - char comm[MAX_PROGNAME_LENGTH]; -}; - -struct flags { - __u32 uid_filter; -}; - |
