Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/xfrm/xfrm_user.c xfrm_policy_construct() -> copy_from_user_tmpl()

Type Parameter Key Value
PARAM_VALUE 0 pol 4096-ptr_max
PARAM_VALUE 0 pol->action 0-1
PARAM_VALUE 0 pol->bydst.next 0
PARAM_VALUE 0 pol->bydst.pprev 0
PARAM_VALUE 0 pol->byidx.next 0
PARAM_VALUE 0 pol->byidx.pprev 0
PARAM_VALUE 0 pol->family 2,10
PARAM_VALUE 0 pol->lock.magic 3736018669
PARAM_VALUE 0 pol->lock.owner (-1)
PARAM_VALUE 0 pol->lock.owner_cpu u32max
PARAM_VALUE 0 pol->polq.hold_queue.next 4096-ptr_max
PARAM_VALUE 0 pol->polq.hold_queue.prev 4096-ptr_max
PARAM_VALUE 0 pol->polq.hold_queue.qlen 0
PARAM_VALUE 0 pol->polq.hold_timer.entry.pprev 0
PARAM_VALUE 0 pol->polq.hold_timer.flags 0-4194302
PARAM_VALUE 0 pol->polq.hold_timer.lockdep_map->name 0-255
PARAM_VALUE 0 pol->refcnt.refs.counter 1
PARAM_VALUE 0 pol->selector.family 2,10
PARAM_VALUE 0 pol->selector.prefixlen_d 0-128
PARAM_VALUE 0 pol->selector.prefixlen_s 0-128
PARAM_VALUE 0 pol->timer.entry.pprev 0
PARAM_VALUE 0 pol->timer.flags 0-4194302
PARAM_VALUE 0 pol->timer.lockdep_map->name 0-255
PARAM_VALUE 0 pol->type 0-1
PARAM_VALUE 0 pol->walk.all.next 4096-ptr_max
PARAM_VALUE 0 pol->walk.all.next->next 4096-ptr_max
PARAM_VALUE 0 pol->walk.all.prev 4096-ptr_max
PARAM_VALUE 0 pol->walk.all.prev->next 4096-ptr_max
PARAM_VALUE 0 pol->walk.all.prev->prev 4096-ptr_max
PARAM_VALUE 1 attrs 1890966759864250368
PARAM_VALUE 2 dir 0-2
PARAM_VALUE 3 extack 4971238048455385088
PARAM_VALUE 3 extack->_msg 0
PARAM_VALUE 3 extack->bad_attr 0
PARAM_VALUE 3 extack->policy 0
BUF_SIZE 0 pol 1064
BUF_SIZE 1 attrs 336
BUF_SIZE 1 attrs 336
CAPPED_DATA 2 dir 1
DATA_SOURCE 0 pol r xfrm_policy_alloc
DATA_SOURCE 1 attrs $2
DATA_SOURCE 3 extack $4
MEM_ZERO 3 extack
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 pol->action 0-1
USER_DATA 0 pol->family 2,10
USER_DATA 0 pol->flags 0-255
USER_DATA 0 pol->index 0-u32max
USER_DATA 0 pol->lft.hard_add_expires_seconds 0-u64max
USER_DATA 0 pol->lft.hard_byte_limit 0-u64max
USER_DATA 0 pol->lft.hard_packet_limit 0-u64max
USER_DATA 0 pol->lft.hard_use_expires_seconds 0-u64max
USER_DATA 0 pol->lft.soft_add_expires_seconds 0-u64max
USER_DATA 0 pol->lft.soft_byte_limit 0-u64max
USER_DATA 0 pol->lft.soft_packet_limit 0-u64max
USER_DATA 0 pol->lft.soft_use_expires_seconds 0-u64max
USER_DATA 0 pol->priority 0-u32max
USER_DATA 0 pol->selector.dport 0-u16max
USER_DATA 0 pol->selector.dport_mask 0-u16max
USER_DATA 0 pol->selector.family 2,10
USER_DATA 0 pol->selector.ifindex s32min-s32max
USER_DATA 0 pol->selector.prefixlen_d 0-128
USER_DATA 0 pol->selector.prefixlen_s 0-128
USER_DATA 0 pol->selector.proto 0-255
USER_DATA 0 pol->selector.sport 0-u16max
USER_DATA 0 pol->selector.sport_mask 0-u16max
USER_DATA 0 pol->selector.user 0-u32max
USER_DATA 0 pol->type 0-1
USER_DATA 2 dir 0-2[c]
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read