-
Notifications
You must be signed in to change notification settings - Fork 689
sigaction
should probably be unsafe
#90
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
Comments
Pinging @wycats |
Meh. It's relatively easy to mark the function unsafe. Should I make a pull request? |
tbu-
added a commit
to tbu-/rust-nix
that referenced
this issue
Apr 14, 2015
This is done because interrupted execution has soundness bugs regarding thread-local storage. Fixes nix-rust#90.
Merged
tbu-
added a commit
to tbu-/rust-nix
that referenced
this issue
Apr 14, 2015
This is done because interrupted execution has soundness bugs regarding thread-local storage. Fixes nix-rust#90.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you access thread-local data in a signal handler or panic, you probably invoke UB.
http://users.rust-lang.org/t/unix-signals-in-rust/733/3
The text was updated successfully, but these errors were encountered: