Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/hooks.c inode_doinit_with_dentry() -> security_transition_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | qstr | 0 |
| PARAM_VALUE | 4 | out_sid | 7443847375937601536 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/selinux/hooks.c selinux_bprm_creds_for_exec() -> security_transition_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tclass | 2 |
| PARAM_VALUE | 3 | qstr | 0 |
| PARAM_VALUE | 4 | out_sid | 4096-ptr_max |
security/selinux/hooks.c selinux_determine_inode_label() -> security_transition_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tclass | 7-8,10-14 |
| PARAM_VALUE | 4 | out_sid | 2456630268268396544,5466681300125409280,5630806682973655040,7033049237218738176 |
| BUF_SIZE | 3 | qstr->name | s32min-(-1),1-s32max |
| DATA_SOURCE | 2 | tclass | $3 |
| DATA_SOURCE | 3 | qstr | $2 |
| DATA_SOURCE | 4 | out_sid | $4 |
| STR_LEN | 3 | qstr->name | (-1),29 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/selinux/hooks.c selinux_inode_init_security_anon() -> security_transition_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tclass | 94,97 |
| PARAM_VALUE | 3 | qstr | 0,4096-ptr_max |
| PARAM_VALUE | 4 | out_sid | 4096-ptr_max |
| DATA_SOURCE | 0 | ssid | r current_sid |
| DATA_SOURCE | 1 | tsid | r current_sid |
| DATA_SOURCE | 3 | qstr | $1 |
| FUZZY_MAX | 2 | tclass | 97 |
| BIT_INFO | 2 | tclass | 0x40,0x7f |
| HARD_MAX | 2 | tclass | 97 |
security/selinux/hooks.c selinux_kernfs_init_security() -> security_transition_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tsid | 1-19995 |
| PARAM_VALUE | 2 | tclass | 7-8,10-14 |
| PARAM_VALUE | 3 | qstr | 1149570338589569024 |
| PARAM_VALUE | 4 | out_sid | 8208611784676016128 |
| DATA_SOURCE | 2 | tclass | r inode_mode_to_security_class |
security/selinux/hooks.c selinux_msg_queue_msgsnd() -> security_transition_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tclass | 27 |
| PARAM_VALUE | 3 | qstr | 0 |
| PARAM_VALUE | 4 | out_sid | 4096-ptr_max |
| PARAM_VALUE | 4 | *out_sid | 3 |
| DATA_SOURCE | 0 | ssid | r current_sid |
security/selinux/hooks.c selinux_set_mnt_opts() -> security_transition_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tclass | 7 |
| PARAM_VALUE | 3 | qstr | 0 |
| PARAM_VALUE | 4 | out_sid | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbsec->lock | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct superblock_security_struct)->lock |
security/selinux/hooks.c socket_sockcreate_sid() -> security_transition_sid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tclass | 15-18,21-25,31-41,43-48,59-87,91-92 |
| PARAM_VALUE | 3 | qstr | 0 |
| PARAM_VALUE | 4 | out_sid | 1045890410012516352,1995623251220783104 |
| DATA_SOURCE | 2 | tclass | $1 |
| DATA_SOURCE | 4 | out_sid | $2 |