File: coredump-patch

package info (click to toggle)
bind9 1%3A9.3.4-2etch6
  • links: PTS, VCS
  • area: main
  • in suites: etch
  • size: 24,476 kB
  • ctags: 22,776
  • sloc: ansic: 222,420; sh: 20,927; xml: 7,441; makefile: 3,681; perl: 3,026; cpp: 1,764; tcl: 842; python: 77
file content (12 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
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(&current->mm->count) != 1)
+/*	    atomic_read(&current->mm->count) != 1) */
+	    test_and_set_bit(31, &current->mm->def_flags) != 0)
 		return 0;
 	current->dumpable = 0;