summaryrefslogtreecommitdiff
path: root/extra/watchdog/watchdog-5.12-fix-oom-in-wd_keepalive.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-15 00:02:45 +0000
committerroot <root@rshg054.dnsready.net>2012-05-15 00:02:45 +0000
commit52a4948b9138662b1e7b23b04ef0d72101519f2d (patch)
tree701b562dc98245a57c6a93f3c2f94e3b1832f0eb /extra/watchdog/watchdog-5.12-fix-oom-in-wd_keepalive.patch
parentd3af8dc0117dc1ce4fea3d05c7a2d7786bd78986 (diff)
Tue May 15 00:02:45 UTC 2012
Diffstat (limited to 'extra/watchdog/watchdog-5.12-fix-oom-in-wd_keepalive.patch')
-rw-r--r--extra/watchdog/watchdog-5.12-fix-oom-in-wd_keepalive.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/watchdog/watchdog-5.12-fix-oom-in-wd_keepalive.patch b/extra/watchdog/watchdog-5.12-fix-oom-in-wd_keepalive.patch
new file mode 100644
index 000000000..dfc06b867
--- /dev/null
+++ b/extra/watchdog/watchdog-5.12-fix-oom-in-wd_keepalive.patch
@@ -0,0 +1,11 @@
+diff -Nur watchdog-5.12.orig/src/wd_keepalive.c watchdog-5.12/src/wd_keepalive.c
+--- watchdog-5.12.orig/src/wd_keepalive.c 2012-04-05 12:16:33.000000000 +0200
++++ watchdog-5.12/src/wd_keepalive.c 2012-05-13 16:15:36.786543263 +0200
+@@ -26,6 +26,7 @@
+ #include <sys/mman.h>
+ #include <sys/ioctl.h>
+ #include <sys/wait.h>
++#include <linux/oom.h>
+ #include <linux/watchdog.h>
+ #include <libgen.h>
+ #include <string.h>