about summary refs log tree commit diff
path: root/src/libstd/sys_common
diff options
context:
space:
mode:
authorJethro Beekman <jethro@fortanix.com>2019-02-06 22:28:45 +0530
committerJethro Beekman <jethro@fortanix.com>2019-02-06 23:24:55 +0530
commit0d2ab0b77dd82d192f987ab4e1645577eccd3562 (patch)
treea774b680b8d2e703eee44c2af9ba6de634c180af /src/libstd/sys_common
parent4b1e39b7b36d677803e40130ea29ee6d300abf6e (diff)
downloadrust-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_common')
0 files changed, 0 insertions, 0 deletions