diff options
| author | Jethro Beekman <jethro@fortanix.com> | 2019-02-06 22:28:45 +0530 |
|---|---|---|
| committer | Jethro Beekman <jethro@fortanix.com> | 2019-02-06 23:24:55 +0530 |
| commit | 0d2ab0b77dd82d192f987ab4e1645577eccd3562 (patch) | |
| tree | a774b680b8d2e703eee44c2af9ba6de634c180af /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 4b1e39b7b36d677803e40130ea29ee6d300abf6e (diff) | |
| download | rust-0d2ab0b77dd82d192f987ab4e1645577eccd3562.tar.gz rust-0d2ab0b77dd82d192f987ab4e1645577eccd3562.zip | |
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
