From f50ae72ec3417cae55dd4e085991c01af9fdc5f1 Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Wed, 11 Feb 2009 20:37:59 +0100 Subject: Initial commit --- contrib/linux/coredump-patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/linux/coredump-patch (limited to 'contrib/linux') diff --git a/contrib/linux/coredump-patch b/contrib/linux/coredump-patch new file mode 100644 index 0000000..d179290 --- /dev/null +++ b/contrib/linux/coredump-patch @@ -0,0 +1,12 @@ +--- binfmt_elf.c.old Mon Dec 11 10:49:57 2000 ++++ binfmt_elf.c Wed Nov 1 13:05:23 2000 +@@ -1091,7 +1091,8 @@ + + if (!current->dumpable || + limit < ELF_EXEC_PAGESIZE || +- atomic_read(¤t->mm->count) != 1) ++/* atomic_read(¤t->mm->count) != 1) */ ++ test_and_set_bit(31, ¤t->mm->def_flags) != 0) + return 0; + current->dumpable = 0; + -- cgit