cb1d163
Patch by Robert Scheck <robert@fedoraproject.org> for clamav >= 0.99.1 which changes the SELinux
cb1d163
boolean name from the obsolete (and former alias) clamd_use_jit to the current antivirus_use_jit.
cb1d163
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1295473
cb1d163
cb1d163
--- clamav-0.99.1/libclamav/builtin_bytecodes.h			2015-12-11 17:26:02.000000000 +0100
cb1d163
+++ clamav-0.99.1/libclamav/builtin_bytecodes.h.setsebool	2016-03-29 23:32:03.000000000 +0200
cb1d163
@@ -139,7 +139,7 @@
cb1d163
         if (env.os_features & (1 << feature_selinux))
cb1d163
           /* all SELinux versions deny RWX mapping when policy says so */
cb1d163
           disable_jit_if("^SELinux is preventing 'execmem' access.\n"
cb1d163
-                         "Run  'setsebool -P clamd_use_jit on'.", 0, 1);
cb1d163
+                         "Run 'setsebool -P antivirus_use_jit on'.", 0, 1);
cb1d163
         else if (env.os_features & (1 << feature_pax))
cb1d163
           /* recent versions of PaX deny RWX mapping */
cb1d163
           disable_jit_if("^PaX is preventing 'mprotect' access.\n"