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

Rollup of 6 pull requests #65826

Merged
merged 22 commits into from
Oct 25, 2019
Merged

Rollup of 6 pull requests #65826

merged 22 commits into from
Oct 25, 2019

Commits on Oct 21, 2019

  1. fixed ac vulnerability

    raoulstrackx committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    fc50036 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2019

  1. Configuration menu
    Copy the full SHA
    f6aa64b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee1173a View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2019

  1. Configuration menu
    Copy the full SHA
    9c08306 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcf3436 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4936f96 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f1b69b0 View commit details
    Browse the repository at this point in the history
  5. removed unnecessary push

    raoulstrackx committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    d257c20 View commit details
    Browse the repository at this point in the history
  6. cleaning up code

    raoulstrackx committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    34f5d59 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    de9b660 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5aafa98 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0d21d25 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dce8fab View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6600cf6 View commit details
    Browse the repository at this point in the history
  12. Take out an insurance policy in case iter.size_hint()

    lies, underreporting the number of elements.
    Centril committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    dfcfca2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    381c442 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#65705 - shepmaster:vec-into-raw, r=SimonSapin

    Add {String,Vec}::into_raw_parts
    
    Aspects to address:
    
    - [x] Create a tracking issue
      - rust-lang#65816
    JohnTitor authored Oct 25, 2019
    Configuration menu
    Copy the full SHA
    a808ba3 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#65749 - Centril:insurance-policy, r=RalfJung

    Insurance policy in case `iter.size_hint()` lies.
    
    Follow up to https://github.com/rust-lang/rust/pull/64949/files#r334235076.
    (If the perf impact is bad we can use `debug_assert!` instead.)
    
    The good news is that the UI tests pass locally so `iter.size_hint()` seems to be honest *thus far*.
    On the other hand, with the status quo we do not have an insurance policy should that change in some case. This is problematic because a) this could possibly make some program be accepted which shouldn't, b) the compiler itself could have memory unsafety if the correctness of the iterator is assumed in `unsafe { ... }` code (even though the blame lies with the `unsafe { ... }` block in question.)
    
    r? @RalfJung
    cc @nnethercote
    JohnTitor authored Oct 25, 2019
    Configuration menu
    Copy the full SHA
    7068c2d View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#65799 - LukasKalbertodt:fill-array-value-it…

    …er-tracking-issue, r=Centril
    
    Fill tracking issue number for `array_value_iter`
    
    Thanks for [noticing](rust-lang#62959 (comment))!
    
    r? @Centril
    JohnTitor authored Oct 25, 2019
    Configuration menu
    Copy the full SHA
    9192f36 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#65800 - michaelwoerister:measureme-0.4.0, r…

    …=wesleywiser
    
    self-profiling: Update measureme to 0.4.0 and remove non-RAII methods from profiler.
    
    This PR removes all non-RAII based profiling methods from `SelfProfilerRef` 🎉
    It also delegates the `TimingGuard` implementation to `measureme`, now that that is available there.
    
    r? @wesleywiser
    JohnTitor authored Oct 25, 2019
    Configuration menu
    Copy the full SHA
    574b078 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#65806 - fusion-engineering-forks:slice-ptr-…

    …range, r=Centril
    
    Add [T]::as_ptr_range() and [T]::as_mut_ptr_range().
    
    Implementation of rust-lang/rfcs#2791
    JohnTitor authored Oct 25, 2019
    Configuration menu
    Copy the full SHA
    f0c58e9 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#65810 - raoulstrackx:ac_mitigation, r=nagisa

    SGX: Clear additional flag on enclave entry
    
    An attacker could set both the AC flag in CR0 as in rflags. This causes the enclave to perform an AEX upon a misaligned memory access, and an attacker learns some information about the internal enclave state.
    The AC flag in rflags is copied from userspace upon an enclave entry. Upon AEX it is copied and later restored. This patch forces the rflag.AC bit to be reset right after an enter.
    JohnTitor authored Oct 25, 2019
    Configuration menu
    Copy the full SHA
    d40c6af View commit details
    Browse the repository at this point in the history