Home
last modified time | relevance | path

Searched refs:pidfd (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/libsystemd/sd-event/
Dsd-event.c36 s->child.pidfd >= 0 && in EVENT_SOURCE_WATCH_PIDFD()
489 if (epoll_ctl(s->event->epoll_fd, EPOLL_CTL_DEL, s->child.pidfd, NULL) < 0) in source_child_pidfd_unregister()
509 s->child.pidfd, &ev) < 0) in source_child_pidfd_register()
963 if (s->child.pidfd >= 0) { in source_free()
964 … if (pidfd_send_signal(s->child.pidfd, SIGKILL, NULL, 0) < 0) { in source_free()
990 s->child.pidfd = safe_close(s->child.pidfd); in source_free()
1444 s->child.pidfd = pidfd_open(pid, 0); in sd_event_add_child()
1445 if (s->child.pidfd < 0) { in sd_event_add_child()
1452 s->child.pidfd = -1; in sd_event_add_child()
1486 int pidfd, in sd_event_add_child_pidfd() argument
[all …]
Dtest-event.c553 TEST(pidfd) { in TEST() argument
556 int pidfd; in TEST() local
568 pidfd = pidfd_open(pid, 0); in TEST()
569 if (pidfd < 0) { in TEST()
583 … assert_se(sd_event_add_child_pidfd(e, &s, pidfd, WEXITED, pidfd_handler, INT_TO_PTR('p')) >= 0); in TEST()
Devent-source.h108 int pidfd; member
/systemd-251/src/systemd/
Dsd-event.h94 int sd_event_add_child_pidfd(sd_event *e, sd_event_source **s, int pidfd, int options, sd_event_chi…
/systemd-251/
DTODO350 * improve scope units to support creation by pidfd instead of by PID
696 * pid1: Move to tracking of main pid/control pid of units per pidfd
DNEWS3909 * The sd-event.h API gained native support for the new Linux "pidfd"