24.02.2020, 11:23, "Laurent Bercot" <ska-supervis...@skarnet.org>: >> SIGRTMIN+3 should also be caught and processed.
why only this one and not ALL of the real time signals ? > What piece of software sends SIGRTMIN+3 to pid 1 when you're not > running systemd? in this case systemd compatibility can be trivially achieved, so there is no real reason to abstain from it. systemd uses real time signals since they were introduced for this purpose: signals without an already assigned default meaning, free for application (ab)use, hence the systemd approach is absolutely correct here. support code for ALL of the RT signals on ALL platforms that provide them can be added without much effort (in a "POSIX-correct" way that is always so important to you): https://man.voidlinux.org/signal.h ... #include <signal.h> ... #if defined (SIGRTMIN) && defined (SIGRTMAX) /* catch and handle them with a hook executable like say * "SIGRT signum" * that is called with the RT signal number as a first parameter */ #else /* probably OpenBSD */ #endif ...