Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 1 name s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 name unit_byte
UNITS 2 n unit_byte
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_ns.c __aa_find_ns() -> __aa_findn_ns()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 2 n 0-1010101
BUF_SIZE 1 name s32min-(-1),1-s32max
BUF_SIZE 1 name s32min-(-1),1-s32max
DATA_SOURCE 0 head $0
DATA_SOURCE 1 name $1
STR_LEN 0 head 0-1010101
RX_PATH
TASK_NOT_RUNNING
UNITS 1 name unit_byte
LOCK2 &parent->lock
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct aa_ns)->lock

security/apparmor/policy_ns.c __aa_lookupn_ns() -> __aa_findn_ns()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 name 0,4096-ptr_max
DATA_SOURCE 1 name $1 [m]
LOCK2 rcu_read

security/apparmor/policy_ns.c __aa_lookupn_ns() -> __aa_findn_ns()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 name 0,4096-ptr_max
PARAM_VALUE 2 n 1-u64max
CAPPED_DATA 2 n 1
CAPPED_DATA 2 n 1
DATA_SOURCE 1 name $1 [m]
DATA_SOURCE 2 n $2 [m]
LOCK2 rcu_read