Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/apparmor/policy.c aa_new_learning_profile() -> __add_profile()

Type Parameter Key Value
PARAM_VALUE 0 list 4096-ptr_max
PARAM_VALUE 1 profile 4096-ptr_max
PARAM_VALUE 1 profile->base.hname 4096-ptr_max
PARAM_VALUE 1 profile->base.list.next 4096-ptr_max
PARAM_VALUE 1 profile->base.list.next->next 4096-ptr_max
PARAM_VALUE 1 profile->base.list.prev 4096-ptr_max
PARAM_VALUE 1 profile->base.list.prev->next 4096-ptr_max
PARAM_VALUE 1 profile->base.list.prev->prev 4096-ptr_max
PARAM_VALUE 1 profile->base.name 4096-ptr_max
PARAM_VALUE 1 profile->base.profiles.next 4096-ptr_max
PARAM_VALUE 1 profile->base.profiles.next->next 4096-ptr_max
PARAM_VALUE 1 profile->base.profiles.prev 4096-ptr_max
PARAM_VALUE 1 profile->base.profiles.prev->next 4096-ptr_max
PARAM_VALUE 1 profile->base.profiles.prev->prev 4096-ptr_max
PARAM_VALUE 1 profile->label->vec 0
PARAM_VALUE 1 profile->label.count.reftype 0
PARAM_VALUE 1 profile->label.flags 0-s64max
PARAM_VALUE 1 profile->label.hname 4096-ptr_max
PARAM_VALUE 1 profile->label.proxy 4096-ptr_max
PARAM_VALUE 1 profile->label.rules 4096-ptr_max
PARAM_VALUE 1 profile->label.size 1
PARAM_VALUE 1 profile->label.vec 4096-ptr_max
PARAM_VALUE 1 profile->mode 1
PARAM_VALUE 1 profile->n_rules 1
PARAM_VALUE 1 profile->ns 4096-ptr_max
PARAM_VALUE 1 profile->ns->lock.dep_map->name 0-255
PARAM_VALUE 1 profile->ns->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 profile->ns->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 profile->ns->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 profile->ns->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 profile->ns->lock.wait_lock.owner (-1)
PARAM_VALUE 1 profile->ns->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 profile->parent 4096-ptr_max
PARAM_VALUE 1 profile->signal 9
BUF_SIZE 1 profile 360
BUF_SIZE 1 profile 360
CAPPED_DATA 1 &profile->ns->lock 1
DATA_SOURCE 1 profile r aa_alloc_null
BIT_INFO 1 profile->label.flags 0x204,0xffffffffffffffff
NOCHECK_CALL
LOCK2 1 &profile->ns->lock
HALF_LOCKED2 &ns->lock
TYPE_LOCK (struct aa_ns)->lock

security/apparmor/policy.c aa_replace_profiles() -> __add_profile()

Type Parameter Key Value
PARAM_VALUE 0 list 4096-ptr_max
PARAM_VALUE 1 profile 4096-ptr_max
BUF_SIZE 0 list 16
NOCHECK_CALL
USER_DATA 1 profile->rawdata->size 0-1000000000[c]
LOCK2 &ns->lock
TYPE_LOCK (struct aa_ns)->lock