Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

security/apparmor/apparmorfs.c ns_rmdir_op() -> __aa_remove_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->dents 4096-ptr_max
DATA_SOURCE 0 ns r aa_get_ns
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &parent->lock
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
TYPE_LOCK (struct aa_ns)->lock

security/apparmor/policy.c aa_remove_profiles() -> __aa_remove_ns()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->parent 4096-ptr_max
PARAM_VALUE 0 ns->parent->lock.dep_map->name 0-255
PARAM_VALUE 0 ns->parent->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ns->parent->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ns->parent->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ns->parent->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ns->parent->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ns->parent->lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &ns->parent->lock 1
DATA_SOURCE 0 ns r aa_lookupn_ns
NOCHECK_CALL
LOCK2 0 &ns->parent->lock
TYPE_LOCK (struct aa_ns)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
CAPPED_DATA 0 &ns->base.list 1
NOCHECK_CALL
LOCK2 &ns->lock
TYPE_LOCK (struct aa_ns)->lock