Searched refs:notify (Results 1 – 25 of 36) sorted by relevance
12
/systemd-251/src/shared/ |
D | ask-password-api.c | 211 _cleanup_close_ int fd = -1, notify = -1; in ask_password_plymouth() local 229 notify = inotify_init1(IN_CLOEXEC|IN_NONBLOCK); in ask_password_plymouth() 230 if (notify < 0) in ask_password_plymouth() 233 r = inotify_add_watch(notify, flag_file, IN_ATTRIB); /* for the link count */ in ask_password_plymouth() 260 pollfd[POLL_INOTIFY].fd = notify; in ask_password_plymouth() 276 r = ppoll_usec(pollfd, notify >= 0 ? 2 : 1, timeout); in ask_password_plymouth() 286 if (notify >= 0 && pollfd[POLL_INOTIFY].revents != 0) in ask_password_plymouth() 287 (void) flush_fd(notify); in ask_password_plymouth() 394 _cleanup_close_ int cttyfd = -1, notify = -1; in ask_password_tty() local 414 notify = inotify_init1(IN_CLOEXEC|IN_NONBLOCK); in ask_password_tty() [all …]
|
/systemd-251/test/units/ |
D | testsuite-49-namespaced.service | 5 # so use Type=notify to make sure there's no race condition in the test 6 Type=notify 13 ExecStart=/bin/sh -c 'systemd-notify --ready; while ! grep -q -F MARKER_RUNTIME /tmp/testfile_runti…
|
D | testsuite-49-non-namespaced.service | 4 Type=notify 6 ExecStart=/bin/sh -c 'systemd-notify --ready; while ! grep -q -F MARKER_RUNTIME /tmp/testfile_runti…
|
/systemd-251/src/tty-ask-password-agent/ |
D | tty-ask-password-agent.c | 341 _cleanup_close_ int notify = -1, signal_fd = -1; in process_and_watch_password_files() local 361 notify = inotify_init1(IN_CLOEXEC); in process_and_watch_password_files() 362 if (notify < 0) in process_and_watch_password_files() 365 … r = inotify_add_watch_and_warn(notify, "/run/systemd/ask-password", IN_CLOSE_WRITE|IN_MOVED_TO); in process_and_watch_password_files() 369 pollfd[FD_INOTIFY] = (struct pollfd) { .fd = notify, .events = POLLIN }; in process_and_watch_password_files() 399 (void) flush_fd(notify); in process_and_watch_password_files()
|
/systemd-251/src/basic/ |
D | terminal-util.c | 359 _cleanup_close_ int notify = -1, fd = -1; in acquire_terminal() local 376 notify = inotify_init1(IN_CLOEXEC | (timeout != USEC_INFINITY ? IN_NONBLOCK : 0)); in acquire_terminal() 377 if (notify < 0) in acquire_terminal() 380 wd = inotify_add_watch(notify, name, IN_CLOSE); in acquire_terminal() 394 if (notify >= 0) { in acquire_terminal() 395 r = flush_fd(notify); in acquire_terminal() 431 assert(notify >= 0); in acquire_terminal() 447 … r = fd_wait_for_event(notify, POLLIN, usec_sub_unsigned(timeout, n)); in acquire_terminal() 454 l = read(notify, &buffer, sizeof(buffer)); in acquire_terminal()
|
/systemd-251/shell-completion/zsh/ |
D | _systemd | 1 …-cgls systemd-cgtop systemd-detect-virt systemd-machine-id-setup systemd-notify systemd-tty-ask-pa… 60 systemd-notify)
|
/systemd-251/test/testsuite-16.units/ |
D | success-runtime.service | 9 Type=notify
|
D | success-start.service | 8 Type=notify
|
D | success-stop.service | 8 Type=notify
|
D | fail-runtime.service | 8 Type=notify
|
D | fail-start.service | 9 Type=notify
|
D | success-all.service | 10 Type=notify
|
D | fail-stop.service | 8 Type=notify
|
/systemd-251/units/ |
D | systemd-rfkill.service.in | 24 Type=notify
|
D | user@.service.in | 20 Type=notify
|
D | systemd-userdbd.service.in | 41 Type=notify
|
D | systemd-udevd.service.in | 22 Type=notify
|
D | systemd-journald@.service.in | 38 Type=notify
|
D | systemd-resolved.service.in | 52 Type=notify
|
D | systemd-timesyncd.service.in | 54 Type=notify
|
D | systemd-oomd.service.in | 55 Type=notify
|
D | systemd-journald.service.in | 41 Type=notify
|
D | systemd-nspawn@.service.in | 23 Type=notify
|
/systemd-251/shell-completion/bash/ |
D | systemd-nspawn | 70 … --volatile --network-macvlan --kill-signal --template --notify-ready --root-hash --chdir 153 --notify-ready)
|
/systemd-251/test/fuzz/fuzz-unit-file/ |
D | systemd-resolved.service | 24 Type=notify
|
12