clamav: disable PaX mprotect for clamd.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 29 Sep 2013 11:09:50 +0000 (13:09 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 29 Sep 2013 11:09:50 +0000 (13:09 +0200)
lfs/clamav

index 9878fec0c4c2a7706ecbab0285e3c17f43ee8389..aa225f4dbe2f410335ee8eda52f277cf0f163580 100644 (file)
@@ -93,5 +93,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        rm -rfv /usr/share/clamav/*.cvd
        mkdir -p /var/run/clamav
        chown clamav:clamav /var/run/clamav
+
+       # Disable PaX mprotect for clamd
+       paxctl -cm /usr/sbin/clamd
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)