Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/apparmor/label.c label_free_switch() -> aa_free_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
security/apparmor/policy_ns.c __aa_create_ns() -> aa_free_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->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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ns->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ns->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ns->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ns->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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->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 | 0 | *ns->dents | 0 |
| BUF_SIZE | 0 | ns | 568 |
| CAPPED_DATA | 0 | &ns->lock | 1 |
| DATA_SOURCE | 0 | ns | r alloc_ns |
| FUZZY_MAX | 0 | ns->level | 33 |
| HARD_MAX | 0 | ns->level | 33 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &parent->lock | ||
| HALF_LOCKED2 | &dir->i_rwsem |
security/apparmor/policy_ns.c aa_alloc_root_ns() -> aa_free_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.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ns->labels.lock.raw_lock.wlocked | 0 |
| 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ns->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ns->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ns->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ns->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ns->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ns->parent | 0,4096-ptr_max |
| 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.proxy->label | 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 | 0 | *ns->dents | 0 |
| BUF_SIZE | 0 | ns | 568 |
| DATA_SOURCE | 0 | ns | r alloc_ns |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq |