You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am using kpm to hook syscall.
param[1] is a struct, how to get origin struct?
and need i copy from user like demo "compat_strncpy_from_user(buf, path, sizeof(buf));" ?
and how to copy from user?
here is my code, but not work (phone rebooted):
struct statfs *mystruct = (struct statfs *)syscall_argn(args, 1);
The text was updated successfully, but these errors were encountered:
i am using kpm to hook syscall.
param[1] is a struct, how to get origin struct?
and need i copy from user like demo "compat_strncpy_from_user(buf, path, sizeof(buf));" ?
and how to copy from user?
here is my code, but not work (phone rebooted):
struct statfs *mystruct = (struct statfs *)syscall_argn(args, 1);
The text was updated successfully, but these errors were encountered: