You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@attglobal.net> on 2004/01/13 15:54:45 UTC

[1.3 PATCH] issue prctl(PR_SET_DUMPABLE) where available

Rather than using multiple symbols (HAVE_SYS_PRCTL_H, HAVE_PRCTL), which 
would add to the CFLAGS, there is a single symbol HAVE_SET_DUMPABLE 
which is defined via CFLAGS if all prerequisites are met.

testing:

Fedora Core 1: verified that feature was recognized and that the new 
code was required to get a coredump

RedHat 6.1: verified that feature was not recognized

Solaris 9: verfied that feature test was bypassed since platform != 
linux, and http_main.c compiles with no error


Re: [1.3 PATCH] issue prctl(PR_SET_DUMPABLE) where available

Posted by Joe Orton <jo...@redhat.com>.
On Tue, Jan 13, 2004 at 09:54:45AM -0500, Jeff Trawick wrote:
> Rather than using multiple symbols (HAVE_SYS_PRCTL_H, HAVE_PRCTL), which 
> would add to the CFLAGS, there is a single symbol HAVE_SET_DUMPABLE 
> which is defined via CFLAGS if all prerequisites are met.
> 
> testing:
> 
> Fedora Core 1: verified that feature was recognized and that the new 
> code was required to get a coredump

Tested likewise successfully on RHEL2.1.  Thanks Jeff!

joe

Re: [1.3 PATCH] issue prctl(PR_SET_DUMPABLE) where available

Posted by Jim Jagielski <ji...@jagunet.com>.
+1
On Jan 13, 2004, at 9:54 AM, Jeff Trawick wrote:

> Rather than using multiple symbols (HAVE_SYS_PRCTL_H, HAVE_PRCTL), 
> which would add to the CFLAGS, there is a single symbol 
> HAVE_SET_DUMPABLE which is defined via CFLAGS if all prerequisites are 
> met.
>