# SELinux prevents using the execmem access on a process

If you are using a recent enough PCRE library, AxoSyslog will automatically use the JIT of the regexp engine, which will result in a similar error:

Terminal window
```
       setroubleshoot [21631 ] : SELinux is preventing <syslog-ng path> from using the execmem access on a process. (...)
        
        python [21631 ] : SELinux is preventing <syslog-ng path> from using the execmem access on a process.
```

To resolve this issue, switch off the PCRE JIT compile function by using the [disable-jit](../../docs/axosyslog-core/4.26/chapter-manipulating-messages/regular-expressions/reference-regexp-types/index.md#pcre-flags) `flags()` option in the given filter or rewrite rule of your configuration.

Last modified May 20, 2026: [Link fix (76e495d8)](<https://github.com/axoflow/axosyslog-core-docs/commit/76e495d89007c2f6fb849621d0c3bacc95211e61>)