Searched refs:fd2 (Results 1 - 4 of 4) sorted by relevance

/systemd/src/test/
H A Dtest-tmpfiles.c37 _cleanup_close_ int fd, fd2; local
52 fd2 = mkostemp_safe(pattern, O_RDWR|O_CLOEXEC);
56 assert_se(asprintf(&cmd2, "ls -l /proc/"PID_FMT"/fd/%d", getpid(), fd2) > 0);
/systemd/src/login/
H A Dtest-inhibit.c87 int fd1, fd2; local
99 fd2 = inhibit(bus, "idle:shutdown");
100 assert_se(fd2 >= 0);
107 safe_close(fd2);
/systemd/src/journal-remote/
H A Djournal-remote.c1117 int fd2, r; local
1120 fd2 = accept4(fd, &addr->sockaddr.sa, &addr->size, SOCK_NONBLOCK|SOCK_CLOEXEC);
1121 if (fd2 < 0)
1133 close(fd2);
1140 close(fd2);
1151 return fd2;
1156 close(fd2);
1167 int fd2; local
1174 fd2 = accept_connection("raw", fd, &addr, &hostname);
1175 if (fd2 <
[all...]
/systemd/src/boot/
H A Dbootctl.c401 _cleanup_close_ int fd2 = -1; local
416 fd2 = open(to, O_RDONLY|O_CLOEXEC);
417 if (fd2 < 0) {
424 r = get_file_version(fd2, &b);

Completed in 319 milliseconds