assert_se 51 src/analyze/analyze-verify.c assert_se(strv_uniq(ans)); assert_se 229 src/analyze/analyze-verify.c assert_se(set_unit_path(var) >= 0); assert_se 393 src/bootchart/bootchart.c assert_se(r > 0); assert_se 463 src/bootchart/bootchart.c assert_se(r > 0); assert_se 200 src/bootchart/svg.c assert_se(r > 0); assert_se 176 src/cgtop/cgtop.c assert_se(clock_gettime(CLOCK_MONOTONIC, &ts) == 0); assert_se 261 src/cgtop/cgtop.c assert_se(clock_gettime(CLOCK_MONOTONIC, &ts) == 0); assert_se 688 src/core/dbus.c assert_se(sd_id128_randomize(&id) >= 0); assert_se 658 src/core/execute.c assert_se((ngroups_max = (int) sysconf(_SC_NGROUPS_MAX)) > 0); assert_se 210 src/core/killall.c assert_se(sigemptyset(&mask) == 0); assert_se 211 src/core/killall.c assert_se(sigaddset(&mask, SIGCHLD) == 0); assert_se 212 src/core/killall.c assert_se(sigprocmask(SIG_BLOCK, &mask, &oldmask) == 0); assert_se 225 src/core/killall.c assert_se(sigprocmask(SIG_SETMASK, &oldmask, NULL) == 0); assert_se 3711 src/core/load-fragment.c assert_se(p = load_fragment_gperf_lookup(i, strlen(i))); assert_se 202 src/core/main.c assert_se(sigaction(SIGCHLD, &sa, NULL) == 0); assert_se 1419 src/core/main.c assert_se(reset_all_signal_handlers() == 0); assert_se 1487 src/core/main.c assert_se(arg_action == ACTION_RUN || arg_action == ACTION_TEST); assert_se 1502 src/core/main.c assert_se(fdset_remove(fds, fileno(arg_serialization)) >= 0); assert_se 1509 src/core/main.c assert_se(chdir("/") == 0); assert_se 1826 src/core/main.c assert_se(shutdown_verb = table[m->exit_code]); assert_se 402 src/core/manager.c assert_se(sigaction(SIGCHLD, &sa, NULL) == 0); assert_se 409 src/core/manager.c assert_se(sigemptyset(&mask) == 0); assert_se 462 src/core/manager.c assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0); assert_se 284 src/core/transaction.c assert_se(job_type_merge_and_collapse(&t, k->type, j->unit) == 0); assert_se 163 src/core/unit.c assert_se((t = unit_name_to_type(s)) >= 0); assert_se 596 src/core/unit.c assert_se(hashmap_replace(u->manager->units, t, u) == 0); assert_se 656 src/core/unit.c assert_se(complete_move(&u->dependencies[d], &other->dependencies[d]) == 0); assert_se 770 src/core/unit.c assert_se(u = u->merged_into); assert_se 87 src/hostname/hostnamed.c assert_se(uname(&u) >= 0); assert_se 124 src/journal-remote/journal-remote-write.c assert_se(++ w->n_ref >= 2); assert_se 798 src/journal-remote/journal-remote.c assert_se(sigemptyset(&mask) == 0); assert_se 800 src/journal-remote/journal-remote.c assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0); assert_se 413 src/journal-remote/journal-upload.c assert_se(sigemptyset(&mask) == 0); assert_se 415 src/journal-remote/journal-upload.c assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0); assert_se 125 src/journal-remote/microhttpd-util.c assert_se(message); assert_se 666 src/journal/catalog.c assert_se(s = find_id(p, items[n].id)); assert_se 69 src/journal/journald-console.c assert_se(clock_gettime(CLOCK_MONOTONIC, &ts) == 0); assert_se 1267 src/journal/journald-server.c assert_se(sigemptyset(&mask) == 0); assert_se 1269 src/journal/journald-server.c assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0); assert_se 256 src/journal/mmap-cache.c assert_se(hashmap_remove(c->cache->contexts, UINT_TO_PTR(c->id + 1))); assert_se 268 src/journal/mmap-cache.c assert_se(hashmap_remove(f->cache->fds, INT_TO_PTR(f->fd + 1))); assert_se 1319 src/journal/sd-journal.c assert_se(snprintf(prefix, sizeof(prefix), "user-"UID_FMT, getuid()) assert_se 1565 src/libsystemd-network/sd-dhcp-client.c assert_se(REFCNT_INC(client->n_ref) >= 2); assert_se 189 src/libsystemd-network/sd-dhcp-lease.c assert_se(REFCNT_INC(lease->n_ref) >= 2); assert_se 78 src/libsystemd-network/sd-dhcp-server.c assert_se(REFCNT_INC(server->n_ref) >= 2); assert_se 1179 src/libsystemd-network/sd-dhcp6-client.c assert_se(REFCNT_INC(client->n_ref) >= 2); assert_se 190 src/libsystemd-network/sd-dhcp6-lease.c assert_se(REFCNT_INC(lease->n_ref) >= 2); assert_se 132 src/libsystemd-network/sd-icmp6-nd.c assert_se(REFCNT_INC(nd->n_ref) >= 2); assert_se 602 src/libsystemd-network/sd-ipv4ll.c assert_se(REFCNT_INC(ll->n_ref) >= 2); assert_se 278 src/libsystemd/sd-bus/bus-kernel.c assert_se(clock_gettime(CLOCK_MONOTONIC_COARSE, &now) == 0); assert_se 681 src/libsystemd/sd-bus/bus-kernel.c assert_se(prctl(PR_GET_NAME, (unsigned long) pr) >= 0); assert_se 1118 src/libsystemd/sd-bus/bus-kernel.c assert_se(pthread_mutex_lock(&bus->memfd_cache_mutex) >= 0); assert_se 1124 src/libsystemd/sd-bus/bus-kernel.c assert_se(pthread_mutex_unlock(&bus->memfd_cache_mutex) >= 0); assert_se 1152 src/libsystemd/sd-bus/bus-kernel.c assert_se(pthread_mutex_unlock(&bus->memfd_cache_mutex) >= 0); assert_se 1159 src/libsystemd/sd-bus/bus-kernel.c assert_se(munmap(address, PAGE_ALIGN(size)) >= 0); assert_se 1176 src/libsystemd/sd-bus/bus-kernel.c assert_se(pthread_mutex_lock(&bus->memfd_cache_mutex) >= 0); assert_se 1179 src/libsystemd/sd-bus/bus-kernel.c assert_se(pthread_mutex_unlock(&bus->memfd_cache_mutex) >= 0); assert_se 1191 src/libsystemd/sd-bus/bus-kernel.c assert_se(ftruncate(fd, max_mapped) >= 0); assert_se 1192 src/libsystemd/sd-bus/bus-kernel.c assert_se(munmap((uint8_t*) address + max_mapped, PAGE_ALIGN(mapped - max_mapped)) >= 0); assert_se 1199 src/libsystemd/sd-bus/bus-kernel.c assert_se(pthread_mutex_unlock(&bus->memfd_cache_mutex) >= 0); assert_se 72 src/libsystemd/sd-bus/bus-message.c assert_se(munmap(part->data, part->mapped) == 0); assert_se 2475 src/libsystemd/sd-bus/bus-message.c assert_se(align > 0); assert_se 2476 src/libsystemd/sd-bus/bus-message.c assert_se(sz > 0); assert_se 2592 src/libsystemd/sd-bus/bus-message.c assert_se(align > 0); assert_se 2593 src/libsystemd/sd-bus/bus-message.c assert_se(sz > 0); assert_se 2853 src/libsystemd/sd-bus/bus-message.c assert_se(part); assert_se 2889 src/libsystemd/sd-bus/bus-message.c assert_se(part); assert_se 2900 src/libsystemd/sd-bus/bus-message.c assert_se(munmap(part->data, part->mapped) == 0); assert_se 1996 src/libsystemd/sd-bus/bus-objects.c assert_se(v = hashmap_get(bus->vtable_properties, &key)); assert_se 749 src/libsystemd/sd-bus/bus-socket.c assert_se(dup3(s[1], STDIN_FILENO, 0) == STDIN_FILENO); assert_se 750 src/libsystemd/sd-bus/bus-socket.c assert_se(dup3(s[1], STDOUT_FILENO, 0) == STDOUT_FILENO); assert_se 156 src/libsystemd/sd-bus/sd-bus.c assert_se(pthread_mutex_destroy(&b->memfd_cache_mutex) == 0); assert_se 178 src/libsystemd/sd-bus/sd-bus.c assert_se(pthread_mutex_init(&r->memfd_cache_mutex, NULL) == 0); assert_se 1374 src/libsystemd/sd-bus/sd-bus.c assert_se(REFCNT_INC(bus->n_ref) >= 2); assert_se 2092 src/libsystemd/sd-bus/sd-bus.c assert_se(prioq_pop(bus->reply_callbacks_prioq) == c); assert_se 418 src/libsystemd/sd-event/sd-event.c assert_se(sigemptyset(&e->sigset) == 0); assert_se 672 src/libsystemd/sd-event/sd-event.c assert_se(sigdelset(&s->event->sigset, s->signal.sig) == 0); assert_se 690 src/libsystemd/sd-event/sd-event.c assert_se(sigdelset(&s->event->sigset, SIGCHLD) == 0); assert_se 764 src/libsystemd/sd-event/sd-event.c assert_se(prioq_remove(s->event->pending, s, &s->pending_index)); assert_se 1025 src/libsystemd/sd-event/sd-event.c assert_se(sigaddset(&e->sigset, sig) == 0); assert_se 1088 src/libsystemd/sd-event/sd-event.c assert_se(sigaddset(&e->sigset, SIGCHLD) == 0); assert_se 1472 src/libsystemd/sd-event/sd-event.c assert_se(sigdelset(&s->event->sigset, s->signal.sig) == 0); assert_se 1490 src/libsystemd/sd-event/sd-event.c assert_se(sigdelset(&s->event->sigset, SIGCHLD) == 0); assert_se 1542 src/libsystemd/sd-event/sd-event.c assert_se(sigaddset(&s->event->sigset, s->signal.sig) == 0); assert_se 1558 src/libsystemd/sd-event/sd-event.c assert_se(sigaddset(&s->event->sigset, s->signal.sig) == 0); assert_se 1848 src/libsystemd/sd-event/sd-event.c assert_se(b && b->enabled != SD_EVENT_OFF); assert_se 1854 src/libsystemd/sd-event/sd-event.c assert_se(d->fd >= 0); assert_se 490 src/libsystemd/sd-resolve/sd-resolve.c assert_se(sigfillset(&fullset) == 0); assert_se 491 src/libsystemd/sd-resolve/sd-resolve.c assert_se(pthread_sigmask(SIG_BLOCK, &fullset, NULL) == 0); assert_se 395 src/libsystemd/sd-rtnl/rtnl-message.c assert_se(REFCNT_INC(m->n_ref) >= 2); assert_se 148 src/libsystemd/sd-rtnl/sd-rtnl.c assert_se(REFCNT_INC(rtnl->n_ref) >= 2); assert_se 347 src/libsystemd/sd-rtnl/sd-rtnl.c assert_se(prioq_pop(rtnl->reply_callbacks_prioq) == c); assert_se 763 src/machine/machinectl.c assert_se(sigemptyset(&mask) == 0); assert_se 765 src/machine/machinectl.c assert_se(sigprocmask(SIG_BLOCK, &mask, NULL) == 0); assert_se 275 src/network/networkd-link.c assert_se(++ link->n_ref >= 2); assert_se 129 src/network/networkd-netdev.c assert_se(++ netdev->n_ref >= 2); assert_se 112 src/network/networkd-wait-online.c assert_se(sigprocmask_many(SIG_BLOCK, SIGTERM, SIGINT, -1) == 0); assert_se 78 src/network/networkd.c assert_se(sigprocmask_many(SIG_BLOCK, SIGTERM, SIGINT, -1) == 0); assert_se 3155 src/nspawn/nspawn.c assert_se(sigemptyset(&mask) == 0); assert_se 3156 src/nspawn/nspawn.c assert_se(sigemptyset(&mask_chld) == 0); assert_se 3159 src/nspawn/nspawn.c assert_se(sigprocmask(SIG_BLOCK, &mask, NULL) == 0); assert_se 275 src/readahead/readahead-collect.c assert_se(sigemptyset(&mask) == 0); assert_se 277 src/readahead/readahead-collect.c assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0); assert_se 197 src/readahead/readahead-common.c assert_se(sysinfo(&si) >= 0); assert_se 74 src/resolve/resolved-dns-cache.c assert_se(hashmap_replace(c->by_key, first->key, first) >= 0); assert_se 210 src/resolve/resolved-dns-cache.c assert_se(hashmap_replace(c->by_key, first->key, first) >= 0); assert_se 246 src/resolve/resolved-dns-cache.c assert_se(hashmap_replace(c->by_key, rr->key, i) >= 0); assert_se 68 src/resolve/resolved-dns-zone.c assert_se(hashmap_replace(z->by_key, first->rr->key, first) >= 0); assert_se 75 src/resolve/resolved-dns-zone.c assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0); assert_se 147 src/resolve/resolved-dns-zone.c assert_se(hashmap_replace(z->by_key, first->rr->key, first) >= 0); assert_se 157 src/resolve/resolved-dns-zone.c assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0); assert_se 73 src/resolve/resolved.c assert_se(sigprocmask_many(SIG_BLOCK, SIGTERM, SIGINT, -1) == 0); assert_se 131 src/shared/architecture.c assert_se(uname(&u) >= 0); assert_se 325 src/shared/ask-password-api.c assert_se(sigemptyset(&mask) == 0); assert_se 327 src/shared/ask-password-api.c assert_se(sigprocmask(SIG_BLOCK, &mask, &oldmask) == 0); assert_se 543 src/shared/ask-password-api.c assert_se(sigprocmask(SIG_SETMASK, &oldmask, NULL) == 0); assert_se 76 src/shared/async.c assert_se(close_nointr(PTR_TO_INT(p)) != -EBADF); assert_se 94 src/shared/async.c assert_se(close_nointr(fd) != -EBADF); assert_se 992 src/shared/calendarspec.c assert_se(localtime_r(&t, &tm)); assert_se 119 src/shared/clock-util.c assert_se(clock_gettime(CLOCK_REALTIME, &ts) == 0); assert_se 120 src/shared/clock-util.c assert_se(tm = localtime(&ts.tv_sec)); assert_se 1178 src/shared/install.c assert_se(i = ordered_hashmap_first(c.will_install)); assert_se 1411 src/shared/install.c assert_se(ordered_hashmap_move_one(c->have_installed, c->will_install, i->name) == 0); assert_se 1458 src/shared/install.c assert_se(ordered_hashmap_move_one(c->have_installed, c->will_install, i->name) == 0); assert_se 1565 src/shared/install.c assert_se(ordered_hashmap_move_one(c.have_installed, c.will_install, info->name) == 0); assert_se 1734 src/shared/install.c assert_se(i = ordered_hashmap_first(c.will_install)); assert_se 211 src/shared/macro.h #define assert(expr) assert_se(expr) assert_se 34 src/shared/time-util.c assert_se(clock_gettime(clock_id, &ts) == 0); assert_se 465 src/shared/time-util.c assert_se(localtime_r(&x, &tm)); assert_se 167 src/shared/unit-name.c assert_se(d = strrchr(n, '.')); assert_se 191 src/shared/unit-name.c assert_se(e = strrchr(n, '.')); assert_se 216 src/shared/util.c assert_se(close_nointr(fd) != -EBADF); assert_se 1534 src/shared/util.c assert_se(getrlimit(RLIMIT_NOFILE, &rl) >= 0); assert_se 2004 src/shared/util.c assert_se(sigaction(SIGHUP, &sa_new, &sa_old) == 0); assert_se 2010 src/shared/util.c assert_se(sigaction(SIGHUP, &sa_old, NULL) == 0); assert_se 2121 src/shared/util.c assert_se(sigaction(SIGHUP, &sa_new, &sa_old) == 0); assert_se 2126 src/shared/util.c assert_se(sigaction(SIGHUP, &sa_old, NULL) == 0); assert_se 2573 src/shared/util.c assert_se(sigaddset(ss, sig) == 0); assert_se 2582 src/shared/util.c assert_se(sigemptyset(&ss) == 0); assert_se 2586 src/shared/util.c assert_se(sigaddset(&ss, sig) == 0); assert_se 2598 src/shared/util.c assert_se(uname(&u) >= 0); assert_se 2609 src/shared/util.c assert_se(uname(&u) >= 0); assert_se 3910 src/shared/util.c assert_se(prctl(PR_SET_PDEATHSIG, SIGTERM) == 0); assert_se 3949 src/shared/util.c assert_se(prctl(PR_SET_PDEATHSIG, SIGTERM) == 0); assert_se 5114 src/shared/util.c assert_se(sigfillset(&ss) >= 0); assert_se 5115 src/shared/util.c assert_se(sigprocmask(SIG_SETMASK, &ss, &saved_ss) >= 0); assert_se 5119 src/shared/util.c assert_se(sigprocmask(SIG_SETMASK, &saved_ss, NULL) >= 0); assert_se 5124 src/shared/util.c assert_se(sigprocmask(SIG_SETMASK, &saved_ss, NULL) >= 0); assert_se 5210 src/shared/util.c assert_se(getrlimit(resource, &highest) == 0); assert_se 5228 src/systemctl/systemctl.c assert_se(strv_remove(args + f - 1, name)); assert_se 6365 src/systemctl/systemctl.c assert_se(localtime_r(&s, &tm)); assert_se 6371 src/systemctl/systemctl.c assert_se(s = mktime(&tm)); assert_se 1347 src/sysusers/sysusers.c assert_se(sz > 0); assert_se 1580 src/sysusers/sysusers.c assert_se(hashmap_update(members, resolved_id, l) >= 0); assert_se 127 src/timedate/timedatectl.c assert_se(strftime(a, sizeof(a), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&sec, &tm)) > 0); assert_se 132 src/timedate/timedatectl.c assert_se(strftime(a, sizeof(a), "%a %Y-%m-%d %H:%M:%S UTC", gmtime_r(&sec, &tm)) > 0); assert_se 145 src/timedate/timedatectl.c assert_se(strftime(a, sizeof(a), "%a %Y-%m-%d %H:%M:%S", gmtime_r(&rtc_sec, &tm)) > 0); assert_se 153 src/timedate/timedatectl.c assert_se(strftime(a, sizeof(a), "%Z, %z", localtime_r(&sec, &tm)) > 0); assert_se 177 src/timedate/timedatectl.c assert_se(strftime(a, sizeof(a), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&t, &tm)) > 0); assert_se 181 src/timedate/timedatectl.c assert_se(strftime(b, sizeof(b), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&tc, &tm)) > 0); assert_se 190 src/timedate/timedatectl.c assert_se(strftime(a, sizeof(a), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&t, &tm)) > 0); assert_se 194 src/timedate/timedatectl.c assert_se(strftime(b, sizeof(b), "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&tn, &tm)) > 0); assert_se 492 src/timedate/timedated.c assert_se(clock_gettime(CLOCK_REALTIME, &ts) == 0); assert_se 493 src/timedate/timedated.c assert_se(tm = localtime(&ts.tv_sec)); assert_se 544 src/timedate/timedated.c assert_se(clock_gettime(CLOCK_REALTIME, &ts) == 0); assert_se 195 src/timesync/timesyncd-manager.c assert_se(clock_gettime(clock_boottime_or_monotonic(), &m->trans_time_mon) >= 0); assert_se 196 src/timesync/timesyncd-manager.c assert_se(clock_gettime(CLOCK_REALTIME, &m->trans_time) >= 0); assert_se 116 src/timesync/timesyncd.c assert_se(sigprocmask_many(SIG_BLOCK, SIGTERM, SIGINT, -1) == 0); assert_se 491 src/tty-ask-password-agent/tty-ask-password-agent.c assert_se(sigemptyset(&mask) == 0); assert_se 493 src/tty-ask-password-agent/tty-ask-password-agent.c assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0);