Home
last modified time | relevance | path

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

/kernel/
Dseccomp.c407 READ_ONCE(current->seccomp.filter); in seccomp_run_filters()
436 if (current->seccomp.mode && current->seccomp.mode != seccomp_mode) in seccomp_may_assign_mode()
450 task->seccomp.mode = seccomp_mode; in seccomp_assign_mode()
501 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED || in seccomp_can_sync_threads()
502 (thread->seccomp.mode == SECCOMP_MODE_FILTER && in seccomp_can_sync_threads()
503 is_ancestor(thread->seccomp.filter, in seccomp_can_sync_threads()
504 caller->seccomp.filter))) in seccomp_can_sync_threads()
564 struct seccomp_filter *orig = tsk->seccomp.filter; in seccomp_filter_release()
570 tsk->seccomp.filter = NULL; in seccomp_filter_release()
604 __seccomp_filter_release(thread->seccomp.filter); in seccomp_sync_threads()
[all …]
Dptrace.c381 if (seccomp_mode(&current->seccomp) != SECCOMP_MODE_DISABLED || in check_ptrace_options()
966 info->seccomp.ret_data = child->ptrace_message; in ptrace_get_syscall_info_seccomp()
969 return offsetofend(struct ptrace_syscall_info, seccomp.ret_data); in ptrace_get_syscall_info_seccomp()
DMakefile94 obj-$(CONFIG_SECCOMP) += seccomp.o
Dsys_ni.c336 COND_SYSCALL(seccomp);
Dfork.c610 WARN_ON_ONCE(tsk->seccomp.filter); in free_task()
1100 tsk->seccomp.filter = NULL; in dup_task_struct()
1861 p->seccomp = current->seccomp; in copy_seccomp()
1876 if (p->seccomp.mode != SECCOMP_MODE_DISABLED) in copy_seccomp()