Prev | Current Page 281 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

db\"??)
The backslashed quotation marks are necessary to pass the path to sendmail as a string.
3.4.72 USE_DOUBLE_FORK
Fork twice, prevent zombies (V8.12 and above) Port with confENVDEF
When sendmail forks a copy of itself to process a queue, it does so twice to prevent the
creation of a zombie process. A zombie process is one that has lost its parent, and has not
yet died. It continues to exist as though alive, yet it cannot be killed, hence it is a zombie.
This USE_DOUBLE_FORK compile-time macro is defined by default as 1 to enable the
double fork to prevent zombies. In the rare instance that you are porting to a new system,
you can redefine USE_DOUBLE_FORK like this:
APPENDDEF(`conf_sendmail_ENVDEF??, `-DUSE_DOUBLE_FORK=0??)
If you are running a precompiled sendmail binary, you can use the -d0.10 debugging
command-line switch (?ยง15.7.3 on page 543) to determine whether USE_DOUBLE_FORK
is defined (if it appears in the list, it is defined). New ports should be reported to sendmail@
sendmail.org so that they can be folded into future releases.
Table 3-14. Compile-time macros that define return types
Macro Does what
ARBPTR_T The type of an arbitrary pointer. Usually this is the ???void *??? type, but for some older compilers it can be
the ???char *??? type.
GIDSET_T The type of the second argument passed to getgroups(2).


Pages:
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293