Browse code

Patch by Robert Scheck <robert@fedoraproject.org> for clamav >= 0.99.1 which changes the SELinux boolean name from the obsolete (and former alias) clamd_use_jit to the current antivirus_use_jit. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1295473

Steven Morgan authored on 2016/03/31 01:27:53
Showing 1 changed files
... ...
@@ -139,7 +139,7 @@ int entrypoint()
139 139
         if (env.os_features & (1 << feature_selinux))
140 140
           /* all SELinux versions deny RWX mapping when policy says so */
141 141
           disable_jit_if("^SELinux is preventing 'execmem' access.\n"
142
-                         "Run  'setsebool -P clamd_use_jit on'.", 0, 1);
142
+                         "Run 'setsebool -P antivirus_use_jit on'.", 0, 1);
143 143
         else if (env.os_features & (1 << feature_pax))
144 144
           /* recent versions of PaX deny RWX mapping */
145 145
           disable_jit_if("^PaX is preventing 'mprotect' access.\n"