Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/audit.c audit_receive() -> nlmsg_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nlh | 4096-ptr_max |
| BUF_SIZE | 0 | nlh | (-1),1-s32max |
| BUF_SIZE | 0 | nlh | (-1),1-s32max |
| NOSPEC | 0 | nlh->nlmsg_len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nlh->nlmsg_flags | 0-u16max |
| USER_DATA | 0 | nlh->nlmsg_len | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_pid | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_seq | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_type | 0-u16max |
| USER_DATA | 1 | remaining | 16-s32max[c][u] |
| NO_OVERFLOW_SIMPLE | 1 | remaining | |
| UNITS | 0 | nlh | unit_byte |
| UNITS | 1 | remaining | unit_byte |
| USER_PTR | 0 | nlh | |
| 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.c audit_receive() -> nlmsg_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nlh | 4096-ptr_max |
| PARAM_VALUE | 1 | remaining | 16-s32max |
| DATA_SOURCE | 0 | nlh | r nlmsg_next |
| NOSPEC | 0 | nlh->nlmsg_len | |
| NOSPEC | 1 | remaining | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nlh->nlmsg_flags | 0-u16max |
| USER_DATA | 0 | nlh->nlmsg_len | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_pid | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_seq | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_type | 0-u16max |
| USER_DATA | 1 | remaining | 16-s32max[u] |
| NO_OVERFLOW_SIMPLE | 0 | nlh->nlmsg_len | |
| NO_OVERFLOW_SIMPLE | 1 | remaining | |
| UNITS | 0 | nlh | unit_byte |
| UNITS | 1 | remaining | unit_byte |
| USER_PTR | 0 | nlh | |
| 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 |
net/tipc/netlink_compat.c __tipc_nl_compat_dumpit() -> nlmsg_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | remaining | 0-s32max |
| BUF_SIZE | 0 | nlh | (-1),1-s32max |
| BUF_SIZE | 0 | nlh | (-1),1-s32max |
| NOSPEC | 0 | nlh->nlmsg_len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nlh->nlmsg_flags | 0-u16max |
| USER_DATA | 0 | nlh->nlmsg_len | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_pid | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_seq | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_type | 0-u16max |
| USER_DATA | 1 | remaining | 16-s32max[c][u] |
| UNITS | 0 | nlh | unit_byte |
| UNITS | 1 | remaining | unit_byte |
| USER_PTR | 0 | nlh |
net/tipc/netlink_compat.c __tipc_nl_compat_dumpit() -> nlmsg_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nlh | 4096-ptr_max |
| PARAM_VALUE | 1 | remaining | 16-s32max |
| DATA_SOURCE | 0 | nlh | r nlmsg_next |
| NOSPEC | 0 | nlh->nlmsg_len | |
| NOSPEC | 1 | remaining | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nlh->nlmsg_flags | 0-u16max |
| USER_DATA | 0 | nlh->nlmsg_len | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_pid | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_seq | 0-u32max |
| USER_DATA | 0 | nlh->nlmsg_type | 0-u16max |
| USER_DATA | 1 | remaining | 16-s32max[u] |
| UNITS | 0 | nlh | unit_byte |
| UNITS | 1 | remaining | unit_byte |
| USER_PTR | 0 | nlh |