File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323#define SYS_EXECVE_SYMBOL "__arm64_sys_execve"
2424// https://cs.android.com/android/kernel/superproject/+/common-android-mainline:common/scripts/syscalltbl.sh;l=57;drc=9142be9e6443fd641ca37f820efe00d9cd890eb1
2525// https://cs.android.com/android/kernel/superproject/+/common-android-mainline:common/scripts/syscall.tbl;l=104;drc=b36d4b6aa88ef039647228b98c59a875e92f8c8e
26- #define SYS_NEWFSTATAT_SYMBOL "__arm64_sys_newfstat"
26+ #define SYS_FSTAT_SYMBOL "__arm64_sys_newfstat"
2727
2828#elif defined(__x86_64__ )
2929
4343#define REBOOT_SYMBOL "__x64_sys_reboot"
4444#define SYS_READ_SYMBOL "__x64_sys_read"
4545#define SYS_EXECVE_SYMBOL "__x64_sys_execve"
46- #define SYS_NEWFSTATAT_SYMBOL "__x64_sys_newfstat"
46+ #define SYS_FSTAT_SYMBOL "__x64_sys_newfstat"
4747
4848#else
4949#error "Unsupported arch"
Original file line number Diff line number Diff line change @@ -582,7 +582,7 @@ static struct kprobe sys_read_kp = {
582582};
583583
584584static struct kretprobe sys_fstat_kp = {
585- .kp .symbol_name = SYS_NEWFSTATAT_SYMBOL ,
585+ .kp .symbol_name = SYS_FSTAT_SYMBOL ,
586586 .entry_handler = sys_fstat_handler_pre ,
587587 .handler = sys_fstat_handler_post ,
588588 .data_size = sizeof (void * ),
You can’t perform that action at this time.
0 commit comments