Files
ports/security/sssd/files/patch-src__util__server.c
2024-07-05 05:32:24 -07:00

21 lines
663 B
C

--- src/util/server.c.orig 2020-03-17 13:31:28 UTC
+++ src/util/server.c
@@ -311,10 +311,13 @@ static void setup_signals(void)
BlockSignals(false, SIGTERM);
#ifndef HAVE_PRCTL
- /* If prctl is not defined on the system, try to handle
- * some common termination signals gracefully */
- CatchSignal(SIGSEGV, sig_segv_abrt);
- CatchSignal(SIGABRT, sig_segv_abrt);
+ /* If prctl is not defined on the system, try to handle
+ * some common termination signals gracefully */
+ (void) sig_segv_abrt; /* unused */
+ /*
+ CatchSignal(SIGSEGV, sig_segv_abrt);
+ CatchSignal(SIGABRT, sig_segv_abrt);
+ */
#endif
}