Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/hooks.c selinux_set_mnt_opts() -> may_context_mount_inode_relabel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sid | 1-u32max |
| PARAM_VALUE | 1 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 1 | sbsec->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sbsec->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sbsec->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sbsec->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | sbsec->sid | 1-u32max |
| PARAM_VALUE | 2 | cred | 4096-ptr_max |
| CAPPED_DATA | 0 | sid | 1 |
| CAPPED_DATA | 1 | sbsec->sid | 1 |
| CAPPED_DATA | 1 | &sbsec->lock | 1 |
| DATA_SOURCE | 1 | sbsec | r selinux_superblock |
| BIT_INFO | 1 | sbsec->flags | 0x0,0xfeff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &sbsec->lock | |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c selinux_set_mnt_opts() -> may_context_mount_inode_relabel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sid | 1-u32max |
| PARAM_VALUE | 1 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 1 | sbsec->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sbsec->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sbsec->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sbsec->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | sid | 1 |
| CAPPED_DATA | 1 | &sbsec->lock | 1 |
| DATA_SOURCE | 1 | sbsec | r selinux_superblock |
| BIT_INFO | 1 | sbsec->flags | 0x0,0xfeff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &sbsec->lock | |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c selinux_set_mnt_opts() -> may_context_mount_inode_relabel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sid | 1-u32max |
| PARAM_VALUE | 1 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 1 | sbsec->behavior | 1,7 |
| PARAM_VALUE | 1 | sbsec->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sbsec->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sbsec->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | sbsec->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | sbsec->lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | sid | 1 |
| CAPPED_DATA | 1 | &sbsec->lock | 1 |
| DATA_SOURCE | 1 | sbsec | r selinux_superblock |
| FUZZY_MAX | 1 | sbsec->behavior | 7 |
| PARAM_COMPARE | 0 | sid | != $1->def_sid |
| BIT_INFO | 1 | sbsec->behavior | 0x1,0x7 |
| BIT_INFO | 1 | sbsec->flags | 0x0,0xfeff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &sbsec->lock | |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct superblock_security_struct)->lock |