Searched defs:cfd (Results 1 - 4 of 4) sorted by relevance
/systemd/src/resolve/ |
H A D | resolved-llmnr.c | 311 int cfd, r; local 313 cfd = accept4(fd, NULL, NULL, SOCK_NONBLOCK|SOCK_CLOEXEC); 314 if (cfd < 0) { 321 r = dns_stream_new(m, &stream, DNS_PROTOCOL_LLMNR, cfd); 323 safe_close(cfd);
|
/systemd/src/test/ |
H A D | test-socket-util.c | 291 _cleanup_close_ int sfd = -1, cfd = -1; local 310 cfd = accept4(sfd, &c.sa, &clen, SOCK_CLOEXEC); 311 assert_se(cfd >= 0); 313 r = getnameinfo_pretty(cfd, &localhost);
|
/systemd/src/core/ |
H A D | socket.c | 1883 static void socket_enter_running(Socket *s, int cfd) { argument 1895 if (cfd >= 0) 1896 safe_close(cfd); 1918 if (cfd < 0) { 1950 safe_close(cfd); 1958 r = instance_from_socket(cfd, s->n_accepted, &instance); 1965 safe_close(cfd); 1989 r = service_set_socket_fd(service, cfd, s, s->selinux_context_from_net); 1993 cfd = -1; 2008 cfd > 2442 int cfd = -1; local [all...] |
/systemd/src/shared/ |
H A D | install.c | 484 int q, cfd; local 487 cfd = fcntl(fd, F_DUPFD_CLOEXEC, 3); 488 if (cfd < 0) 491 /* This takes possession of cfd and closes it */ 492 q = remove_marked_symlinks_fd(remove_symlinks_to, cfd, config_path, config_path, &restart, changes, n_changes);
|
Completed in 23 milliseconds