Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 6 files:
- kernel/audit.c
- kernel/auditsc.c
- net/core/dev.c, line 9657
- security/ipe/audit.c, line 271
- security/selinux/selinuxfs.c
- security/selinux/ss/services.c
Smatch caller information:
kernel/auditsc.c __audit_fanotify() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| PARAM_VALUE | 2 | type | 1331 |
| PARAM_VALUE | 3 | fmt | 1757576522009010176 |
| PARAM_VALUE | 4 | $ | 0-35 |
| PARAM_VALUE | 5 | $ | 0 |
| BUF_SIZE | 3 | fmt | 56 |
| DATA_SOURCE | 4 | $ | $0 |
| STR_LEN | 0 | ctx | 55 |
| BIT_INFO | 4 | $ | 0x0,0x23 |
| TERMINATED | 3 | fmt | 1 |
| NOCHECK_CALL |
kernel/auditsc.c __audit_fanotify() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| PARAM_VALUE | 2 | type | 1331 |
| PARAM_VALUE | 3 | fmt | 245376769902317568 |
| PARAM_VALUE | 4 | $ | 0-35 |
| PARAM_VALUE | 5 | $ | 1 |
| BUF_SIZE | 3 | fmt | 59 |
| DATA_SOURCE | 4 | $ | $0 |
| STR_LEN | 0 | ctx | 58 |
| BIT_INFO | 4 | $ | 0x0,0x23 |
| TERMINATED | 3 | fmt | 1 |
| NOCHECK_CALL |
kernel/audit.c audit_init() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 0 |
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| PARAM_VALUE | 2 | type | 2000 |
| PARAM_VALUE | 3 | fmt | 5300715313200164864 |
| BUF_SIZE | 3 | fmt | 41 |
| STR_LEN | 0 | ctx | 40 |
| TERMINATED | 3 | fmt | 1 |
| NOCHECK_CALL |
security/selinux/ss/services.c security_bounded_transition() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_mask | 2080 |
| PARAM_VALUE | 2 | type | 1401 |
| PARAM_VALUE | 3 | fmt | 8024147796459700224 |
| PARAM_VALUE | 4 | *$ | 0-255 |
| PARAM_VALUE | 5 | *$ | 0-255 |
| BUF_SIZE | 3 | fmt | 75 |
| STR_LEN | 0 | ctx | 74 |
| TERMINATED | 3 | fmt | 1 |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
security/selinux/ss/services.c security_set_bools() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_mask | 2080 |
| PARAM_VALUE | 2 | type | 1405 |
| PARAM_VALUE | 3 | fmt | 7099388905963859968 |
| PARAM_VALUE | 5 | $ | 0-1 |
| BUF_SIZE | 3 | fmt | 41 |
| FUZZY_MAX | 5 | $ | 1 |
| STR_LEN | 0 | ctx | 40 |
| PARAM_COMPARE | 5 | $ | != $6 |
| PARAM_COMPARE | 6 | $ | != $5 |
| TERMINATED | 3 | fmt | 1 |
| HARD_MAX | 5 | $ | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/services.c security_validtrans_handle_fail() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_mask | 2080 |
| PARAM_VALUE | 2 | type | 1401 |
| PARAM_VALUE | 3 | fmt | 9174133761950859264 |
| PARAM_VALUE | 4 | *$ | 0-255 |
| PARAM_VALUE | 5 | *$ | 0-255 |
| PARAM_VALUE | 6 | *$ | 0-255 |
| BUF_SIZE | 3 | fmt | 101 |
| STR_LEN | 0 | ctx | 100 |
| TERMINATED | 3 | fmt | 1 |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
security/selinux/selinuxfs.c sel_write_enforce() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| PARAM_VALUE | 2 | type | 1404 |
| PARAM_VALUE | 3 | fmt | 3266180107318247424 |
| BUF_SIZE | 3 | fmt | 87 |
| DATA_SOURCE | 5 | $ | r enforcing_enabled |
| STR_LEN | 0 | ctx | 86 |
| PARAM_COMPARE | 4 | $ | != $5 |
| PARAM_COMPARE | 5 | $ | != $4 |
| TERMINATED | 3 | fmt | 1 |
| NOCHECK_CALL |
security/selinux/selinuxfs.c sel_write_load() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| PARAM_VALUE | 2 | type | 1403 |
| PARAM_VALUE | 3 | fmt | 1793526953571217408 |
| BUF_SIZE | 3 | fmt | 33 |
| STR_LEN | 0 | ctx | 32 |
| TERMINATED | 3 | fmt | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/ipe/audit.c ipe_audit_enforce() -> audit_log()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_mask | 3264 |
| PARAM_VALUE | 2 | type | 1404 |
| PARAM_VALUE | 3 | fmt | 2782038342425907200 |
| BUF_SIZE | 3 | fmt | 83 |
| DATA_SOURCE | 4 | $ | $0 |
| DATA_SOURCE | 5 | $ | $1 |
| STR_LEN | 0 | ctx | 82 |
| TERMINATED | 3 | fmt | 1 |
| NOCHECK_CALL |