Searched refs:notify (Results 1 - 4 of 4) sorted by relevance
/systemd/src/tty-ask-password-agent/ |
H A D | tty-ask-password-agent.c | 68 _cleanup_close_ int fd = -1, notify = -1; local 84 notify = inotify_init1(IN_CLOEXEC|IN_NONBLOCK); 85 if (notify < 0) 88 r = inotify_add_watch(notify, flag_file, IN_ATTRIB); /* for the link count */ 115 pollfd[POLL_INOTIFY].fd = notify; 139 j = poll(pollfd, notify >= 0 ? 2 : 1, sleep_for); 151 if (notify >= 0 && pollfd[POLL_INOTIFY].revents != 0) 152 flush_fd(notify); 512 _cleanup_close_ int notify = -1, signal_fd = -1, tty_block_fd = -1; local 521 notify [all...] |
/systemd/src/shared/ |
H A D | ask-password-api.c | 218 _cleanup_close_ int ttyfd = -1, notify = -1; local 236 notify = inotify_init1(IN_CLOEXEC|IN_NONBLOCK); 237 if (notify < 0) { 242 if (inotify_add_watch(notify, flag_file, IN_ATTRIB /* for the link count */) < 0) { 277 pollfd[POLL_INOTIFY].fd = notify; 304 k = poll(pollfd, notify >= 0 ? 2 : 1, sleep_for); 316 if (notify >= 0 && pollfd[POLL_INOTIFY].revents != 0) 317 flush_fd(notify);
|
/systemd/src/basic/ |
H A D | terminal-util.c | 367 int fd = -1, notify = -1, r = 0, wd = -1; local 389 notify = inotify_init1(IN_CLOEXEC | (timeout != USEC_INFINITY ? IN_NONBLOCK : 0)); 390 if (notify < 0) { 395 wd = inotify_add_watch(notify, name, IN_CLOSE); 408 if (notify >= 0) { 409 r = flush_fd(notify); 445 assert(notify >= 0); 471 l = read(notify, &buffer, sizeof(buffer)); 497 safe_close(notify); 503 safe_close(notify); [all...] |
/systemd/src/login/ |
H A D | logind-session.c | 1133 static void session_release_controller(Session *s, bool notify) { argument 1145 if (!notify)
|
Completed in 19 milliseconds