selinux/restorecond
Nicolas Iooss 2b0fbebd50
restorecond: close the PID file if writing to it failed
write_pid_file() leaks a file descriptor to /var/run/restorecond.pid if
it fails to write the PID to it. Close the file before returning.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2018-07-04 22:08:27 +02:00
..
.gitignore restorecond: Add gitignore 2016-11-16 11:20:05 -05:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile restorecond: Fix consistancy of DESTDIR usage 2018-06-02 20:21:25 +02:00
org.selinux.Restorecond.service Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restore.c restorecond: Musl compatibility for GLOB_BRACE and GLOB_TILDE 2018-05-17 13:08:34 +08:00
restore.h restorecond: break source dependency on policycoreutils/setfiles 2016-11-16 11:19:51 -05:00
restorecond_user.conf Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.8 Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.c restorecond: close the PID file if writing to it failed 2018-07-04 22:08:27 +02:00
restorecond.conf Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.desktop Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.h restorecond: add noreturn attribute to exitApp() 2017-03-07 14:00:16 -05:00
restorecond.init Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
restorecond.service Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
stringslist.c Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
stringslist.h Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
user.c Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
utmpwatcher.c Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
utmpwatcher.h Move policycoreutils/restorecond to restorecond. 2016-11-16 11:19:50 -05:00
VERSION Update VERSIONs to 2.8 for release. 2018-05-24 14:21:09 -04:00
watch.c restorecond: Musl compatibility for GLOB_BRACE and GLOB_TILDE 2018-05-17 13:08:34 +08:00