Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/attr.c setattr_should_drop_suidgid() -> setattr_should_drop_sgid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | inode | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/nfs/inode.c nfs_setattr_update_inode() -> setattr_should_drop_sgid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 1 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | inode->i_sb->s_umount.first_waiter->type | 0-1 |
| DATA_SOURCE | 1 | inode | $0 |
| NOSPEC | 1 | inode->i_size | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | inode->i_mode | 0-u16max |
| USER_DATA | 1 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| LOCK2 | 1 | &inode->i_lock | |
| TYPE_LOCK | (struct inode)->i_lock |
fs/nfsd/vfs.c nfsd_sanitize_attrs() -> setattr_should_drop_sgid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| DATA_SOURCE | 1 | inode | $0 |
fs/open.c chown_common() -> setattr_should_drop_sgid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &inode->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |