HomeFreeBSD

Fix closure of open file descriptors

Description

Fix closure of open file descriptors

Rely on closefrom(2) instead of a loop on close(2) to close all opened file
descriptors. This greatly improve performances.

While here, commit changes to patches generated by make makepatch.

With hat: puppet
PR: 232538
Reported by: vmiller@verisign.com

Details

Provenance
romainAuthored on
Parents
rP482900: Fix build with openssl 1.1.x.
Branches
Unknown
Tags
Unknown