httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: catching setgid error?
Date Tue, 14 Apr 1998 06:14:35 GMT
On Mon, 13 Apr 1998, Dean Gaudet wrote:

> In 1.2 it was a fatal error.  This bug was introduced when I fixed the
> "log files are created with the wrong group" bug by moving the setgid to
> the child.
> But I'm not sure how portable it would be to do a test setgid in the
> parent and then setgid back...
> A more portable solution, and more general, would be for a special child
> exit code (say, 42 for example) that means to the parent "abort everything
> immediately, something is fatally wrong".  There's a few other errors
> which are of similar caliber.

The other interesting (but unrelated) child exit codes would be ones for
doing a restart (ie. HUP), graceful restart, "normal" exit, etc. 

View raw message