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

Use sigaction() instead of signal() when registering anti-terminate signals #35

Open
sisungo opened this issue Jun 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sisungo
Copy link
Owner

sisungo commented Jun 9, 2024

Anti-terminate signals (like SIGABRT, SIGSEGV, etc.) are registered via signal() system call. However, use of signal() is strongly discouraged by Linux man pages because its behavior varies across Unix implementations, and even versions of Linux.

@sisungo sisungo added the enhancement New feature or request label Jun 9, 2024
@sisungo sisungo self-assigned this Jun 9, 2024
@sisungo
Copy link
Owner Author

sisungo commented Sep 1, 2024

Using sigaction with crate libc differs on platforms, that's why this issue isn't solved immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant