Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 15 files:

Smatch caller information:

net/core/skbuff.c mm_account_pinned_pages() -> get_uid()

Type Parameter Key Value
PARAM_VALUE 0 u 4096-ptr_max
CAPABLE 0 14
RX_PATH
TASK_NOT_RUNNING

kernel/bpf/syscall.c bpf_prog_load() -> get_uid()

Type Parameter Key Value

drivers/iommu/iommufd/pages.c iopt_alloc_pages() -> get_uid()

Type Parameter Key Value
CAPABLE 0 14

fs/pipe.c alloc_pipe_info() -> get_uid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

io_uring/zcrx.c io_register_zcrx() -> get_uid()

Type Parameter Key Value
PARAM_VALUE 0 u 1-u64max
CAPABLE 0 12
NOCHECK_CALL
LOCK2 &ctx->uring_lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

io_uring/io_uring.c io_uring_create() -> get_uid()

Type Parameter Key Value

net/core/scm.c scm_fp_copy() -> get_uid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vq->mutex

net/core/scm.c scm_fp_dup() -> get_uid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &u->iolock
TYPE_LOCK (struct unix_sock)->iolock

fs/eventpoll.c ep_alloc() -> get_uid()

Type Parameter Key Value

kernel/events/ring_buffer.c ring_buffer_init() -> get_uid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &ipcp->lock

drivers/iommu/iommufd/ioas.c change_mm() -> get_uid()

Type Parameter Key Value
LOCK2 &ictx->ioas_creation_lock
TYPE_LOCK (struct iommufd_ctx)->ioas_creation_lock

kernel/cred.c prepare_creds() -> get_uid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cache->daemon_mutex
HALF_LOCKED2 global &event_mutex

kernel/cred.c prepare_kernel_cred() -> get_uid()

Type Parameter Key Value
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &cache->daemon_mutex
HALF_LOCKED2 &pool->lock

security/keys/process_keys.c key_change_session_keyring() -> get_uid()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu

net/xdp/xdp_umem.c xdp_umem_account_pages() -> get_uid()

Type Parameter Key Value
CAPABLE 0 14
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xs->mutex
TYPE_LOCK (struct xdp_sock)->mutex