Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/selinux/ss/services.c security_compute_av() -> context_struct_compute_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policydb | 4096-ptr_max |
| PARAM_VALUE | 1 | scontext | 4096-ptr_max |
| PARAM_VALUE | 2 | tcontext | 4096-ptr_max |
| PARAM_VALUE | 4 | avd | 590777388543496192,1959105058394091520,1993673762729381888,5378255258102472704 |
| PARAM_VALUE | 4 | avd->allowed | 0 |
| PARAM_VALUE | 4 | avd->auditallow | 0 |
| PARAM_VALUE | 4 | avd->auditdeny | u32max |
| PARAM_VALUE | 4 | avd->flags | 0-2 |
| PARAM_VALUE | 5 | xperms | 288701766621474816,910315018766802944 |
| PARAM_VALUE | 5 | xperms->len | 0 |
| BUF_SIZE | 0 | policydb | 608 |
| BUF_SIZE | 1 | scontext | 72 |
| BUF_SIZE | 2 | tcontext | 72 |
| CAPPED_DATA | 1 | scontext->type | 1 |
| DATA_SOURCE | 1 | scontext | r sidtab_search |
| DATA_SOURCE | 2 | tcontext | r sidtab_search |
| DATA_SOURCE | 4 | avd | $3 |
| DATA_SOURCE | 5 | xperms | $4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_compute_av_user() -> context_struct_compute_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policydb | 4096-ptr_max |
| PARAM_VALUE | 1 | scontext | 4096-ptr_max |
| PARAM_VALUE | 2 | tcontext | 4096-ptr_max |
| PARAM_VALUE | 3 | tclass | 1-u16max |
| PARAM_VALUE | 4 | avd | 3176640688807645184 |
| PARAM_VALUE | 4 | avd->allowed | 0 |
| PARAM_VALUE | 4 | avd->auditallow | 0 |
| PARAM_VALUE | 4 | avd->auditdeny | u32max |
| PARAM_VALUE | 4 | avd->flags | 0-2 |
| PARAM_VALUE | 5 | xperms | 0 |
| BUF_SIZE | 0 | policydb | 608 |
| BUF_SIZE | 1 | scontext | 72 |
| BUF_SIZE | 2 | tcontext | 72 |
| CAPPED_DATA | 1 | scontext->type | 1 |
| DATA_SOURCE | 1 | scontext | r sidtab_search |
| DATA_SOURCE | 2 | tcontext | r sidtab_search |
| DATA_SOURCE | 3 | tclass | $2 |
| DATA_SOURCE | 4 | avd | $3 |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c type_attribute_bounds_av() -> context_struct_compute_av()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policydb | 4096-ptr_max |
| PARAM_VALUE | 0 | policydb->class_val_to_struct | 4096-ptr_max |
| PARAM_VALUE | 0 | policydb->symtab | 4096-ptr_max |
| PARAM_VALUE | 0 | policydb->type_attr_map_array | 4096-ptr_max |
| PARAM_VALUE | 0 | policydb->type_val_to_struct | 4096-ptr_max |
| PARAM_VALUE | 1 | scontext | 7308194315994562560 |
| PARAM_VALUE | 1 | scontext->type | 1-u32max |
| PARAM_VALUE | 2 | tcontext | 4096-ptr_max |
| PARAM_VALUE | 3 | tclass | 1-u16max |
| PARAM_VALUE | 4 | avd | 217374721186009088 |
| PARAM_VALUE | 5 | xperms | 0 |
| BUF_SIZE | 0 | policydb | (-1),608 |
| BUF_SIZE | 0 | policydb | (-1),608 |
| BUF_SIZE | 2 | tcontext | (-1),72 |
| BUF_SIZE | 2 | tcontext | (-1),72 |
| CAPPED_DATA | 3 | tclass | 1 |
| DATA_SOURCE | 0 | policydb | $0 |
| DATA_SOURCE | 3 | tclass | $3 |
| CONSTRAINT | 3 | tclass | <=3068 |
| MEM_ZERO | 4 | avd | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | tclass | unit_array_size |
| HALF_LOCKED2 | rcu_read |