Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

security/apparmor/apparmorfs.c __aafs_ns_mkdir() -> __aafs_ns_mkdir()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->lock.dep_map->name 0-255
PARAM_VALUE 0 ns->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ns->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ns->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ns->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 name 0
PARAM_VALUE 3 dent 0
CAPPED_DATA 0 &ns->base.list 1
CAPPED_DATA 0 &ns->lock 1
LOCK2 0 &ns->lock
HALF_LOCKED2 &ns->lock
HALF_LOCKED2 &parent->lock
HALF_LOCKED2 global &root_ns->lock
TYPE_LOCK (struct aa_ns)->lock

security/apparmor/apparmorfs.c aa_create_aafs() -> __aafs_ns_mkdir()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->dents 4096-ptr_max
PARAM_VALUE 0 ns->lock.dep_map->name 0-255
PARAM_VALUE 0 ns->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ns->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ns->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ns->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 name 2522785362124865536
BUF_SIZE 2 name 8
CAPPED_DATA 0 &ns->lock 1
STR_LEN 0 ns 7
TERMINATED 2 name 1
LOCK2 global &root_ns->lock
TYPE_LOCK (struct aa_ns)->lock

security/apparmor/policy_ns.c __aa_create_ns() -> __aafs_ns_mkdir()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->base.hname 4096-ptr_max
PARAM_VALUE 0 ns->base.list.next 4096-ptr_max
PARAM_VALUE 0 ns->base.list.next->next 4096-ptr_max
PARAM_VALUE 0 ns->base.list.prev 4096-ptr_max
PARAM_VALUE 0 ns->base.list.prev->next 4096-ptr_max
PARAM_VALUE 0 ns->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ns->base.name 4096-ptr_max
PARAM_VALUE 0 ns->base.profiles.next 4096-ptr_max
PARAM_VALUE 0 ns->base.profiles.next->next 4096-ptr_max
PARAM_VALUE 0 ns->base.profiles.prev 4096-ptr_max
PARAM_VALUE 0 ns->base.profiles.prev->next 4096-ptr_max
PARAM_VALUE 0 ns->base.profiles.prev->prev 4096-ptr_max
PARAM_VALUE 0 ns->labels.lock.magic 3736018669
PARAM_VALUE 0 ns->labels.lock.owner (-1)
PARAM_VALUE 0 ns->labels.lock.owner_cpu u32max
PARAM_VALUE 0 ns->level (-2147483647)-33
PARAM_VALUE 0 ns->lock.dep_map->name 0-255
PARAM_VALUE 0 ns->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ns->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->lock.magic 4096-ptr_max
PARAM_VALUE 0 ns->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ns->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ns->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ns->rawdata_list.next 4096-ptr_max
PARAM_VALUE 0 ns->rawdata_list.next->next 4096-ptr_max
PARAM_VALUE 0 ns->rawdata_list.prev 4096-ptr_max
PARAM_VALUE 0 ns->rawdata_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ns->rawdata_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ns->sub_ns.next 4096-ptr_max
PARAM_VALUE 0 ns->sub_ns.next->next 4096-ptr_max
PARAM_VALUE 0 ns->sub_ns.prev 4096-ptr_max
PARAM_VALUE 0 ns->sub_ns.prev->next 4096-ptr_max
PARAM_VALUE 0 ns->sub_ns.prev->prev 4096-ptr_max
PARAM_VALUE 0 ns->unconfined 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->label.flags 0,2-s64max
PARAM_VALUE 0 ns->unconfined->label.proxy 1-u64max
PARAM_VALUE 0 ns->unconfined->label.rules 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->label.vec 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->mode 3
PARAM_VALUE 0 ns->unconfined->n_rules 1
PARAM_VALUE 0 ns->unconfined->ns 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->base.hname 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->base.list.next 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->base.list.prev 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->base.name 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->base.profiles.next 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->base.profiles.prev 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->lock.magic 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->rawdata_list.next 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->rawdata_list.prev 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->sub_ns.next 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->sub_ns.prev 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->unconfined 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->wait.head.next 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->ns->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ns->unconfined->signal 9
PARAM_VALUE 0 ns->uniq_null.counter 0
PARAM_VALUE 0 ns->wait.head.next 4096-ptr_max
PARAM_VALUE 0 ns->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 ns->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ns->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ns->wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 2 name 4096-ptr_max
PARAM_VALUE 3 dent 0,4096-ptr_max
PARAM_VALUE 3 dent->d_alias->pprev 4096-ptr_max
PARAM_VALUE 3 dent->d_alias.pprev 4096-ptr_max
PARAM_VALUE 3 dent->d_inode 0,4096-ptr_max
PARAM_VALUE 3 dent->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 3 dent->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 3 dent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 3 dent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 3 dent->d_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 3 dent->d_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 3 dent->d_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 3 dent->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 3 dent->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 3 dent->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 3 dent->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 3 dent->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 3 dent->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_dname 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 3 dent->d_parent->d_sb->__s_d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_dname 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 3 dent->d_sb->__s_d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
BUF_SIZE 0 ns 568
BUF_SIZE 2 name s32min-(-1),1-s32max
BUF_SIZE 2 name s32min-(-1),1-s32max
BUF_SIZE 3 dent (-1),1-s32max
BUF_SIZE 3 dent (-1),1-s32max
CAPPED_DATA 0 &ns->lock 1
DATA_SOURCE 0 ns r alloc_ns
DATA_SOURCE 2 name $1
DATA_SOURCE 3 dent $2
FUZZY_MAX 0 ns->level 33
HARD_MAX 0 ns->level 33
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 dent->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 3 dent->d_inode->i_blkbits
NO_OVERFLOW_SIMPLE 3 dent->d_inode->i_size
UNITS 2 name unit_byte
LOCK2 &parent->lock
LOCK2 0 &ns->lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 3 &dent->d_lockref.lock
TYPE_LOCK (struct aa_ns)->lock