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 7 pull requests #73547

Closed
wants to merge 24 commits into from
Closed

Commits on May 26, 2020

  1. Properly encode AnonConst into crate metadata

    Fixes rust-lang#68104
    
    Previous, we were encoding AnonConst as a regular Const, causing us to
    treat them differently after being deserialized in another compilation
    session.
    Aaron1011 committed May 26, 2020
    Configuration menu
    Copy the full SHA
    ebe5a91 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2020

  1. Add a disabled builder for riscv64 emulated tests

    This will run all tests for `riscv64gc-unknown-linux-gnu` in a QEMU
    instance. This is based upon the armhf QEMU test image.
    tblah committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    a008a55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    253112d View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. tools: remote-test-client: fix typo

    Thanks to jfrimmel for pointing this out
    
    Co-authored-by: J. Frimmel <31166235+jfrimmel@users.noreply.github.com>
    tblah and jfrimmel authored Jun 10, 2020
    Configuration menu
    Copy the full SHA
    086eaf8 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Update CFGuard syntax

    ajpaverd committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    83e6c0e View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. ci: disable alt build during try builds

    The build is not actually needed often, and it can be added back on a
    case-by-case basis if a specific PR needs access to it.
    pietroalbini committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    afde860 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. Prevent attacker from manipulating FPU tag word used in SGX enclave

    Insufficient sanitization of the x87 FPU tag word in the trusted enclave runtime allowed unprivileged adversaries in the containing host application to induce incoherent or unexpected results for ABI-compliant compiled enclave application code that uses the x87 FPU.
    
    Vulnerability was disclosed to us by Fritz Alder, Jo Van Bulck, David Oswald and Frank Piessens
    raoulstrackx committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    daedb79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c34357 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f44731a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd883ed View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2020

  1. Configuration menu
    Copy the full SHA
    33b304c View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2020

  1. Configuration menu
    Copy the full SHA
    6c45801 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5fbb6ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2851c9f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a3e88be View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d2e6e93 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    66e7a14 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#72600 - Aaron1011:fix/anon-const-encoding, …

    …r=varkor
    
    Properly encode AnonConst into crate metadata
    
    Fixes rust-lang#68104
    
    Previous, we were encoding AnonConst as a regular Const, causing us to
    treat them differently after being deserialized in another compilation
    session.
    RalfJung authored Jun 20, 2020
    Configuration menu
    Copy the full SHA
    c7fb172 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#73058 - tmiasko:aarch64-san, r=nagisa

    Support sanitizers on aarch64-unknown-linux-gnu
    RalfJung authored Jun 20, 2020
    Configuration menu
    Copy the full SHA
    522f1a6 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#73171 - tblah:riscv-qemu-test, r=pietroalbini

    RISC-V Emulated Testing
    
    Adds a disabled docker image on which to run RISC-V tests. Based on the armhf image.
    
    Test using
    ```
    ./src/ci/docker/run.sh riscv64gc-linux
    ```
    
    cc: @msizanoen1
    RalfJung authored Jun 20, 2020
    Configuration menu
    Copy the full SHA
    7951305 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#73404 - ajpaverd:cfguard_syntax, r=Mark-Sim…

    …ulacrum
    
    Update CFGuard syntax
    
    Update the naming and syntax of the control-flow-guard option, as discussed in rust-lang#68793.
    
    r? @Mark-Simulacrum
    RalfJung authored Jun 20, 2020
    Configuration menu
    Copy the full SHA
    763f969 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#73444 - pietroalbini:ci-remove-try-alt, r=M…

    …ark-Simulacrum
    
    ci: disable alt build during try builds
    
    The alt build is not actually needed often, and it can be added back on a case-by-case basis if a specific PR needs access to it.
    
    This will free up a builder.
    
    r? @Mark-Simulacrum
    RalfJung authored Jun 20, 2020
    Configuration menu
    Copy the full SHA
    f4be902 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#73460 - tmandry:variant-lineinfo, r=oli-obk

    Emit line info for generator variants
    
    Debuggers should be able to read a generator / async fn state machine and show the line it's suspended at. Eventually, this could grow into an "async stack trace" feature of sorts. While no debugger support this for Rust today, this PR adds the debuginfo necessary for that support to exist.
    
    [This gist](https://gist.github.com/tmandry/6d7004fa008684f76809208847459f9b) shows the resulting debuginfo for a simple example. Here's a snippet:
    
    ```
    0x00000986:           DW_TAG_variant
                            DW_AT_discr_value       (0x03)
    
    0x00000988:             DW_TAG_member
                              DW_AT_name    ("3")
                              DW_AT_type    (0x000009bc "Suspend0")
                              DW_AT_decl_file       ("/home/tmandry/code/playground/generator-simple.rs")
                              DW_AT_decl_line       (6)
                              DW_AT_alignment       (8)
                              DW_AT_data_member_location    (0x00)
    ```
    
    The file and line have been added here. The line currently points to the beginning of the statement containing the yield (or await), because that's what the MIR source info points to for the yield terminator. (We may want to point to the yield or await line specifically, but that can be done independently of this change.)
    
    Debuggers don't know how to use this kind of info yet. However, we're hoping to experiment with adding such support to Fuchsia's debugger. It would be exciting if someone were interested in adding similar to support to gdb/lldb.
    
    r? @oli-obk
    cc @eddyb @jonas-schievink
    
    Part of rust-lang#73524.
    RalfJung authored Jun 20, 2020
    Configuration menu
    Copy the full SHA
    50cbc1a View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#73471 - raoulstrackx:raoul/fpu_tag_word, r=…

    …jethrogb
    
    Prevent attacker from manipulating FPU tag word used in SGX enclave
    
    Insufficient sanitization of the x87 FPU tag word in the trusted enclave runtime allowed unprivileged adversaries in the containing host application to induce incoherent or unexpected results for ABI-compliant compiled enclave application code that uses the x87 FPU.
    
    Vulnerability was disclosed to us by Fritz Alder, Jo Van Bulck, David Oswald and Frank Piessens
    
    cc: @jethrogb
    RalfJung authored Jun 20, 2020
    Configuration menu
    Copy the full SHA
    1b2f52c View commit details
    Browse the repository at this point in the history