-
Notifications
You must be signed in to change notification settings - Fork 98
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
Investigate unreachable being reached #86
Comments
Simpler test case, doesn't require modification of enclave-runner: fn main() {
let (_tx, rx) = std::sync::mpsc::channel::<()>();
let _ = rx.recv_timeout(std::time::Duration::from_millis(1));
} And this one deadlocks: fn main() {
let (tx, rx) = std::sync::mpsc::channel::<()>();
let _ = tx.clone();
let _ = rx.recv_timeout(std::time::Duration::from_millis(1));
} |
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 1, 2019
…r=alexcrichton SGX target: convert a bunch of panics to aborts Fixes fortanix/rust-sgx#86, fortanix/rust-sgx#103 and in general protect preemptively against Iago attacks by aborting instead of unwinding in potentially unexpected situations.
Centril
added a commit
to Centril/rust
that referenced
this issue
Apr 2, 2019
…r=alexcrichton SGX target: convert a bunch of panics to aborts Fixes fortanix/rust-sgx#86, fortanix/rust-sgx#103 and in general protect preemptively against Iago attacks by aborting instead of unwinding in potentially unexpected situations.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enclave code:
Modify runner so
wait
returns a bogus value, e.g.Observe SIGILL (ud2) in the enclave in Condvar/MPSC logic.
The text was updated successfully, but these errors were encountered: