mirror of
https://github.com/h3xduck/TripleCross.git
synced 2026-01-04 07:23:07 +08:00
Fixed probe not probing correct syscall entry
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
src/bin/kit
BIN
src/bin/kit
Binary file not shown.
@@ -211,7 +211,7 @@ int sys_enter_timerfd_settime(struct sys_timerfd_settime_enter_ctx *ctx){
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
SEC("tp/syscalls/sys_enter_timerfd_settime")
|
SEC("tp/syscalls/sys_exit_timerfd_settime")
|
||||||
int sys_exit_timerfd_settime(struct sys_timerfd_settime_exit_ctx *ctx){
|
int sys_exit_timerfd_settime(struct sys_timerfd_settime_exit_ctx *ctx){
|
||||||
char comm[TASK_COMM_LEN] = {0};
|
char comm[TASK_COMM_LEN] = {0};
|
||||||
int err = bpf_get_current_comm(comm, sizeof(comm));
|
int err = bpf_get_current_comm(comm, sizeof(comm));
|
||||||
|
|||||||
@@ -108,3 +108,9 @@ r
|
|||||||
si
|
si
|
||||||
ni
|
ni
|
||||||
q
|
q
|
||||||
|
b timerfd_settime
|
||||||
|
r
|
||||||
|
si
|
||||||
|
ni
|
||||||
|
stack 200
|
||||||
|
q
|
||||||
|
|||||||
Reference in New Issue
Block a user