*/
#include <stdio.h>
+#include <unistd.h>
#include <linux/socket.h>
/* bpf-output associated map */
unsigned int len = sizeof(augmented_args);
const void *filename_arg = NULL;
+ if (getpid() == 2971)
+ return 0;
+
probe_read(&augmented_args.args, sizeof(augmented_args.args), args);
/*
* Yonghong and Edward Cree sayz:
SEC("raw_syscalls:sys_exit")
int sys_exit(struct syscall_exit_args *args)
{
- return 1; /* 0 as soon as we start copying data returned by the kernel, e.g. 'read' */
+ return getpid() != 2971;
}
license(GPL);