Skip to content

Commit

Permalink
Fix the compilation error of 24-hide
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0_1s committed Nov 11, 2024
1 parent d13c992 commit da74cdf
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 da74cdf

Please sign in to comment.