# 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:
```
 
       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/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 January 5, 2026: [Simplify regexp types and flags page structure (84231a8)](<https://github.com/axoflow/axosyslog-core-docs/commit/84231a8aa44d1bcc8a1bfd3dd4c62316ec91b52b>)