Skip to content

Commit

Permalink
bpf: add module.h
Browse files Browse the repository at this point in the history
Signed-off-by: Djalal Harouni <[email protected]>
  • Loading branch information
tixxdz committed Aug 26, 2023
1 parent 308dcd9 commit dac039d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bpf/process/types/module.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright Authors of Tetragon */

#ifndef __LINUX_MODULE_H__
#define __LINUX_MODULE_H__

#ifndef TG_MODULE_NAME_LEN
#define TG_MODULE_NAME_LEN 32
#endif

struct tg_load_module {
char name[TG_MODULE_NAME_LEN];
u32 sig_ok;
};

#endif

0 comments on commit dac039d

Please sign in to comment.