On Wed, 5 Mar 2003, William A. Rowe, Jr. wrote: Hi,
already been to bed but ... > We should do *either*; if CLOEXEC is supported and can be toggled > per our API (_set/_unset) then that can be the preferred method, to protect > ourselves from non-apr callers of exec(). (This goes for files, too.) if it is possible FD_CLOEXEC should really be independed of inherit_(un)set. It should be applied to every fd opened by default (if available) apart from 012 which seem to already be handled their own way. One may have a flag (perhaps also use APR_FILE_NOCLEANUP) to supress usage. Why ? Because we had seen wrong usage of APR_IMPLEMENT_(UN)INHERIT_SET epanded macros at various files in the apache httpd code... -- G'Night Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/
