Re: [Clamav-devel] [PATCH] Clamuko: DazukoFS support + fix r…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Tomasz Kojm
Date:  
To: ClamAV Development
Subject: Re: [Clamav-devel] [PATCH] Clamuko: DazukoFS support + fix reload race
On Wed Sep 09 2009 00:37:14 GMT+0200 (CEST)
John Ogness <> wrote:
> This is a patch against ClamAV 0.95.2 that introduces DazukoFS support
> for Clamuko. If /dev/dazukofs.ctrl is not found, it falls back to the
> original Clamuko (Dazuko) code.
>
> The following config options do not have any meaning with DazukoFS:
> ClamukoScanOnOpen, ClamukoScanOnClose, ClamukoScanOnExec,
> ClamukoIncludePath, ClamukoExcludePath
> If using DazukoFS with these options specified, a warning is logged.
>
> A new config option ClamukoScannerCount is also introduced (only for
> use with DazukoFS). It specifies how many scanner threads should be
> started for Clamuko. It defaults to 3.
>
> Note that no virus handling is supported with DazukoFS. File access
> can only be blocked. This is something that may be added later.
>
> This patch also fixes a race condition in clamd/server-th.c where
> Clamuko could scan files while the db was reloaded. This caused the
> the scanner thread to sit in cl_scandesc() with 100% CPU forever.
> Now a reload of Clamuko will be done cleanly.
>
> This patch has been tested on Linux/ppc 2.6.30.5 together with
> DazukoFS 3.1.0-rc2.


Hi John,

if possible, please open two bug reports at bugs.clamav.net (for race
condition and dazukofs support) and attach your patches there - this
will help us to better schedule the changes.

Thanks!!

Best regards,

-- 
   oo    .....         Tomasz Kojm <>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Wed Sep  9 23:19:08 CEST 2009
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net