From 05a07baf3b80865860f4b5b4c9e59f661b9690309adfd55f9c4b82ecbf039600 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 17 Apr 2014 13:49:06 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=606 --- avoid-divide-by-zero-sigtrap.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/avoid-divide-by-zero-sigtrap.patch b/avoid-divide-by-zero-sigtrap.patch index 9d5e5e1..4f676e8 100644 --- a/avoid-divide-by-zero-sigtrap.patch +++ b/avoid-divide-by-zero-sigtrap.patch @@ -12,3 +12,14 @@ Nasty bug reported on bnc#867663 next = now(CLOCK_MONOTONIC) + JOBS_IN_PROGRESS_PERIOD_USEC; r = sd_event_source_set_time(source, next); +--- systemd-210/src/shared/def.h ++++ systemd-210/src/shared/def.h 2014-04-17 13:47:10.946234983 +0000 +@@ -37,7 +37,7 @@ + + #define SYSTEMD_CGROUP_CONTROLLER "name=systemd" + +-#define SIGNALS_CRASH_HANDLER SIGSEGV,SIGILL,SIGFPE,SIGBUS,SIGQUIT,SIGABRT ++#define SIGNALS_CRASH_HANDLER SIGSEGV,SIGILL,SIGFPE,SIGBUS,SIGQUIT,SIGABRT,SIGTRAP,SIGSYS + #define SIGNALS_IGNORE SIGPIPE + + #define DIGITS "0123456789"