Skip to content

Commit

Permalink
Fix the compilation error of 24-hide (#145)
Browse files Browse the repository at this point in the history
Co-authored-by: zer0_1s <[email protected]>
  • Loading branch information
zer0-1s and zer0_1s authored Nov 26, 2024
1 parent d13c992 commit cad85ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/24-hide/pidhide.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit cad85ca

Please sign in to comment.