sd_event *event;
int r;
+ assert(source);
+ assert(fd >= 0);
assert(userdata);
if (revents != EPOLLIN) {
}
static int on_child_exit(sd_event_source *s, const siginfo_t *si, void *userdata) {
+ assert(s);
assert(si);
/* Let's first do some logging about the exit status of the child. */
static int cmdline_add_vsock(char ***cmdline, int vsock_fd) {
int r;
+ assert(cmdline);
+ assert(vsock_fd >= 0);
+
r = strv_extend(cmdline, "-smbios");
if (r < 0)
return r;
int r;
assert(cmdline);
+ assert(smbios_dir);
if (strv_isempty(arg_kernel_cmdline_extra))
return 0;
assert(scope);
assert(swtpm);
assert(runtime_dir);
+ assert(sd_socket_activate);
_cleanup_free_ char *scope_prefix = NULL;
r = unit_name_to_prefix(scope, &scope_prefix);
int r;
assert(scope);
+ assert(sd_socket_activate);
_cleanup_free_ char *scope_prefix = NULL;
r = unit_name_to_prefix(scope, &scope_prefix);