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

tsan: make detecting the need for locking when using tsan easier #17479

Closed
wants to merge 8 commits into from

Commits on Jan 13, 2022

  1. Copy the full SHA
    0e24e9e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    716e2e0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    a247ce7 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    1aa0561 View commit details
    Browse the repository at this point in the history
  5. mem: do not produce usage counts when tsan is unavailable.

    Doing the tsan operations under lock would be difficult to arrange here (locks
    require memory allocation).
    paulidale committed Jan 13, 2022
    Copy the full SHA
    ed4713d View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    daefcfc View commit details
    Browse the repository at this point in the history
  7. drbg: add handling for cases where TSAN isn't available

    Most of the DRGB code is run under lock from the EVP layer.  This is relied
    on to make the majority of TSAN operations safe.  However, it is still necessary
    to enable locking for all DRBGs created.
    paulidale committed Jan 13, 2022
    Copy the full SHA
    5112c33 View commit details
    Browse the repository at this point in the history
  8. threadstest: use locking for tsan operations if required

    Not all platforms support tsan operations, those that don't need to have an
    alternative locking path.
    
    Fixes openssl#17447
    paulidale committed Jan 13, 2022
    Copy the full SHA
    1dcc416 View commit details
    Browse the repository at this point in the history