Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/auditfilter.c audit_data_to_entry() -> security_audit_rule_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | field | 13-17,19-23 |
| PARAM_VALUE | 1 | op | 0-7,9-u32max |
| PARAM_VALUE | 2 | rulestr | 4096-ptr_max |
| PARAM_VALUE | 4 | gfp | 3264 |
| BUF_SIZE | 2 | rulestr | 2-4097 |
| BUF_SIZE | 2 | rulestr | 2-4097 |
| DATA_SOURCE | 1 | op | r audit_to_op |
| DATA_SOURCE | 2 | rulestr | r audit_unpack_string |
| TERMINATED | 2 | rulestr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | field | 13-17,19-23 |
| USER_DATA | 2 | *rulestr | 0-255 |
| USER_PTR | 2 | rulestr | |
| 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/auditfilter.c audit_dupe_lsm_field() -> security_audit_rule_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | field | 13-17,19-23 |
| PARAM_VALUE | 2 | rulestr | 4096-ptr_max |
| PARAM_VALUE | 4 | gfp | 3264 |
| BUF_SIZE | 2 | rulestr | 2-4097 |
| LOCK2 | global &audit_filter_mutex |
security/integrity/ima/ima_policy.c ima_lsm_copy_rule() -> security_audit_rule_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 0 |
| PARAM_VALUE | 2 | rulestr | 1-u64max |
| PARAM_VALUE | 4 | gfp | 2080,3264 |
| DATA_SOURCE | 4 | gfp | $1 |
| HARD_MAX | 4 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
security/integrity/ima/ima_policy.c ima_lsm_rule_init() -> security_audit_rule_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 0 |
| PARAM_VALUE | 2 | rulestr | 4096-ptr_max |
| PARAM_VALUE | 3 | *lsmrule | 0 |
| PARAM_VALUE | 3 | *(*lsmrule) | 0 |
| PARAM_VALUE | 4 | gfp | 3264 |