Systemd/src/libsystemd/sd-daemon
Lennart Poettering be8f4e9e8e sd-daemon: introduce sd_pid_notify() and sd_pid_notifyf()
sd_pid_notify() operates like sd_notify(), however operates on a
different PID (for example the parent PID of a process).

Make use of this in systemd-notify, so that message are sent from the
PID specified with --pid= rather than the usually shortlived PID of
systemd-notify itself.

This should increase the likelyhood that PID 1 can identify the cgroup
that the notification message was sent from properly.
2014-06-05 17:05:18 +02:00
..
Makefile build-sys: add Makefile symlink 2014-04-13 17:41:02 -07:00
sd-daemon.c sd-daemon: introduce sd_pid_notify() and sd_pid_notifyf() 2014-06-05 17:05:18 +02:00