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/apparmor/file.c __aa_path_perm() -> aa_str_perms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_rules | 4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->start | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 0 |
| PARAM_VALUE | 3 | cond | 4096-ptr_max |
| PARAM_VALUE | 4 | perms | 4048704588912881664,5953789125568098304 |
| DATA_SOURCE | 2 | name | $3 |
| DATA_SOURCE | 3 | cond | $5 |
| DATA_SOURCE | 4 | perms | $7 |
| NOCHECK_CALL |
security/apparmor/file.c profile_path_link() -> aa_str_perms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_rules | 4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->start | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 0 |
| PARAM_VALUE | 2 | *name | 0-255 |
| PARAM_VALUE | 3 | cond | 5652888204840779776 |
| PARAM_VALUE | 4 | perms | 7723755262299877376 |
| PARAM_VALUE | 4 | perms->allow | 0 |
| PARAM_VALUE | 4 | perms->audit | 0 |
| PARAM_VALUE | 4 | perms->complain | 0 |
| PARAM_VALUE | 4 | perms->cond | 0 |
| PARAM_VALUE | 4 | perms->deny | 0 |
| PARAM_VALUE | 4 | perms->hide | 0 |
| PARAM_VALUE | 4 | perms->kill | 0 |
| PARAM_VALUE | 4 | perms->label | 0 |
| PARAM_VALUE | 4 | perms->prompt | 0 |
| PARAM_VALUE | 4 | perms->quiet | 0 |
| PARAM_VALUE | 4 | perms->subtree | 0 |
| PARAM_VALUE | 4 | perms->tag | 0 |
| PARAM_VALUE | 4 | perms->xindex | 0 |
| DATA_SOURCE | 3 | cond | $6 |
security/apparmor/file.c profile_path_link() -> aa_str_perms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_rules | 4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->dfa | 4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->perms | 0,4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->start | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 0 |
| PARAM_VALUE | 2 | *name | 0-255 |
| PARAM_VALUE | 3 | cond | 5652888204840779776 |
| PARAM_VALUE | 4 | perms | 1883770846014210048 |
| DATA_SOURCE | 1 | start | r aa_dfa_null_transition |
| DATA_SOURCE | 3 | cond | $6 |
| NOCHECK_CALL |
security/apparmor/file.c profile_path_link() -> aa_str_perms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_rules | 4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->dfa | 4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->perms | 0,4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->start | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 0 |
| PARAM_VALUE | 2 | *name | 0 |
| PARAM_VALUE | 3 | cond | 5652888204840779776 |
| PARAM_VALUE | 4 | perms | 1883770846014210048 |
| PARAM_VALUE | 4 | perms->allow | 262144-u32max |
| DATA_SOURCE | 3 | cond | $6 |
| NOCHECK_CALL |
security/apparmor/domain.c profile_onexec() -> aa_str_perms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_rules | 4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->start | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 0 |
| PARAM_VALUE | 2 | *name | 0-255 |
| PARAM_VALUE | 3 | cond | 8379855697492299776 |
| PARAM_VALUE | 4 | perms | 5961077081502613504 |
| PARAM_VALUE | 4 | perms->allow | 0 |
| PARAM_VALUE | 4 | perms->audit | 0 |
| PARAM_VALUE | 4 | perms->complain | 0 |
| PARAM_VALUE | 4 | perms->cond | 0 |
| PARAM_VALUE | 4 | perms->deny | 0 |
| PARAM_VALUE | 4 | perms->hide | 0 |
| PARAM_VALUE | 4 | perms->kill | 0 |
| PARAM_VALUE | 4 | perms->label | 0 |
| PARAM_VALUE | 4 | perms->prompt | 0 |
| PARAM_VALUE | 4 | perms->quiet | 0 |
| PARAM_VALUE | 4 | perms->subtree | 0 |
| PARAM_VALUE | 4 | perms->tag | 0 |
| PARAM_VALUE | 4 | perms->xindex | 0 |
| DATA_SOURCE | 3 | cond | $6 |
security/apparmor/domain.c profile_transition() -> aa_str_perms()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_rules | 4096-ptr_max |
| PARAM_VALUE | 0 | file_rules->start | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 0 |
| PARAM_VALUE | 2 | *name | 0-255 |
| PARAM_VALUE | 3 | cond | 8379855697492299776 |
| PARAM_VALUE | 4 | perms | 5059720507478188032 |
| PARAM_VALUE | 4 | perms->allow | 0 |
| PARAM_VALUE | 4 | perms->audit | 0 |
| PARAM_VALUE | 4 | perms->complain | 0 |
| PARAM_VALUE | 4 | perms->cond | 0 |
| PARAM_VALUE | 4 | perms->deny | 0 |
| PARAM_VALUE | 4 | perms->hide | 0 |
| PARAM_VALUE | 4 | perms->kill | 0 |
| PARAM_VALUE | 4 | perms->label | 0 |
| PARAM_VALUE | 4 | perms->prompt | 0 |
| PARAM_VALUE | 4 | perms->quiet | 0 |
| PARAM_VALUE | 4 | perms->subtree | 0 |
| PARAM_VALUE | 4 | perms->tag | 0 |
| PARAM_VALUE | 4 | perms->xindex | 0 |
| DATA_SOURCE | 3 | cond | $4 |