Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/auditfilter.c audit_data_to_entry() -> audit_alloc_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | krule | 4096-ptr_max |
| PARAM_VALUE | 0 | krule->action | 0,2 |
| PARAM_VALUE | 0 | krule->exe | 0 |
| PARAM_VALUE | 0 | krule->field_count | 0-64 |
| PARAM_VALUE | 0 | krule->fields | 4096-ptr_max |
| PARAM_VALUE | 0 | krule->flags | 0,16 |
| PARAM_VALUE | 0 | krule->listnr | 0-1,4-7 |
| PARAM_VALUE | 1 | pathname | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-4096 |
| PARAM_VALUE | 3 | ctx | 0 |
| BUF_SIZE | 1 | pathname | 2-4097 |
| BUF_SIZE | 1 | pathname | 2-4097 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | pathname | r audit_unpack_string |
| TERMINATED | 1 | pathname | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | krule->action | 0[u] |
| USER_DATA | 0 | krule->field_count | 0-64[u] |
| USER_DATA | 0 | krule->flags | 0,16[c] |
| USER_DATA | 0 | krule->listnr | 0-1,4-7[c] |
| USER_DATA | 1 | *pathname | 0-255 |
| USER_DATA | 2 | len | 2-4096[c] |
| NO_OVERFLOW_SIMPLE | 0 | krule->field_count | |
| USER_PTR | 1 | pathname | |
| LOCK2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
kernel/audit_watch.c audit_dupe_exe() -> audit_alloc_mark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | krule | 4096-ptr_max |
| PARAM_VALUE | 0 | krule->fields | 4096-ptr_max |
| PARAM_VALUE | 0 | krule->mask | 4096-ptr_max |
| PARAM_VALUE | 1 | pathname | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-1010101 |
| PARAM_VALUE | 3 | ctx | 0,849862494589820928 |
| PARAM_VALUE | 3 | ctx->child | 0,4096-ptr_max |
| BUF_SIZE | 0 | krule | 376 |
| DATA_SOURCE | 0 | krule | $0 |
| DATA_SOURCE | 1 | pathname | r kstrdup |
| DATA_SOURCE | 3 | ctx | $2 |
| STR_LEN | 0 | krule | 0-1010101 |
| LOCK2 | global &audit_filter_mutex |