safe_close 58 src/core/audit-fd.c safe_close(audit_fd); safe_close 93 src/core/automount.c a->pipe_fd = safe_close(a->pipe_fd); safe_close 310 src/core/automount.c m->dev_autofs_fd = safe_close(m->dev_autofs_fd); safe_close 495 src/core/automount.c p[1] = safe_close(p[1]); safe_close 701 src/core/automount.c safe_close(a->pipe_fd); safe_close 795 src/core/automount.c m->dev_autofs_fd = safe_close(m->dev_autofs_fd); safe_close 84 src/core/busname.c n->starter_fd = safe_close(n->starter_fd); safe_close 707 src/core/busname.c safe_close(n->starter_fd); safe_close 920 src/core/cgroup.c safe_close(m->pin_cgroupfs_fd); safe_close 946 src/core/cgroup.c m->pin_cgroupfs_fd = safe_close(m->pin_cgroupfs_fd); safe_close 1093 src/core/dbus.c m->private_listen_fd = safe_close(m->private_listen_fd); safe_close 127 src/core/execute.c safe_close(fds[i]); safe_close 213 src/core/execute.c safe_close(fd); safe_close 281 src/core/execute.c safe_close(fd); safe_close 305 src/core/execute.c safe_close(fd); safe_close 322 src/core/execute.c safe_close(fd); safe_close 382 src/core/execute.c safe_close(fd); safe_close 546 src/core/execute.c safe_close(fd); safe_close 554 src/core/execute.c safe_close(saved_stdout); safe_close 555 src/core/execute.c safe_close(saved_stdin); safe_close 556 src/core/execute.c safe_close(fd); safe_close 596 src/core/execute.c safe_close(*saved_stdin); safe_close 597 src/core/execute.c safe_close(*saved_stdout); safe_close 1157 src/core/execute.c safe_close(idle_pipe[1]); safe_close 1158 src/core/execute.c safe_close(idle_pipe[2]); safe_close 1173 src/core/execute.c safe_close(idle_pipe[0]); safe_close 1177 src/core/execute.c safe_close(idle_pipe[3]); safe_close 2784 src/core/execute.c safe_close((*rt)->netns_storage_socket[0]); safe_close 2797 src/core/execute.c safe_close((*rt)->netns_storage_socket[1]); safe_close 3361 src/core/load-fragment.c safe_close(fd); safe_close 82 src/core/machine-id-setup.c safe_close(fd); safe_close 128 src/core/machine-id-setup.c safe_close(fd); safe_close 236 src/core/machine-id-setup.c fd = safe_close(fd); safe_close 252 src/core/manager.c m->ask_password_inotify_fd = safe_close(m->ask_password_inotify_fd); safe_close 349 src/core/manager.c m->time_change_fd = safe_close(m->time_change_fd); safe_close 941 src/core/manager.c safe_close(m->signal_fd); safe_close 942 src/core/manager.c safe_close(m->notify_fd); safe_close 943 src/core/manager.c safe_close(m->time_change_fd); safe_close 944 src/core/manager.c safe_close(m->kdbus_fd); safe_close 1900 src/core/manager.c m->time_change_fd = safe_close(m->time_change_fd); safe_close 2181 src/core/manager.c safe_close(fd); safe_close 2400 src/core/manager.c safe_close(m->notify_fd); safe_close 2422 src/core/manager.c safe_close(m->kdbus_fd); safe_close 156 src/core/path.c s->inotify_fd = safe_close(s->inotify_fd); safe_close 278 src/core/service.c s->bus_endpoint_fd = safe_close(s->bus_endpoint_fd); safe_close 1913 src/core/service.c safe_close(s->bus_endpoint_fd); safe_close 90 src/core/smack-setup.c safe_close(fd); safe_close 118 src/core/socket.c safe_close(p->fd); safe_close 773 src/core/socket.c p->fd = safe_close(p->fd); safe_close 1014 src/core/socket.c safe_close(fd); safe_close 1050 src/core/socket.c safe_close(fd); safe_close 1108 src/core/socket.c safe_close(fd); safe_close 1754 src/core/socket.c safe_close(cfd); safe_close 1808 src/core/socket.c safe_close(cfd); safe_close 1823 src/core/socket.c safe_close(cfd); safe_close 1874 src/core/socket.c safe_close(cfd); safe_close 2104 src/core/socket.c safe_close(p->fd); safe_close 2123 src/core/socket.c safe_close(p->fd); safe_close 2142 src/core/socket.c safe_close(p->fd); safe_close 2160 src/core/socket.c safe_close(p->fd); safe_close 2178 src/core/socket.c safe_close(p->fd); safe_close 161 src/fsck/fsck.c safe_close(fd); safe_close 351 src/fsck/fsck.c safe_close(progress_pipe[0]); safe_close 356 src/fsck/fsck.c progress_pipe[1] = safe_close(progress_pipe[1]); safe_close 248 src/initctl/initctl.c safe_close(f->fd); safe_close 260 src/initctl/initctl.c safe_close(s->epoll_fd); safe_close 33 src/journal-remote/journal-remote-parse.c safe_close(source->fd); safe_close 152 src/journal/cat.c safe_close(fd); safe_close 170 src/journal/cat.c safe_close(fd); safe_close 171 src/journal/cat.c safe_close(saved_stderr); safe_close 493 src/journal/catalog.c safe_close(fd); safe_close 498 src/journal/catalog.c safe_close(fd); safe_close 504 src/journal/catalog.c safe_close(fd); safe_close 515 src/journal/catalog.c safe_close(fd); safe_close 421 src/journal/journal-authenticate.c safe_close(fd); safe_close 136 src/journal/journal-file.c safe_close(f->fd); safe_close 69 src/journal/journal-send.c safe_close(fd); safe_close 1251 src/journal/journal-verify.c safe_close(data_fd); safe_close 1252 src/journal/journal-verify.c safe_close(entry_fd); safe_close 1253 src/journal/journal-verify.c safe_close(entry_array_fd); safe_close 1276 src/journal/journal-verify.c safe_close(data_fd); safe_close 1281 src/journal/journal-verify.c safe_close(entry_fd); safe_close 1286 src/journal/journal-verify.c safe_close(entry_array_fd); safe_close 1371 src/journal/journalctl.c safe_close(fd); safe_close 1470 src/journal/journalctl.c safe_close(fd); safe_close 110 src/journal/journald-console.c safe_close(fd); safe_close 432 src/journal/journald-kmsg.c s->dev_kmsg_fd = safe_close(s->dev_kmsg_fd); safe_close 1436 src/journal/journald-server.c s->hostname_fd = safe_close(s->hostname_fd); safe_close 1647 src/journal/journald-server.c safe_close(s->syslog_fd); safe_close 1648 src/journal/journald-server.c safe_close(s->native_fd); safe_close 1649 src/journal/journald-server.c safe_close(s->stdout_fd); safe_close 1650 src/journal/journald-server.c safe_close(s->dev_kmsg_fd); safe_close 1651 src/journal/journald-server.c safe_close(s->hostname_fd); safe_close 344 src/journal/journald-stream.c safe_close(s->fd); safe_close 379 src/journal/journald-stream.c safe_close(fd); safe_close 385 src/journal/journald-stream.c safe_close(fd); safe_close 1892 src/journal/sd-journal.c safe_close(j->inotify_fd); safe_close 214 src/libsystemd-network/sd-dhcp-server.c server->fd_raw = safe_close(server->fd_raw); safe_close 215 src/libsystemd-network/sd-dhcp-server.c server->fd = safe_close(server->fd); safe_close 284 src/libsystemd-network/sd-dhcp6-client.c client->fd = safe_close(client->fd); safe_close 126 src/libsystemd-network/sd-ipv4ll.c ll->fd = safe_close(ll->fd); safe_close 611 src/libsystemd-network/sd-ipv4ll.c ll->fd = safe_close(ll->fd); safe_close 157 src/libsystemd/sd-bus/bus-container.c pair[0] = safe_close(pair[0]); safe_close 204 src/libsystemd/sd-bus/bus-container.c pair[1] = safe_close(pair[1]); safe_close 820 src/libsystemd/sd-bus/bus-kernel.c safe_close(d->memfd.fd); safe_close 1161 src/libsystemd/sd-bus/bus-kernel.c safe_close(fd); safe_close 1313 src/libsystemd/sd-bus/bus-kernel.c safe_close(fd); safe_close 1322 src/libsystemd/sd-bus/bus-kernel.c safe_close(fd); safe_close 1443 src/libsystemd/sd-bus/bus-kernel.c safe_close(fd); safe_close 1452 src/libsystemd/sd-bus/bus-kernel.c safe_close(fd); safe_close 1607 src/libsystemd/sd-bus/bus-kernel.c safe_close(fd); safe_close 1614 src/libsystemd/sd-bus/bus-kernel.c safe_close(fd); safe_close 1623 src/libsystemd/sd-bus/bus-kernel.c safe_close(fd); safe_close 74 src/libsystemd/sd-bus/bus-message.c safe_close(part->memfd); safe_close 1301 src/libsystemd/sd-bus/bus-message.c safe_close(copy); safe_close 753 src/libsystemd/sd-bus/bus-socket.c safe_close(s[1]); safe_close 770 src/libsystemd/sd-bus/bus-socket.c safe_close(s[1]); safe_close 67 src/libsystemd/sd-bus/sd-bus.c safe_close(b->input_fd); safe_close 70 src/libsystemd/sd-bus/sd-bus.c safe_close(b->output_fd); safe_close 360 src/libsystemd/sd-event/sd-event.c safe_close(d->fd); safe_close 381 src/libsystemd/sd-event/sd-event.c safe_close(e->epoll_fd); safe_close 382 src/libsystemd/sd-event/sd-event.c safe_close(e->signal_fd); safe_close 383 src/libsystemd/sd-event/sd-event.c safe_close(e->watchdog_fd); safe_close 624 src/libsystemd/sd-event/sd-event.c e->signal_fd = safe_close(e->signal_fd); safe_close 886 src/libsystemd/sd-event/sd-event.c safe_close(fd); safe_close 2662 src/libsystemd/sd-event/sd-event.c e->watchdog_fd = safe_close(e->watchdog_fd); safe_close 2670 src/libsystemd/sd-event/sd-event.c e->watchdog_fd = safe_close(e->watchdog_fd); safe_close 870 src/libsystemd/sd-login/sd-login.c safe_close(fd); safe_close 880 src/libsystemd/sd-login/sd-login.c safe_close(fd); safe_close 890 src/libsystemd/sd-login/sd-login.c safe_close(fd); safe_close 900 src/libsystemd/sd-login/sd-login.c safe_close(fd); safe_close 282 src/libsystemd/sd-network/sd-network.c safe_close(fd); safe_close 680 src/libsystemd/sd-resolve/sd-resolve.c safe_close(resolve->fds[i]); safe_close 190 src/libsystemd/sd-rtnl/sd-rtnl.c safe_close(rtnl->fd); safe_close 113 src/libudev/libudev-queue.c safe_close(udev_queue->fd); safe_close 256 src/login/logind-inhibit.c safe_close(fd); safe_close 323 src/login/logind-inhibit.c i->fifo_fd = safe_close(i->fifo_fd); safe_close 429 src/login/logind-session.c safe_close(fd); safe_close 894 src/login/logind-session.c s->fifo_fd = safe_close(s->fifo_fd); safe_close 1053 src/login/logind-session.c s->vtfd = safe_close(s->vtfd); safe_close 153 src/login/logind.c safe_close(m->console_active_fd); safe_close 172 src/login/logind.c safe_close(m->reserve_vt_fd); safe_close 204 src/machine/machine-dbus.c pair[0] = safe_close(pair[0]); safe_close 225 src/machine/machine-dbus.c pair[1] = safe_close(pair[1]); safe_close 230 src/machine/machine-dbus.c pair[1] = safe_close(pair[1]); safe_close 334 src/machine/machine-dbus.c pair[0] = safe_close(pair[0]); safe_close 354 src/machine/machine-dbus.c pair[1] = safe_close(pair[1]); safe_close 604 src/machine/machinectl.c pair[0] = safe_close(pair[0]); safe_close 628 src/machine/machinectl.c pair[1] = safe_close(pair[1]); safe_close 1275 src/nspawn/nspawn.c safe_close(fd); safe_close 2628 src/nspawn/nspawn.c *image_fd = safe_close(*image_fd); safe_close 2667 src/nspawn/nspawn.c safe_close(pipe_fds[0]); safe_close 2669 src/nspawn/nspawn.c safe_close(pipe_fds[1]); safe_close 2682 src/nspawn/nspawn.c safe_close(nullfd); safe_close 2692 src/nspawn/nspawn.c pipe_fds[1] = safe_close(pipe_fds[1]); safe_close 3227 src/nspawn/nspawn.c master = safe_close(master); safe_close 3233 src/nspawn/nspawn.c kmsg_socket_pair[0] = safe_close(kmsg_socket_pair[0]); safe_close 3241 src/nspawn/nspawn.c safe_close(k); safe_close 3327 src/nspawn/nspawn.c kmsg_socket_pair[1] = safe_close(kmsg_socket_pair[1]); safe_close 179 src/readahead/readahead-collect.c safe_close(fd); safe_close 495 src/readahead/readahead-collect.c safe_close(m->fd); safe_close 500 src/readahead/readahead-collect.c fanotify_fd = safe_close(fanotify_fd); safe_close 590 src/readahead/readahead-collect.c safe_close(fanotify_fd); safe_close 591 src/readahead/readahead-collect.c safe_close(signal_fd); safe_close 592 src/readahead/readahead-collect.c safe_close(inotify_fd); safe_close 223 src/readahead/readahead-common.c safe_close(fd); safe_close 70 src/readahead/readahead-replay.c fd = safe_close(fd); safe_close 81 src/readahead/readahead-replay.c fd = safe_close(fd); safe_close 106 src/reply-password/reply-password.c safe_close(fd); safe_close 35 src/resolve/resolved-dns-stream.c s->fd = safe_close(s->fd); safe_close 381 src/resolve/resolved-manager.c m->hostname_fd = safe_close(m->hostname_fd); safe_close 404 src/resolve/resolved-manager.c m->llmnr_ipv4_udp_fd = safe_close(m->llmnr_ipv4_udp_fd); safe_close 407 src/resolve/resolved-manager.c m->llmnr_ipv6_udp_fd = safe_close(m->llmnr_ipv6_udp_fd); safe_close 410 src/resolve/resolved-manager.c m->llmnr_ipv4_tcp_fd = safe_close(m->llmnr_ipv4_tcp_fd); safe_close 413 src/resolve/resolved-manager.c m->llmnr_ipv6_tcp_fd = safe_close(m->llmnr_ipv6_tcp_fd); safe_close 554 src/resolve/resolved-manager.c safe_close(m->dns_ipv4_fd); safe_close 555 src/resolve/resolved-manager.c safe_close(m->dns_ipv6_fd); safe_close 568 src/resolve/resolved-manager.c safe_close(m->hostname_fd); safe_close 1026 src/resolve/resolved-manager.c m->dns_ipv4_fd = safe_close(m->dns_ipv4_fd); safe_close 1056 src/resolve/resolved-manager.c m->dns_ipv6_fd = safe_close(m->dns_ipv6_fd); safe_close 1421 src/resolve/resolved-manager.c m->llmnr_ipv4_udp_fd = safe_close(m->llmnr_ipv4_udp_fd); safe_close 1500 src/resolve/resolved-manager.c m->llmnr_ipv6_udp_fd = safe_close(m->llmnr_ipv6_udp_fd); safe_close 1545 src/resolve/resolved-manager.c safe_close(cfd); safe_close 1621 src/resolve/resolved-manager.c m->llmnr_ipv4_tcp_fd = safe_close(m->llmnr_ipv4_tcp_fd); safe_close 1694 src/resolve/resolved-manager.c m->llmnr_ipv6_tcp_fd = safe_close(m->llmnr_ipv6_tcp_fd); safe_close 294 src/shared/ask-password-api.c safe_close(fd); safe_close 152 src/shared/barrier.c b->me = safe_close(b->me); safe_close 153 src/shared/barrier.c b->them = safe_close(b->them); safe_close 184 src/shared/barrier.c b->pipe[1] = safe_close(b->pipe[1]); safe_close 186 src/shared/barrier.c b->pipe[0] = safe_close(b->pipe[0]); safe_close 85 src/shared/fdset.c safe_close(copy); safe_close 76 src/shared/fileio.c safe_close(fd); safe_close 224 src/shared/install.c safe_close(fd); safe_close 264 src/shared/install.c safe_close(nfd); safe_close 403 src/shared/install.c safe_close(fd); safe_close 439 src/shared/install.c safe_close(nfd); safe_close 1074 src/shared/install.c safe_close(fd); safe_close 67 src/shared/log.c safe_close(console_fd); safe_close 89 src/shared/log.c kmsg_fd = safe_close(kmsg_fd); safe_close 105 src/shared/log.c syslog_fd = safe_close(syslog_fd); safe_close 147 src/shared/log.c safe_close(syslog_fd); safe_close 175 src/shared/log.c journal_fd = safe_close(journal_fd); safe_close 1179 src/shared/logs-show.c pair[0] = safe_close(pair[0]); safe_close 1190 src/shared/logs-show.c safe_close(fd); safe_close 1201 src/shared/logs-show.c pair[1] = safe_close(pair[1]); safe_close 64 src/shared/spawn-polkit-agent.c safe_close(pipe_fd[1]); safe_close 72 src/shared/spawn-polkit-agent.c safe_close(pipe_fd[0]); safe_close 989 src/shared/time-util.c safe_close(fd); safe_close 228 src/shared/util.c safe_close(fds[i]); safe_close 1893 src/shared/util.c safe_close(fd); safe_close 1898 src/shared/util.c safe_close(fd); safe_close 2087 src/shared/util.c fd = safe_close(fd); safe_close 2090 src/shared/util.c safe_close(notify); safe_close 2099 src/shared/util.c safe_close(fd); safe_close 2100 src/shared/util.c safe_close(notify); safe_close 2190 src/shared/util.c p[0] = p[1] = safe_close(p[0]); safe_close 2194 src/shared/util.c p[0] = safe_close(p[0]); safe_close 2195 src/shared/util.c p[1] = safe_close(p[1]); safe_close 2407 src/shared/util.c safe_close(fd); safe_close 2803 src/shared/util.c safe_close(fd); safe_close 2892 src/shared/util.c safe_close(fd); safe_close 2901 src/shared/util.c safe_close(fd); safe_close 2947 src/shared/util.c safe_close(fd); safe_close 2953 src/shared/util.c safe_close(fd); safe_close 3705 src/shared/util.c safe_close(nfd); safe_close 4233 src/shared/util.c safe_close(fd); safe_close 4254 src/shared/util.c safe_close(fd); safe_close 4273 src/shared/util.c safe_close(fd); safe_close 5812 src/shared/util.c safe_close(fd); safe_close 6918 src/shared/util.c safe_close(fd); safe_close 186 src/shared/util.h int safe_close(int fd); safe_close 663 src/shared/util.h safe_close(*fd); safe_close 167 src/shared/watchdog.c watchdog_fd = safe_close(watchdog_fd); safe_close 433 src/shutdownd/shutdownd.c safe_close(pollfd[i].fd); safe_close 82 src/socket-proxy/socket-proxyd.c safe_close(c->server_fd); safe_close 83 src/socket-proxy/socket-proxyd.c safe_close(c->client_fd); safe_close 173 src/socket-proxy/socket-proxyd.c *from = safe_close(*from); safe_close 187 src/socket-proxy/socket-proxyd.c *to = safe_close(*to); safe_close 472 src/socket-proxy/socket-proxyd.c safe_close(fd); safe_close 525 src/socket-proxy/socket-proxyd.c safe_close(fd); safe_close 309 src/timesync/timesyncd-manager.c safe_close(m->clock_watch_fd); safe_close 973 src/timesync/timesyncd-manager.c m->server_socket = safe_close(m->server_socket); safe_close 976 src/timesync/timesyncd-manager.c m->clock_watch_fd = safe_close(m->clock_watch_fd); safe_close 543 src/tmpfiles/tmpfiles.c fd = safe_close(fd); safe_close 321 src/tty-ask-password-agent/tty-ask-password-agent.c safe_close(tty_fd); safe_close 419 src/tty-ask-password-agent/tty-ask-password-agent.c safe_close(fd); safe_close 113 src/udev/net/link-config.c safe_close(ctx->ethtool_fd); safe_close 395 src/udev/udev-event.c safe_close(fd_stdout); safe_close 399 src/udev/udev-event.c safe_close(fd_stderr); safe_close 303 src/udev/udevd.c fd_lock = safe_close(fd_lock); safe_close 326 src/udev/udevd.c safe_close(fd_lock); safe_close 385 src/udev/udevd.c safe_close(fd_signal); safe_close 386 src/udev/udevd.c safe_close(fd_ep);