On Fri, Jun 6, 2025 at 9:37 AM Andres Freund <andres@anarazel.de> wrote:
> It's not just crashes, e.g. the startup packet timeout is also handled by
> _exit() - and it can be triggered remotely.
Fair point...
> ISTM that if crypto providers
> can't handle _exit(), we have a bigger problem.
...so I guess I need to figure out whether we have a bigger problem. I
hope we don't.
Note that OpenSSL seems to be interested in removing the atexit()
handling altogether, and requiring applications to manually call the
cleanup function, in 4.0. [1]
--Jacob
[1] https://github.com/openssl/openssl/issues/22508