about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-13 07:46:21 +0000
committerbors <bors@rust-lang.org>2019-02-13 07:46:21 +0000
commitccd23b95e5077a89a2ce35d09cbd4141ccc94f58 (patch)
tree081854c6d2d08c3e816a5661f73129cb53be960a /src/libstd/sys/unix/stack_overflow.rs
parent827a141466e7bb85eb3c030600878a2c606019e9 (diff)
parent0d2ab0b77dd82d192f987ab4e1645577eccd3562 (diff)
downloadrust-ccd23b95e5077a89a2ce35d09cbd4141ccc94f58.tar.gz
rust-ccd23b95e5077a89a2ce35d09cbd4141ccc94f58.zip
Auto merge of #58235 - jethrogb:jb/sgx-usercall-internals, r=alexcrichton
SGX target: simplify usercall internals

This moves logic from assembly to Rust and removes the special case for exit/panic handling, merging it with regular usercall handling.

Also, this fixes a bug in the exit usercall introduced in a75ae00. The bug would make regular exits look like panics with high probability. It would also with some probability leak information through uncleared registers.

cc @VardhanThigle

r? @alexcrichton
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions