Home
last modified time | relevance | path

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

/kernel/
Dseccomp.c405 READ_ONCE(current->seccomp.filter); in seccomp_run_filters()
434 if (current->seccomp.mode && current->seccomp.mode != seccomp_mode) in seccomp_may_assign_mode()
448 task->seccomp.mode = seccomp_mode; in seccomp_assign_mode()
499 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED || in seccomp_can_sync_threads()
500 (thread->seccomp.mode == SECCOMP_MODE_FILTER && in seccomp_can_sync_threads()
501 is_ancestor(thread->seccomp.filter, in seccomp_can_sync_threads()
502 caller->seccomp.filter))) in seccomp_can_sync_threads()
562 struct seccomp_filter *orig = tsk->seccomp.filter; in seccomp_filter_release()
568 tsk->seccomp.filter = NULL; in seccomp_filter_release()
602 __seccomp_filter_release(thread->seccomp.filter); in seccomp_sync_threads()
[all …]
Dptrace.c387 if (seccomp_mode(&current->seccomp) != SECCOMP_MODE_DISABLED || in check_ptrace_options()
984 info->seccomp.ret_data = child->ptrace_message; in ptrace_get_syscall_info_seccomp()
987 return offsetofend(struct ptrace_syscall_info, seccomp.ret_data); in ptrace_get_syscall_info_seccomp()
Dsys_ni.c334 COND_SYSCALL(seccomp);
DMakefile97 obj-$(CONFIG_SECCOMP) += seccomp.o
Dfork.c493 WARN_ON_ONCE(tsk->seccomp.filter); in free_task()
982 tsk->seccomp.filter = NULL; in dup_task_struct()
1767 p->seccomp = current->seccomp; in copy_seccomp()
1782 if (p->seccomp.mode != SECCOMP_MODE_DISABLED) in copy_seccomp()