Skip to content
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

Make sigaction() take Option<_> arguments #14

merged 1 commit into from
Jul 11, 2017


Copy link

@ids1024 ids1024 commented Jul 11, 2017

It looks like the kernel handles null pointers correctly, but syscall doesn't provide a way to send them.

This is a breaking change, but that shouldn't be an issue since the API is new.

Copy link
Contributor Author

ids1024 commented Jul 11, 2017

An alternative would be to make the function take raw pointers, but that would mean it should be unsafe. Although, perhaps registering a signal handler is fairly unsafe anyway.

Copy link

This is good

@jackpot51 jackpot51 merged commit 8e05a19 into redox-os:master Jul 11, 2017
@ids1024 ids1024 deleted the sigaction branch July 11, 2017 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
2 participants