Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 7 files:
- fs/proc/base.c
- fs/xfs/xfs_fsmap.c, line 1178
- fs/xfs/xfs_ioctl.c, line 650
- fs/xfs/xfs_iops.c, line 837
- kernel/capability.c, line 329
- lib/vsprintf.c, line 886
- security/integrity/ima/ima_policy.c
Smatch caller information:
lib/vsprintf.c restricted_pointer() -> has_capability_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cap | 34 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/proc/base.c __set_oom_adj() -> has_capability_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cap | 24 |
| LOCK2 | global &oom_adj_mutex |
fs/proc/base.c __set_oom_adj() -> has_capability_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cap | 24 |
| LOCK2 | &p->alloc_lock | ||
| LOCK2 | global &oom_adj_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct task_struct)->alloc_lock |
fs/xfs/xfs_fsmap.c xfs_getfsmap() -> has_capability_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cap | 21 |
fs/xfs/xfs_iops.c xfs_setattr_nonsize() -> has_capability_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cap | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
security/integrity/ima/ima_policy.c ima_match_rules() -> has_capability_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cap | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
security/integrity/ima/ima_policy.c ima_match_rules() -> has_capability_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cap | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
fs/xfs/xfs_ioctl.c xfs_ioctl_setattr_get_trans() -> has_capability_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cap | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |