Searched refs:stdin_fd (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/import/ |
D | importd.c | 82 int stdin_fd; member 133 safe_close(t->stdin_fd); in transfer_unref() 159 .stdin_fd = -1, in transfer_new() 392 r = rearrange_stdio(TAKE_FD(t->stdin_fd), in transfer_start() 492 t->stdin_fd = safe_close(t->stdin_fd); in transfer_start() 745 t->stdin_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); in method_import_tar_or_raw() 746 if (t->stdin_fd < 0) in method_import_tar_or_raw() 812 t->stdin_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); in method_import_fs() 813 if (t->stdin_fd < 0) in method_import_fs()
|
/systemd-251/src/core/ |
D | service.h | 210 int stdin_fd; member
|
D | service.c | 116 s->stdin_fd = s->stdout_fd = s->stderr_fd = -1; in service_init() 347 if (!s->fd_store && s->stdin_fd < 0 && s->stdout_fd < 0 && s->stderr_fd < 0) in service_release_resources() 352 s->stdin_fd = safe_close(s->stdin_fd); in service_release_resources() 1488 .stdin_fd = -1, in service_spawn_internal() 1661 exec_params.stdin_fd = s->stdin_fd; in service_spawn_internal() 2739 r = serialize_fd(f, fds, "stdin-fd", s->stdin_fd); in service_serialize() 3078 asynchronous_close(s->stdin_fd); in service_deserialize_item() 3079 s->stdin_fd = fdset_remove(fds, fd); in service_deserialize_item()
|
D | execute.h | 418 int stdin_fd; member
|
D | execute.c | 205 if (p && p->stdin_fd >= 0) in exec_context_tty_reset() 206 (void) terminal_vhangup_fd(p->stdin_fd); in exec_context_tty_reset() 212 if (p && p->stdin_fd >= 0) in exec_context_tty_reset() 213 (void) reset_terminal_fd(p->stdin_fd, true); in exec_context_tty_reset() 218 if (p && p->stdin_fd >= 0) in exec_context_tty_reset() 219 … (void) terminal_set_size_fd(p->stdin_fd, path, context->tty_rows, context->tty_cols); in exec_context_tty_reset() 480 if (params->stdin_fd >= 0) { in setup_input() 481 if (dup2(params->stdin_fd, STDIN_FILENO) < 0) in setup_input() 3883 if (params->stdin_fd >= 0) in close_remaining_fds() 3884 dont_close[n_dont_close++] = params->stdin_fd; in close_remaining_fds()
|
D | dbus-service.c | 528 …return bus_set_transient_std_fd(u, name, &s->stdin_fd, &s->exec_context.stdio_as_fds, message, fla… in bus_service_set_transient_property()
|
D | swap.c | 667 .stdin_fd = -1, in swap_spawn()
|
D | mount.c | 825 .stdin_fd = -1, in mount_spawn()
|
D | socket.c | 1923 .stdin_fd = -1, in socket_spawn()
|
/systemd-251/src/home/ |
D | homed-home.c | 1140 _cleanup_close_ int stdin_fd = -1, stdout_fd = -1; in home_start_work() local 1172 stdin_fd = acquire_data_fd(formatted, strlen(formatted), 0); in home_start_work() 1173 if (stdin_fd < 0) in home_start_work() 1174 return stdin_fd; in home_start_work() 1183 (int[]) { stdin_fd, stdout_fd }, 2, in home_start_work() 1229 …r = rearrange_stdio(TAKE_FD(stdin_fd), TAKE_FD(stdout_fd), STDERR_FILENO); /* fds are invalidated … in home_start_work()
|