Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

security/apparmor/policy.c aa_alloc_profile() -> aa_free_profile()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
BUF_SIZE 0 profile 360
BUF_SIZE 0 profile 360
DATA_SOURCE 0 profile r _kzalloc_noprof
NOCHECK_CALL

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 profile 0
DATA_SOURCE 0 profile r aa_alloc_null
NOCHECK_CALL
HALF_LOCKED2 &ns->lock

security/apparmor/label.c label_free_switch() -> aa_free_profile()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

security/apparmor/policy_ns.c aa_free_ns() -> aa_free_profile()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->ns 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &parent->lock