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

linux: try to use libc getrandom to allow interposition #78785

Merged
merged 3 commits into from
Nov 18, 2020

Commits on Nov 16, 2020

  1. linux: try to use libc getrandom to allow interposition

    We'll try to use a weak `getrandom` symbol first, because that allows
    things like `LD_PRELOAD` interposition. For example, perf measurements
    might want to disable randomness to get reproducible results. If the
    weak symbol is not found, we fall back to a raw `SYS_getrandom` call.
    cuviper committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    7a15f02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a035626 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cd22381 View commit details
    Browse the repository at this point in the history