Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/seccomp.c get_nth_filter() -> __get_seccomp_filter()

Type Parameter Key Value
CAPABLE 0 21
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &task->sighand->siglock
LOCK2 irq
TYPE_LOCK (struct sighand_struct)->siglock

kernel/seccomp.c get_nth_filter() -> __get_seccomp_filter()

Type Parameter Key Value
PARAM_VALUE 0 filter 1-u64max
CAPABLE 0 21
NOCHECK_CALL

kernel/seccomp.c get_seccomp_filter() -> __get_seccomp_filter()

Type Parameter Key Value
PARAM_VALUE 0 filter 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
HALF_LOCKED2 global &tasklist_lock

kernel/seccomp.c init_listener() -> __get_seccomp_filter()

Type Parameter Key Value
PARAM_VALUE 0 filter 4096-ptr_max
PARAM_VALUE 0 filter->notif 4096-ptr_max
PARAM_VALUE 0 filter->notif->notifications.next 4096-ptr_max
PARAM_VALUE 0 filter->notif->notifications.next->next 4096-ptr_max
PARAM_VALUE 0 filter->notif->notifications.prev 4096-ptr_max
PARAM_VALUE 0 filter->notif->notifications.prev->next 4096-ptr_max
PARAM_VALUE 0 filter->notif->notifications.prev->prev 4096-ptr_max
PARAM_VALUE 0 filter->notify_lock.dep_map->name 0-255
PARAM_VALUE 0 filter->notify_lock.first_waiter 0
PARAM_VALUE 0 filter->notify_lock.magic 4096-ptr_max
PARAM_VALUE 0 filter->notify_lock.osq.tail.counter 0
PARAM_VALUE 0 filter->notify_lock.owner.counter 0
PARAM_VALUE 0 filter->prog 4096-ptr_max
PARAM_VALUE 0 filter->prog->jit_required 1
PARAM_VALUE 0 filter->refs.refs.counter 1
PARAM_VALUE 0 filter->users.refs.counter 1
PARAM_VALUE 0 filter->wqh.head.next 4096-ptr_max
PARAM_VALUE 0 filter->wqh.head.next->next 4096-ptr_max
PARAM_VALUE 0 filter->wqh.head.prev 4096-ptr_max
PARAM_VALUE 0 filter->wqh.head.prev->next 4096-ptr_max
PARAM_VALUE 0 filter->wqh.head.prev->prev 4096-ptr_max
BUF_SIZE 0 filter 408
BUF_SIZE 0 filter->notif 32
DATA_SOURCE 0 filter $0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 filter->prog->len

kernel/seccomp.c proc_pid_seccomp_cache() -> __get_seccomp_filter()

Type Parameter Key Value
PARAM_VALUE 0 filter 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock