Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set FD_CLOEXEC on the LMDB FD manually #287

Merged
merged 1 commit into from Nov 12, 2020
Merged

Commits on Nov 12, 2020

  1. Set FD_CLOEXEC on the LMDB FD manually

    Currently the FD referring to the appstreacm-cache-FOO.mdb is leaked into
    child processes. The only way to fix is in a race-free way is by passing
    O_CLOEXEC when opening it inside LMDB, but that's currently not done.
    Vogtinator committed Nov 12, 2020