mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-17 05:40:54 +00:00
Also, introduce a new environment variable named $WATCHDOG_PID which cotnains the PID of the process that is supposed to send the keep-alive events. This is similar how $LISTEN_FDS and $LISTEN_PID work together, and protects against confusing processes further down the process tree due to inherited environment.
33 lines
855 B
Plaintext
33 lines
855 B
Plaintext
/***
|
|
Permission is hereby granted, free of charge, to any person
|
|
obtaining a copy of this software and associated documentation files
|
|
(the "Software"), to deal in the Software without restriction,
|
|
including without limitation the rights to use, copy, modify, merge,
|
|
publish, distribute, sublicense, and/or sell copies of the Software,
|
|
and to permit persons to whom the Software is furnished to do so,
|
|
subject to the following conditions:
|
|
***/
|
|
|
|
/* Original symbols from systemd v31 */
|
|
|
|
LIBSYSTEMD_DAEMON_31 {
|
|
global:
|
|
sd_booted;
|
|
sd_is_fifo;
|
|
sd_is_mq;
|
|
sd_is_socket;
|
|
sd_is_socket_inet;
|
|
sd_is_socket_unix;
|
|
sd_is_special;
|
|
sd_listen_fds;
|
|
sd_notify;
|
|
sd_notifyf;
|
|
local:
|
|
*;
|
|
};
|
|
|
|
LIBSYSTEMD_DAEMON_209 {
|
|
global:
|
|
sd_watchdog_enabled;
|
|
} LIBSYSTEMD_DAEMON_31;
|