Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/selinux/avc.c avc_has_perm() -> avc_has_perm_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | avd | 5378255258102472704 |
| DATA_SOURCE | 0 | ssid | $0 |
| DATA_SOURCE | 1 | tsid | $1 |
| DATA_SOURCE | 2 | tclass | $2 |
| DATA_SOURCE | 3 | requested | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sbsec->lock | ||
| HALF_LOCKED2 | global &selinux_state.policy_mutex | ||
| HALF_LOCKED2 | rcu_read |
security/selinux/hooks.c cred_has_capability() -> avc_has_perm_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | tclass | 5,53,57-58 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | avd | 1993673762729381888 |
| DATA_SOURCE | 0 | ssid | r cred_sid |
| DATA_SOURCE | 1 | tsid | r cred_sid |
| FUZZY_MAX | 2 | tclass | 58 |
| HARD_MAX | 2 | tclass | 58 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/selinux/hooks.c selinux_inode_permission() -> avc_has_perm_noaudit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | requested | 0,2,4,6,512,514,16384,16386,16388,16390,16896,16898,536870912,536870914,536870916,536870918 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | avd | 590777388543496192 |
| BUF_SIZE | 5 | avd | 20 |
| DATA_SOURCE | 0 | ssid | r current_sid |
| DATA_SOURCE | 3 | requested | r file_mask_to_av |