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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user