Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

SELinux: Failed to memory protect #2

Open
JGoutin opened this issue Nov 24, 2018 · 0 comments
Open

SELinux: Failed to memory protect #2

JGoutin opened this issue Nov 24, 2018 · 0 comments

Comments

@JGoutin
Copy link
Owner

JGoutin commented Nov 24, 2018

On Fedora29, I get RuntimeError: Failed to memory protect from compilertools.processors.x86_32, line 271.

This is used to execute x86 byte-code and get CPUID result and work properly on some other linux OS.

This only append when SELinux is enabled.

After some search, SELinux disable ability to allocate a memory page, write on it and set it executable using mprotect.

Need an implementation that work on SELinux.

@JGoutin JGoutin changed the title Failed to memory protect SELinux: Failed to memory protect Jan 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant