Fix the compilation error of 24-hide (#145)

Co-authored-by: zer0_1s <zer0_1s@163.com>
This commit is contained in:
zer0-1s
2024-11-26 09:22:27 +08:00
committed by GitHub
parent d13c9927f9
commit cad85ca032

View File

@@ -58,7 +58,7 @@ const volatile int target_ppid = 0;
// of the PID to hide. This becomes the name
// of the folder in /proc/
const volatile int pid_to_hide_len = 0;
const volatile char pid_to_hide[MAX_PID_LEN];
const volatile char pid_to_hide[MAX_PID_LEN] = "";
// struct linux_dirent64 {
// u64 d_ino; /* 64-bit inode number */