Skip to content

Commit cad85ca

Browse files
zer0-1szer0_1s
and
zer0_1s
authored
Fix the compilation error of 24-hide (#145)
Co-authored-by: zer0_1s <[email protected]>
1 parent d13c992 commit cad85ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/24-hide/pidhide.bpf.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const volatile int target_ppid = 0;
5858
// of the PID to hide. This becomes the name
5959
// of the folder in /proc/
6060
const volatile int pid_to_hide_len = 0;
61-
const volatile char pid_to_hide[MAX_PID_LEN];
61+
const volatile char pid_to_hide[MAX_PID_LEN] = "";
6262

6363
// struct linux_dirent64 {
6464
// u64 d_ino; /* 64-bit inode number */

0 commit comments

Comments
 (0)