selinux/mcstrans/src
Christian Göttsche 4622ac0064 mcstrans: preserve runtime directory
Do not remove the runtime directory /run/setrans/, which is the parent
for the security context translation socket .setrans-unix, when the
service is stopped, so the path can not be taken over by a foreign
program, which could lead to a compromise of the context translation of
libselinux.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2023-02-01 15:58:41 +01:00
..
.gitignore mcstrans: Add .gitignore file 2016-11-16 11:19:50 -05:00
Makefile mcstrans: port to new PCRE2 from end-of-life PCRE 2021-12-09 11:06:41 -05:00
mcscolor.c mcstrans: avoid missing prototypes 2021-11-15 16:00:54 -05:00
mcscolor.h mcstrans: avoid missing prototypes 2021-11-15 16:00:54 -05:00
mcstrans.c mcstrans: Fir RESOURCE_LEAK and USE_AFTER_FREE coverity scan defects 2022-04-06 10:54:59 +02:00
mcstrans.h mcstrans: avoid missing prototypes 2021-11-15 16:00:54 -05:00
mcstrans.init Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
mcstrans.service mcstrans: preserve runtime directory 2023-02-01 15:58:41 +01:00
mcstransd.c mcstrans: Fir RESOURCE_LEAK and USE_AFTER_FREE coverity scan defects 2022-04-06 10:54:59 +02:00
mls_level.c Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
mls_level.h Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
README Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00

To rebuild with debugging support:
make clean && env CFLAGS="-Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -DDEBUG -g" LDFLAGS="-g" make