The sendmail program forks often to do its job in the most efficient way possible. Prior to V8.8, sendmail used vfork (2) whenever possible. Beginning with V8.8, sendmail now defaults to fork (2). [3] You should have to redefine FORK only when porting to a new system or when you are certain that vfork (2) is, indeed, faster on your system and is reliable. To add it to sendmail (and other programs that use FORK), place a line such as the following to your Build m4 file:
APPENDDEF(`confENVDEF', `-DFORK=vfork') You can test with the above confENVDEF statement and, if successful, put a permanent porting entry into sendmail/conf.h . New ports should be reported to sendmail@sendmail.org so that they can be folded into future releases. |