• Home
  • Raw
  • Download

Lines Matching refs:seccomp

407 			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()
607 smp_store_release(&thread->seccomp.filter, in seccomp_sync_threads()
608 caller->seccomp.filter); in seccomp_sync_threads()
609 atomic_set(&thread->seccomp.filter_count, in seccomp_sync_threads()
610 atomic_read(&caller->seccomp.filter_count)); in seccomp_sync_threads()
627 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED) in seccomp_sync_threads()
877 for (walker = current->seccomp.filter; walker; walker = walker->prev) in seccomp_attach_filter()
907 filter->prev = current->seccomp.filter; in seccomp_attach_filter()
909 current->seccomp.filter = filter; in seccomp_attach_filter()
910 atomic_inc(&current->seccomp.filter_count); in seccomp_attach_filter()
927 struct seccomp_filter *orig = tsk->seccomp.filter; in get_seccomp_filter()
1022 current->seccomp.mode = SECCOMP_MODE_DEAD; in __secure_computing_strict()
1030 int mode = current->seccomp.mode; in secure_computing_strict()
1294 current->seccomp.mode = SECCOMP_MODE_DEAD; in __seccomp_filter()
1327 int mode = current->seccomp.mode; in __secure_computing()
1356 return current->seccomp.mode; in prctl_get_seccomp()
1816 for (cur = current->seccomp.filter; cur; cur = cur->prev) { in has_duplicate_listener()
2007 SYSCALL_DEFINE3(seccomp, unsigned int, op, unsigned int, flags, in SYSCALL_DEFINE3() argument
2060 if (task->seccomp.mode != SECCOMP_MODE_FILTER) { in get_nth_filter()
2065 orig = task->seccomp.filter; in get_nth_filter()
2102 current->seccomp.mode != SECCOMP_MODE_DISABLED) { in seccomp_get_filter()
2140 current->seccomp.mode != SECCOMP_MODE_DISABLED) { in seccomp_get_metadata()
2441 f = READ_ONCE(task->seccomp.filter); in proc_pid_seccomp_cache()