Browse code

Revert "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"

Reverted per bug 1901 comment 11.

This reverts commit 69fd72a4da837e6dc00fc32881229c244d0a51f3.

Steven Morgan authored on 2016/03/31 02:21:26
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 antivirus_use_jit on'.", 0, 1);
142
+                         "Run  'setsebool -P clamd_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"