From 1ccf6c16e2c694e374f966ee4aa50876bb6b5ac6 Mon Sep 17 00:00:00 2001 From: arthur-zhang Date: Wed, 18 Dec 2024 15:10:50 +0800 Subject: [PATCH] [fix] fix probe_read_str return type Signed-off-by: arthur-zhang --- bpf/process/bpf_execve_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpf/process/bpf_execve_event.c b/bpf/process/bpf_execve_event.c index b4c9c325486..8489dc01aee 100644 --- a/bpf/process/bpf_execve_event.c +++ b/bpf/process/bpf_execve_event.c @@ -130,7 +130,7 @@ FUNC_INLINE __u32 read_path(void *ctx, struct msg_execve_event *event, void *filename) { struct msg_process *p = &event->process; - __u32 size = 0; + __s32 size = 0; __u32 flags = 0; char *earg;