fix: fix 5.0- users can't build (#551)

my mistake, forget old kernel's access_ok has 3 params,
so i switch to ksu_access_ok
This commit is contained in:
AlexLiuDev233
2025-11-08 21:33:21 +08:00
committed by GitHub
parent 2f1b967813
commit 22661c1838
3 changed files with 17 additions and 13 deletions

View File

@@ -11,7 +11,7 @@ struct ksu_kpm_cmd {
__aligned_u64 __user result_code;
};
int sukisu_handle_kpm(unsigned long control_code, unsigned long arg3, unsigned long arg4, unsigned long result_code);
int sukisu_handle_kpm(unsigned long control_code, unsigned long arg1, unsigned long arg2, unsigned long result_code);
int sukisu_is_kpm_control_code(unsigned long control_code);
int do_kpm(void __user *arg);