You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why do we have to allow execmem manually in some cases where apps need it (seems to happen frequently)?
avc: denied { execmem } for pid=nnnn comm="...
I guess if it's not enabled by default, then it's probably not particularly safe or there are some issues related. Is that a good practice to allow it generally like sudo setsebool -P allow_execmem 1?
If it's not a good practice, can you indicate the right one?
The text was updated successfully, but these errors were encountered:
execmem: "Make executable an anonymous mapping or private file mapping that is writable."
It's bad because it allows a write/execute code path. This really only useful for things that JIT IIRC. Sometimes it triggers because of bad file permissions, ie they open a file writeable but never actually write and the fix is changing the code not the policy.
Hi,
I'm testing rules on a Debian.
Why do we have to allow
execmem
manually in some cases where apps need it (seems to happen frequently)?I guess if it's not enabled by default, then it's probably not particularly safe or there are some issues related. Is that a good practice to allow it generally like
sudo setsebool -P allow_execmem 1
?If it's not a good practice, can you indicate the right one?
The text was updated successfully, but these errors were encountered: