diff --git a/kernel/kpm/super_access.c b/kernel/kpm/super_access.c index 8f2791ca..41a71a52 100644 --- a/kernel/kpm/super_access.c +++ b/kernel/kpm/super_access.c @@ -80,6 +80,7 @@ struct DynamicStructInfo { #define KERNEL_VERSION_4_14 KERNEL_VERSION(4, 14, 0) + #include <../fs/mount.h> #include @@ -125,6 +126,7 @@ DYNAMIC_STRUCT_BEGIN(kprobe) #if LINUX_VERSION_CODE < KERNEL_VERSION_5_10 DEFINE_MEMBER(kprobe, break_handler) #endif + DEFINE_MEMBER(kprobe, flags) DYNAMIC_STRUCT_END(kprobe) #endif