tum-ei-eda / etiss

Extendable Translating Instruction Set Simulator
https://tum-ei-eda.github.io/etiss/
Other
29 stars 36 forks source link

Support TCC JIT engine on systems with SELinux active #94

Closed lukasauer closed 2 years ago

lukasauer commented 2 years ago

TCC must be explicitly configured with SELinux support to work on systems that have it enabled. Try to automatically detect SELinux and configure TCC accordingly by parsing the output of the command "getenforce". Alternatively, the cmake variable ETISS_TCC_SELINUX can be set to ON.

Fixes #91

Please test the patch on your system, I was only able to test it on mine, which has selinux enabled.

rafzi commented 2 years ago

great, thanks!