Sysdig cannot associate the Child process of fork in C language with the command executed in the Child process
5 views
Skip to first unread message
Forest William
unread,
Jun 17, 2023, 10:17:31 AM6/17/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sysdig
char *cmd = "ifconfig"; pid_t pid = fork(); // create if (pid == -1) { perror("fork error error error"); } else if (pid == 0) { system(cmd); } // Sysdig cannot capture the complete event flow between the Child process and the executed command, especially the lack of clone events from the subprocess to the cmd ? Has anyone else encountered this problem? Help me, thank you