> After the regular BIO stuff you should be able to get the fd > (BIO_get_fd(BIO *bio, int *fd)) and just set the flag with fcntl. You > might want to have a look at BIO_set_flags first. > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org
Don't know how I missed the BIO_get_fd function. BIO_set_flags doesn't appear to have anything that applies in this case. So far, once I've got the fd, and set FD_CLOEXEC on the bio, it stops any spawned processes from inheriting the fd. Thanks for the pointers. -- Regards, Darragh Bailey Systems Software Engineer Hewlett Packard Galway Ltd. Postal Address: Hewlett Packard Galway Limited, Ballybrit Business Park, Galway Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's Quay Dublin 2 Registered Number: 361933 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org