Home
last modified time | relevance | path

Searched refs:target_pid (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtask_local_storage.c19 pid_t target_pid = 0; variable
31 if (task->pid != target_pid) in BPF_PROG()
52 if (task->pid != target_pid) in BPF_PROG()
Dfind_vma.c16 pid_t target_pid = 0; variable
43 if (task->pid != target_pid) in handle_getpid()
59 if (task->pid != target_pid) in handle_pe()
Dstrncmp_test.c14 int target_pid = 0; variable
25 if ((bpf_get_current_pid_tgid() >> 32) != target_pid) in do_strncmp()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dfind_vma.c88 getpgid(skel->bss->target_pid); in test_find_vma_kprobe()
118 skel->bss->target_pid = getpid(); in serial_test_find_vma()
Dtask_local_storage.c22 skel->bss->target_pid = syscall(SYS_gettid); in test_sys_enter_exit()
Dtest_strncmp.c63 skel->bss->target_pid = getpid(); in test_strncmp_ret()
/Linux-v6.1/kernel/
Dauditsc.c98 pid_t target_pid[AUDIT_AUX_PIDS]; member
1010 ctx->target_pid = 0; in audit_reset_context()
1775 if (audit_log_pid_context(context, axs->target_pid[i], in audit_log_exit()
1784 if (context->target_pid && in audit_log_exit()
1785 audit_log_pid_context(context, context->target_pid, in audit_log_exit()
2722 context->target_pid = task_tgid_nr(t); in __audit_ptrace()
2748 if (!ctx->target_pid) { in audit_signal_info_syscall()
2749 ctx->target_pid = task_tgid_nr(t); in audit_signal_info_syscall()
2770 axp->target_pid[axp->pid_count] = task_tgid_nr(t); in audit_signal_info_syscall()
Daudit.h142 pid_t target_pid; member