Files
finit/plugins
Joachim Wiberg dd6ebc3b65 Drop svc pidfile matching, only match against PID in pidfile
With the redesign from <svc/path/to/pidfile> to <pid/name:id> in d1fac6f
we moved to matching svc_t only against their PID, which could pop up in
any *.pid or */pid in /var/run.  This patch drops the (hopefully) last
remnants of the old <svc/> legacy.

To ensure we don't try reading the PID value from socket files, like
/var/run/initctl, we add simple fnmatch() of the inotified file.  Two
calls to fnmatch(), for portability reasons, not every system has GNU
libc extensions like FNM_EXTMATCH.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-23 20:26:57 +01:00
..
2017-01-16 07:32:09 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00
2021-02-09 22:07:03 +01:00