about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-17 07:05:39 +0000
committerbors <bors@rust-lang.org>2019-04-17 07:05:39 +0000
commite4e032a0ae82d7db4f99872ff98626af2941c4a5 (patch)
tree876205f9cdce195a39e701740bda7b18b047d44f /src/test/ui/thinlto
parent258e3b3a75a0da006cd492307fc46ef605e774ad (diff)
parentd0a1c2d3e0ac91849882693720cb81b5da533439 (diff)
downloadrust-e4e032a0ae82d7db4f99872ff98626af2941c4a5.tar.gz
rust-e4e032a0ae82d7db4f99872ff98626af2941c4a5.zip
Auto merge of #60027 - jethrogb:jb/sgx-reentry-abort, r=cramertj
SGX target: change re-entry abort logic

Even though re-entry after exit is generally not acceptable, there is a race condition where the enclave thinks it's exited but userspace doesn't know that yet. An entry during that time will currently result in an enclave panic (see https://github.com/rust-lang/rust/pull/59997#issuecomment-483846291, https://github.com/rust-lang/rust/pull/60003#issuecomment-483888170). Instead of panicking, just do a regular exit on re-entry.

cc @jseyfried
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions