Skip to content

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

Open
TianyouLi wants to merge 1 commit intoandreas-abel:masterfrom
TianyouLi:selinux
Open

Add check for selinux status, hint user it might cause the mprotect call failure#32
TianyouLi wants to merge 1 commit intoandreas-abel:masterfrom
TianyouLi:selinux

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