Lines Matching refs:mode
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()
627 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED) in seccomp_sync_threads()
1022 current->seccomp.mode = SECCOMP_MODE_DEAD; in __secure_computing_strict()
1030 int mode = current->seccomp.mode; in secure_computing_strict() local
1036 if (mode == SECCOMP_MODE_DISABLED) in secure_computing_strict()
1038 else if (mode == SECCOMP_MODE_STRICT) in secure_computing_strict()
1294 current->seccomp.mode = SECCOMP_MODE_DEAD; in __seccomp_filter()
1327 int mode = current->seccomp.mode; in __secure_computing() local
1337 switch (mode) { in __secure_computing()
1356 return current->seccomp.mode; in prctl_get_seccomp()
2060 if (task->seccomp.mode != SECCOMP_MODE_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()
2382 .mode = 0444,
2387 .mode = 0644,