From 308009163d5211bbc4469d4084a83d3e4cf991a7 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Jun 2016 00:02:37 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- clamd.conf | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ init.d/clamd | 4 ++-- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/clamd.conf b/clamd.conf index 6e5ef32..ff25621 100644 --- a/clamd.conf +++ b/clamd.conf @@ -522,6 +522,31 @@ AllowSupplementaryGroups yes # Default: 100 #MaxIconsPE 200 +# This option sets the maximum calls to the PCRE match function during an instance of regex matching. +# Instances using more than this limit will be terminated and alert the user but the scan will continue. +# For more information on match_limit, see the PCRE documentation. +# Negative values are not allowed. +# WARNING: setting this limit too high may severely impact performance. +# Default: 10000 +#PCREMatchLimit 20000 + +# This option sets the maximum recursive calls to the PCRE match function during an instance of regex matching. +# Instances using more than this limit will be terminated and alert the user but the scan will continue. +# For more information on match_limit_recursion, see the PCRE documentation. +# Negative values are not allowed and values > PCREMatchLimit are superfluous. +# WARNING: setting this limit too high may severely impact performance. +# Default: 5000 +#PCRERecMatchLimit 10000 + +# This option sets the maximum filesize for which PCRE subsigs will be executed. +# Files exceeding this limit will not have PCRE subsigs executed unless a subsig is encompassed to a smaller buffer. +# Negative values are not allowed. +# Setting this value to zero disables the limit. +# WARNING: setting this limit too high or disabling it may severely impact performance. +# Default: 25M +#PCREMaxFileSize 100M + + ## ## On-access Scan Settings ## @@ -531,6 +556,14 @@ AllowSupplementaryGroups yes # Default: no #ScanOnAccess yes +# Set the mount point to be scanned. The mount point specified, or the mount point +# containing the specified directory will be watched. If any directories are specified, +# this option will preempt the DDD system. This will notify only. It can be used multiple times. +# (On-access scan only) +# Default: disabled +#OnAccessMountPath / +#OnAccessMountPath /home/user + # Don't scan files larger than OnAccessMaxFileSize # Value of 0 disables the limit. # Default: 5M @@ -554,6 +587,23 @@ AllowSupplementaryGroups yes # Default: disabled #OnAccessExcludeUID 0 +# Toggles dynamic directory determination. Allows for recursively watching include paths. +# (On-access scan only) +# Default: no +#OnAccessDisableDDD yes + +# Modifies fanotify blocking behaviour when handling permission events. +# If off, fanotify will only notify if the file scanned is a virus, +# and not perform any blocking. +# (On-access scan only) +# Default: no +#OnAccessPrevention yes + +# Toggles extra scanning and notifications when a file or directory is created or moved. +# Requires the DDD system to kick-off extra scans. +# (On-access scan only) +# Default: no +#OnAccessExtraScanning yes ## ## Bytecode diff --git a/init.d/clamd b/init.d/clamd index 276e07a..ee11b39 100755 --- a/init.d/clamd +++ b/init.d/clamd @@ -1,7 +1,7 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.initd-r6,v 1.1 2013/09/27 16:04:14 eras Exp $ +# $Id$ daemon_clamd="/usr/sbin/clamd" daemon_freshclam="/usr/bin/freshclam" -- 2.39.5