Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/selinux/ss/services.c security_change_sid() -> security_compute_sid()

Type Parameter Key Value
PARAM_VALUE 0 ssid 1-19995
PARAM_VALUE 1 tsid 1-19995
PARAM_VALUE 3 specified 64
PARAM_VALUE 4 objname 0
PARAM_VALUE 5 out_sid 8024798639504138240
PARAM_VALUE 6 kern 0
DATA_SOURCE 0 ssid $0
DATA_SOURCE 1 tsid $1
DATA_SOURCE 2 orig_tclass $2
DATA_SOURCE 5 out_sid $3

security/selinux/ss/services.c security_member_sid() -> security_compute_sid()

Type Parameter Key Value
PARAM_VALUE 0 ssid 1-19995
PARAM_VALUE 1 tsid 1-19995
PARAM_VALUE 3 specified 32
PARAM_VALUE 4 objname 0
PARAM_VALUE 5 out_sid 8052073992690593792
PARAM_VALUE 6 kern 0
DATA_SOURCE 0 ssid $0
DATA_SOURCE 1 tsid $1
DATA_SOURCE 2 orig_tclass $2
DATA_SOURCE 5 out_sid $3

security/selinux/ss/services.c security_transition_sid() -> security_compute_sid()

Type Parameter Key Value
PARAM_VALUE 3 specified 16
PARAM_VALUE 5 out_sid 4096-ptr_max
PARAM_VALUE 6 kern 1
DATA_SOURCE 0 ssid $0
DATA_SOURCE 1 tsid $1
DATA_SOURCE 2 orig_tclass $2
DATA_SOURCE 5 out_sid $4
STR_LEN 0 ssid (-1),29
RX_PATH
TASK_NOT_RUNNING
UNITS 4 objname unit_byte
HALF_LOCKED2 &sbsec->lock

security/selinux/ss/services.c security_transition_sid_user() -> security_compute_sid()

Type Parameter Key Value
PARAM_VALUE 0 ssid 1-19995
PARAM_VALUE 1 tsid 1-19995
PARAM_VALUE 3 specified 16
PARAM_VALUE 4 objname 0,4096-ptr_max
PARAM_VALUE 5 out_sid 2544608970697551872
PARAM_VALUE 6 kern 0
BUF_SIZE 4 objname 0-4088
BUF_SIZE 4 objname 0-4088
DATA_SOURCE 0 ssid $0
DATA_SOURCE 1 tsid $1
DATA_SOURCE 2 orig_tclass $2
DATA_SOURCE 4 objname $3
DATA_SOURCE 5 out_sid $4