Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/selinux/ss/services.c security_fs_use() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | superblock | 4096-ptr_max |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock->s_root | (-1),1-s32max |
| DATA_SOURCE | 0 | superblock | $0 |
| STR_LEN | 0 | superblock | (-1),8 |
| STR_LEN | 0 | superblock | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | superblock->s_flags | 0-2147552255[c] |
| USER_DATA | 0 | superblock->s_root->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | *superblock->s_root->__d_name.name | 0-255 |
| USER_PTR | 0 | superblock->s_root->__d_name.name | |
| HALF_LOCKED2 | &newsbsec->lock | ||
| HALF_LOCKED2 | &sbsec->lock | ||
| HALF_LOCKED2 | 0 | &superblock->s_umount | |
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c inode_doinit_with_dentry() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | superblock->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | superblock->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | superblock->s_blocksize_bits | |
| UNITS | 0 | superblock | unit_byte |
| LOCK2 | &isec->lock | ||
| TYPE_LOCK | (struct inode_security_struct)->lock |
security/selinux/hooks.c inode_free_security() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | superblock | unit_byte |
security/selinux/hooks.c may_create() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | superblock | unit_byte |
security/selinux/hooks.c sb_check_xattr_support() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | superblock | 4096-ptr_max |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock->s_root | (-1),1-s32max |
| DATA_SOURCE | 0 | superblock | $0 |
| STR_LEN | 0 | superblock | (-1),8 |
| STR_LEN | 0 | superblock | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | superblock->s_flags | 0-2147552255[c] |
| USER_DATA | 0 | superblock->s_root->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | *superblock->s_root->__d_name.name | 0-255 |
| USER_PTR | 0 | superblock->s_root->__d_name.name | |
| HALF_LOCKED2 | &newsbsec->lock | ||
| HALF_LOCKED2 | &sbsec->lock | ||
| HALF_LOCKED2 | 0 | &superblock->s_umount | |
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c sb_finish_set_opts() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | superblock | 4096-ptr_max |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock->s_root | (-1),1-s32max |
| DATA_SOURCE | 0 | superblock | $0 |
| STR_LEN | 0 | superblock | (-1),8 |
| STR_LEN | 0 | superblock | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | superblock->s_flags | 0-2147552255[c] |
| USER_DATA | 0 | superblock->s_root->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | *superblock->s_root->__d_name.name | 0-255 |
| USER_PTR | 0 | superblock->s_root->__d_name.name | |
| HALF_LOCKED2 | &newsbsec->lock | ||
| HALF_LOCKED2 | &sbsec->lock | ||
| HALF_LOCKED2 | 0 | &superblock->s_umount | |
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c selinux_bpffs_creator_sid() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | superblock | unit_byte |
security/selinux/hooks.c selinux_cmp_sb_context() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | superblock | 4096-ptr_max |
| DATA_SOURCE | 0 | superblock | $0 |
security/selinux/hooks.c selinux_cmp_sb_context() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | superblock | 4096-ptr_max |
| DATA_SOURCE | 0 | superblock | $1 |
security/selinux/hooks.c selinux_determine_inode_label() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | superblock->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | superblock->s_blocksize_bits | |
| UNITS | 0 | superblock | unit_byte |
security/selinux/hooks.c selinux_fs_context_submount() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | superblock | $1 |
security/selinux/hooks.c selinux_inode_init_security() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | superblock->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | superblock->s_blocksize_bits | |
| UNITS | 0 | superblock | unit_byte |
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->vh_mutex |
security/selinux/hooks.c selinux_inode_setsecurity() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | superblock | unit_byte |
security/selinux/hooks.c selinux_inode_setxattr() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | superblock | unit_byte |
security/selinux/hooks.c selinux_is_sblabel_mnt() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | superblock | 4096-ptr_max |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock->s_root | (-1),1-s32max |
| DATA_SOURCE | 0 | superblock | $0 |
| STR_LEN | 0 | superblock | (-1),8 |
| STR_LEN | 0 | superblock | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | superblock->s_flags | 0-2147552255[c] |
| USER_DATA | 0 | superblock->s_root->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | *superblock->s_root->__d_name.name | 0-255 |
| USER_PTR | 0 | superblock->s_root->__d_name.name | |
| HALF_LOCKED2 | &newsbsec->lock | ||
| HALF_LOCKED2 | &sbsec->lock | ||
| HALF_LOCKED2 | 0 | &superblock->s_umount | |
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c selinux_sb_alloc_security() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | superblock | $0 |
security/selinux/hooks.c selinux_sb_clone_mnt_opts() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | superblock | $0 |
security/selinux/hooks.c selinux_sb_clone_mnt_opts() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | superblock | $1 |
security/selinux/hooks.c selinux_sb_mnt_opts_compat() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | superblock | $0 |
security/selinux/hooks.c selinux_sb_remount() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | superblock | $0 |
security/selinux/hooks.c selinux_sb_show_options() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | superblock | $1 |
security/selinux/hooks.c selinux_set_mnt_opts() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | superblock | 4096-ptr_max |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock | (-1),2880 |
| BUF_SIZE | 0 | superblock->s_root | (-1),1-s32max |
| DATA_SOURCE | 0 | superblock | $0 |
| STR_LEN | 0 | superblock | (-1),8 |
| STR_LEN | 0 | superblock | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | superblock->s_flags | 0-2147552255[c] |
| USER_DATA | 0 | superblock->s_root->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | *superblock->s_root->__d_name.name | 0-255 |
| USER_PTR | 0 | superblock->s_root->__d_name.name | |
| HALF_LOCKED2 | 0 | &superblock->s_umount |
security/selinux/hooks.c superblock_has_perm() -> selinux_superblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | superblock | $1 |
| UNITS | 0 | superblock | unit_byte |