Remove conditional compilation for kernel version 4.14 in super_access.c to simplify kprobe structure definition
This commit is contained in:
@@ -114,9 +114,6 @@ DYNAMIC_STRUCT_BEGIN(kprobe)
|
||||
DEFINE_MEMBER(kprobe, post_handler)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION_5_15
|
||||
DEFINE_MEMBER(kprobe, fault_handler)
|
||||
#endif
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION_4_14
|
||||
DEFINE_MEMBER(kprobe, break_handler)
|
||||
#endif
|
||||
DEFINE_MEMBER(kprobe, flags)
|
||||
DYNAMIC_STRUCT_END(kprobe)
|
||||
|
||||
Reference in New Issue
Block a user