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

main: Give a friendly message when we get a seccomp violation #2148

Conversation

rbradford
Copy link
Member

If we receive SIGSYS and identify it as a seccomp violation then give
friendly instructions on how to debug further. We are unable to decode
the siginfo_t struct ourselves due to rust-lang/libc#716

Fixes: #2139

Signed-off-by: Rob Bradford [email protected]

If we receive SIGSYS and identify it as a seccomp violation then give
friendly instructions on how to debug further. We are unable to decode
the siginfo_t struct ourselves due to rust-lang/libc#716

Fixes: cloud-hypervisor#2139

Signed-off-by: Rob Bradford <[email protected]>
@rbradford rbradford requested a review from sboeuf January 11, 2021 18:36
Copy link
Member

@likebreath likebreath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great.

@rbradford rbradford merged commit 39d080e into cloud-hypervisor:master Jan 12, 2021
@rbradford rbradford deleted the 2021-01-11-friendly-log-seccomp-violation branch January 24, 2021 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add signal handler to report details from SIGSYS
2 participants