Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 25 of 36) sorted by relevance

12

/systemd-251/src/shared/
Dask-password-api.c211 _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/
Dtestsuite-49-namespaced.service5 # 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…
Dtestsuite-49-non-namespaced.service4 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/
Dtty-ask-password-agent.c341 _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/
Dterminal-util.c359 _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_systemd1 …-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/
Dsuccess-runtime.service9 Type=notify
Dsuccess-start.service8 Type=notify
Dsuccess-stop.service8 Type=notify
Dfail-runtime.service8 Type=notify
Dfail-start.service9 Type=notify
Dsuccess-all.service10 Type=notify
Dfail-stop.service8 Type=notify
/systemd-251/units/
Dsystemd-rfkill.service.in24 Type=notify
Duser@.service.in20 Type=notify
Dsystemd-userdbd.service.in41 Type=notify
Dsystemd-udevd.service.in22 Type=notify
Dsystemd-journald@.service.in38 Type=notify
Dsystemd-resolved.service.in52 Type=notify
Dsystemd-timesyncd.service.in54 Type=notify
Dsystemd-oomd.service.in55 Type=notify
Dsystemd-journald.service.in41 Type=notify
Dsystemd-nspawn@.service.in23 Type=notify
/systemd-251/shell-completion/bash/
Dsystemd-nspawn70 … --volatile --network-macvlan --kill-signal --template --notify-ready --root-hash --chdir
153 --notify-ready)
/systemd-251/test/fuzz/fuzz-unit-file/
Dsystemd-resolved.service24 Type=notify

12