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

Fix fd sanitization #7464

Closed
wants to merge 1 commit into from
Closed

Fix fd sanitization #7464

wants to merge 1 commit into from

Commits on Oct 28, 2023

  1. Fix fd sanitization

    - Fix broken logic introduced by commit 79a1c39 which modify `fds_to_ignore` when `android_log_close` is called, where `fds_to_ignore` was already read and converted into a C++ vector, so our hacks never take effect. This fixes topjohnwu#7448
    - The previous logic rely on `android_log_close` to close `logd_fd` in zygote and causes `logd_fd` being closed and re-acquired too many times. Update `fds_to_ignore` in zygote process as well to avoid that case.
    canyie committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    c68071b View commit details
    Browse the repository at this point in the history