Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/seccomp.c seccomp_set_mode_filter() -> seccomp_assign_mode()

Type Parameter Key Value
PARAM_VALUE 1 seccomp_mode 2
PARAM_VALUE 2 flags 0-62
DATA_SOURCE 2 flags $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 2 flags 0-62
LOCK2 irq

kernel/seccomp.c seccomp_set_mode_strict() -> seccomp_assign_mode()

Type Parameter Key Value
PARAM_VALUE 1 seccomp_mode 1
PARAM_VALUE 2 flags 0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 irq

kernel/seccomp.c seccomp_sync_threads() -> seccomp_assign_mode()

Type Parameter Key Value
PARAM_VALUE 0 task 4096-ptr_max
PARAM_VALUE 0 task->seccomp.filter 0,4096-ptr_max
PARAM_VALUE 0 task->seccomp.filter->prog->aux->token->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 task->seccomp.filter->prog->aux->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 task->seccomp.mode 0
PARAM_VALUE 1 seccomp_mode 2
PARAM_VALUE 2 flags 0-62
DATA_SOURCE 2 flags $0
BIT_INFO 0 task->flags 0x0,0xfffffffb
BIT_INFO 2 flags 0x1,0x3f
BIT_INFO 2 flags 0x1,0xffffffffffffffff
PREEMPT_ADD
NOCHECK_CALL
USER_DATA 2 flags 0-62
LOCK2 irq