log_msg
if ((r = sshbuf_put_u32(log_msg, 0)) != 0 || /* length; filled below */
(r = sshbuf_put_u32(log_msg, level)) != 0 ||
(r = sshbuf_put_u32(log_msg, forced)) != 0 ||
(r = sshbuf_put_cstring(log_msg, msg)) != 0)
if ((len = sshbuf_len(log_msg)) < 4 || len > 0xffffffff)
POKE_U32(sshbuf_mutable_ptr(log_msg), len - 4);
sshbuf_mutable_ptr(log_msg), len) != len)
sshbuf_free(log_msg);
struct sshbuf *log_msg;
if ((log_msg = sshbuf_new()) == NULL)
SYSINIT(ucode_log, SI_SUB_CPU, SI_ORDER_FIRST, log_msg, NULL);