Home
last modified time | relevance | path

Searched refs:seccomp (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dseccomp.c260 READ_ONCE(current->seccomp.filter); in seccomp_run_filters()
288 if (current->seccomp.mode && current->seccomp.mode != seccomp_mode) in seccomp_may_assign_mode()
302 task->seccomp.mode = seccomp_mode; in seccomp_assign_mode()
353 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED || in seccomp_can_sync_threads()
354 (thread->seccomp.mode == SECCOMP_MODE_FILTER && in seccomp_can_sync_threads()
355 is_ancestor(thread->seccomp.filter, in seccomp_can_sync_threads()
356 caller->seccomp.filter))) in seccomp_can_sync_threads()
400 smp_store_release(&thread->seccomp.filter, in seccomp_sync_threads()
401 caller->seccomp.filter); in seccomp_sync_threads()
418 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED) in seccomp_sync_threads()
[all …]
Dptrace.c660 if (seccomp_mode(&current->seccomp) != SECCOMP_MODE_DISABLED || in ptrace_setoptions()
938 info->seccomp.ret_data = child->ptrace_message; in ptrace_get_syscall_info_seccomp()
941 return offsetofend(struct ptrace_syscall_info, seccomp.ret_data); in ptrace_get_syscall_info_seccomp()
DMakefile92 obj-$(CONFIG_SECCOMP) += seccomp.o
Dsys_ni.c328 COND_SYSCALL(seccomp);
Dfork.c914 tsk->seccomp.filter = NULL; in dup_task_struct()
1617 p->seccomp = current->seccomp; in copy_seccomp()
1632 if (p->seccomp.mode != SECCOMP_MODE_DISABLED) in copy_seccomp()