Documented in 1 files:

Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

security/apparmor/policy_ns.c __aa_remove_ns() -> destroy_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->base.list.next->prev 4096-ptr_max
DATA_SOURCE 0 ns $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ns->lock
HALF_LOCKED2 &parent->lock
HALF_LOCKED2 0 &ns->parent->lock
TYPE_LOCK (struct aa_ns)->lock

security/apparmor/policy_ns.c aa_alloc_root_ns() -> destroy_ns()

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->lock.dep_map->name 0-255
PARAM_VALUE 0 ns->lock.first_waiter 0
PARAM_VALUE 0 ns->lock.magic 4096-ptr_max
PARAM_VALUE 0 ns->lock.osq.tail.counter 0
PARAM_VALUE 0 ns->lock.owner.counter 0
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
BUF_SIZE 0 ns 568
DATA_SOURCE 0 ns r alloc_ns
NOCHECK_CALL
HALF_LOCKED2 irq

security/apparmor/policy_ns.c aa_free_root_ns() -> destroy_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 0,4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 irq