Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/hooks.c selinux_sb_mnt_opts_compat() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 2 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| BIT_INFO | 0 | sbsec->flags | 0x100,0xffff |
security/selinux/hooks.c selinux_sb_mnt_opts_compat() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 1 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| BIT_INFO | 0 | sbsec->flags | 0x100,0xffffffffffffffff |
security/selinux/hooks.c selinux_sb_mnt_opts_compat() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 4 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| BIT_INFO | 0 | sbsec->flags | 0x100,0xffffffffffffffff |
security/selinux/hooks.c selinux_sb_mnt_opts_compat() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 8 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| BIT_INFO | 0 | sbsec->flags | 0x100,0xffffffffffffffff |
security/selinux/hooks.c selinux_sb_remount() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 2 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| BIT_INFO | 0 | sbsec->flags | 0x100,0xffff |
security/selinux/hooks.c selinux_sb_remount() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 1 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| BIT_INFO | 0 | sbsec->flags | 0x100,0xffffffffffffffff |
security/selinux/hooks.c selinux_sb_remount() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 4 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| BIT_INFO | 0 | sbsec->flags | 0x100,0xffffffffffffffff |
security/selinux/hooks.c selinux_sb_remount() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 8 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| BIT_INFO | 0 | sbsec->flags | 0x100,0xffffffffffffffff |
security/selinux/hooks.c selinux_set_mnt_opts() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 0 | sbsec->flags | 256-u16max |
| PARAM_VALUE | 1 | flag | 2 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| CAPPED_DATA | 0 | &sbsec->lock | 1 |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &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() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 1 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| CAPPED_DATA | 0 | &sbsec->lock | 1 |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &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() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 4 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| CAPPED_DATA | 0 | &sbsec->lock | 1 |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &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() -> bad_option()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbsec | 4096-ptr_max |
| PARAM_VALUE | 1 | flag | 8 |
| PARAM_VALUE | 3 | new_sid | 1-u32max |
| CAPPED_DATA | 0 | &sbsec->lock | 1 |
| DATA_SOURCE | 0 | sbsec | r selinux_superblock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &sbsec->lock | |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct superblock_security_struct)->lock |