Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/apparmor/apparmorfs.c __aa_findn_ns() -> __policy_strn_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| BUF_SIZE | 1 | str | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | str | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | head | $0 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | str | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &parent->lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| 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 __strn_find_child() -> __policy_strn_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| BUF_SIZE | 1 | str | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 1 | str | s32min,(-10),(-1)-s32max |
| DATA_SOURCE | 0 | head | $0 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | len | $2 |
| STR_LEN | 0 | head | (-1)-1010101 |
| STR_LEN | 0 | head | (-1)-1010101 |
| HALF_LOCKED2 | &ns->lock |
security/apparmor/policy_ns.c __aa_findn_ns() -> __policy_strn_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| BUF_SIZE | 1 | str | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | str | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | head | $0 |
| DATA_SOURCE | 1 | str | $1 |
| DATA_SOURCE | 2 | len | $2 |
| STR_LEN | 0 | head | (-1)-1010101 |
| STR_LEN | 0 | head | (-1)-1010101 |
| UNITS | 1 | str | unit_byte |
| HALF_LOCKED2 | &parent->lock | ||
| HALF_LOCKED2 | rcu_read |