Open
Description
In case anyone using an SELinux-enabled system runs into the following error:
$ LIBZPHOOK=./apps/basic/libzphook_basic.so LD_PRELOAD=./libzpoline.so /bin/ls
map failed
NOTE: /proc/sys/vm/mmap_min_addr should be set 0
the root cause is SELinux. By setting it to Permissive mode, you can get it to work:
sudo setenforce 0
You can turn it back to enforcement afterwards:
sudo setenforce 1
Activity
yasukata commentedon Oct 21, 2024
I have added a note on this issue in README.
Thank you very much for your report which has improved the documentation.
Jaslayer commentedon Nov 5, 2024
It might be more appropriate to use :
yasukata commentedon Nov 7, 2024
It is good to know that setsebool can selectively enable or disable access control settings.
Thank you very much for sharing the helpful information.