Home
last modified time | relevance | path

Searched refs:signal_fd (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/tty-ask-password-agent/
Dtty-ask-password-agent.c341 _cleanup_close_ int notify = -1, signal_fd = -1; in process_and_watch_password_files() local
355 signal_fd = signalfd(-1, &mask, SFD_NONBLOCK|SFD_CLOEXEC); in process_and_watch_password_files()
356 if (signal_fd < 0) in process_and_watch_password_files()
359 pollfd[FD_SIGNAL] = (struct pollfd) { .fd = signal_fd, .events = POLLIN }; in process_and_watch_password_files()
/systemd-251/src/shared/
Dask-password-api.c716 _cleanup_close_ int socket_fd = -1, signal_fd = -1, notify = -1, fd = -1; in ask_password_agent() local
770 signal_fd = signalfd(-1, &mask, SFD_NONBLOCK|SFD_CLOEXEC); in ask_password_agent()
771 if (signal_fd < 0) { in ask_password_agent()
824 pollfd[FD_SIGNAL].fd = signal_fd; in ask_password_agent()
/systemd-251/src/core/
Dmanager.c596 m->signal_fd = signalfd(-1, &mask, SFD_NONBLOCK|SFD_CLOEXEC); in manager_setup_signals()
597 if (m->signal_fd < 0) in manager_setup_signals()
600 …r = sd_event_add_io(m->event, &m->signal_event_source, m->signal_fd, EPOLLIN, manager_dispatch_sig… in manager_setup_signals()
846 .signal_fd = -1, in manager_new()
1528 safe_close(m->signal_fd); in manager_free()
2739 assert(m->signal_fd == fd); in manager_dispatch_signal_fd()
2746 n = read(m->signal_fd, &sfsi, sizeof(sfsi)); in manager_dispatch_signal_fd()
Dmanager.h224 int signal_fd; member