chiark / gitweb /
journald: process SIGBUS for the memory maps we set up
[elogind.git] / src / journal / journald.c
index 604c8617bb47aa0340b112a8eca6944f6eb49a71..80f4634f6746ec32ae219ba95e10dec6259e6735 100644 (file)
@@ -33,6 +33,8 @@
 #include "journald-kmsg.h"
 #include "journald-syslog.h"
 
+#include "sigbus.h"
+
 int main(int argc, char *argv[]) {
         Server server;
         int r;
@@ -49,6 +51,8 @@ int main(int argc, char *argv[]) {
 
         umask(0022);
 
+        sigbus_install();
+
         r = server_init(&server);
         if (r < 0)
                 goto finish;