Blame bind-9.3.2-prctl_set_dumpable.patch
|
jvdias |
313b90 |
--- bind-9.3.2/bin/named/unix/os.c.prctl_set_dumpable 2005-05-19 21:37:19.000000000 -0400
|
|
jvdias |
313b90 |
+++ bind-9.3.2/bin/named/unix/os.c 2006-04-04 16:43:11.000000000 -0400
|
|
jvdias |
313b90 |
@@ -252,6 +252,10 @@
|
|
jvdias |
313b90 |
caps |= (1 << CAP_SYS_RESOURCE);
|
|
jvdias |
313b90 |
|
|
jvdias |
313b90 |
linux_setcaps(caps);
|
|
jvdias |
313b90 |
+
|
|
jvdias |
313b90 |
+ /* allow us to continue to be able to generate coredumps after setuid:
|
|
jvdias |
313b90 |
+ */
|
|
jvdias |
313b90 |
+ prctl(PR_SET_DUMPABLE,1,0,0,0);
|
|
jvdias |
313b90 |
}
|
|
jvdias |
313b90 |
|
|
jvdias |
313b90 |
#ifdef HAVE_SYS_PRCTL_H
|