correct mistake in null pointer. Also identify error in pointer to char debug info generation

This commit is contained in:
2025-10-18 22:32:03 +05:30
parent de19c8fc90
commit d855e9ef2e
3 changed files with 7 additions and 4 deletions

View File

@ -19,7 +19,7 @@ struct {
SEC("tp/syscalls/sys_enter_setuid")
int handle_setuid_entry(struct trace_event_raw_sys_enter *ctx) {
struct event data = {};
struct blk_integrity_iter it = {};
// Extract UID from the syscall arguments
data.uid = (unsigned int)ctx->args[0];
data.ts = bpf_ktime_get_ns();