diff --git a/kernel/ksud.c b/kernel/ksud.c index ad596d65..9f611c14 100644 --- a/kernel/ksud.c +++ b/kernel/ksud.c @@ -532,7 +532,7 @@ static int input_handle_event_handler_pre(struct kprobe *p, return ksu_handle_input_handle_event(type, code, value); } -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) +#if 1 static struct kprobe execve_kp = { .symbol_name = SYS_EXECVE_SYMBOL, .pre_handler = sys_execve_handler_pre, @@ -550,7 +550,7 @@ static struct kprobe execve_kp = { }; #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) +#if 1 static struct kprobe vfs_read_kp = { .symbol_name = SYS_READ_SYMBOL, .pre_handler = sys_read_handler_pre, diff --git a/kernel/sucompat.c b/kernel/sucompat.c index 8f48aa8a..f4809d67 100644 --- a/kernel/sucompat.c +++ b/kernel/sucompat.c @@ -241,7 +241,7 @@ static int sys_execve_handler_pre(struct kprobe *p, struct pt_regs *regs) return ksu_handle_execve_sucompat(AT_FDCWD, filename_user, NULL, NULL, NULL); } -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) +#if 1 static struct kprobe faccessat_kp = { .symbol_name = SYS_FACCESSAT_SYMBOL, .pre_handler = sys_faccessat_handler_pre, @@ -257,7 +257,7 @@ static struct kprobe faccessat_kp = { }; #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) +#if 1 static struct kprobe newfstatat_kp = { .symbol_name = SYS_NEWFSTATAT_SYMBOL, .pre_handler = sys_newfstatat_handler_pre, @@ -273,7 +273,7 @@ static struct kprobe newfstatat_kp = { }; #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) +#if 1 static struct kprobe execve_kp = { .symbol_name = SYS_EXECVE_SYMBOL, .pre_handler = sys_execve_handler_pre,