mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-25 14:00:37 +00:00
When restorecond starts, it installs a SIGTERM handler in order to exit cleanly (by removing its PID file). When restorecond --user starts, there is no PID file, and g_main_loop_run() does not stop when master_fd is closed. This leads to an unkillable service, which is an issue. Fix this by overriding the handler for SIGTERM in restorecond --user. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
ru | ||
.gitignore | ||
COPYING | ||
Makefile | ||
org.selinux.Restorecond.service | ||
restore.c | ||
restore.h | ||
restorecond_user.conf | ||
restorecond-user.service | ||
restorecond.8 | ||
restorecond.c | ||
restorecond.conf | ||
restorecond.desktop | ||
restorecond.h | ||
restorecond.init | ||
restorecond.service | ||
stringslist.c | ||
stringslist.h | ||
user.c | ||
utmpwatcher.c | ||
utmpwatcher.h | ||
VERSION | ||
watch.c |