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

Add check for selinux status, hint user it might cause the mprotect call failure #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TianyouLi
Copy link

When running the nanobench under CentOS Stream 9, the example 1 will fail with "Error: mprotect failed". The reason is the selinux enforced and the policy prohibited the prot_exec. Thus, add a simple note to remind the user that selinux enforcing which might cause the mprotect call failure.

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.

1 participant