add a note about forking daemons (bb#906)

git-svn: trunk@3837
remotes/push_mirror/metadata
Tomasz Kojm 17 years ago
parent 29daf96bab
commit 7497489849
  1. 4
      ChangeLog
  2. BIN
      docs/clamdoc.pdf
  3. 7
      docs/clamdoc.tex

@ -1,3 +1,7 @@
Mon May 5 15:32:42 CEST 2008 (tk)
----------------------------------
* doc/clamdoc.tex: add a note about forking daemons (bb#906)
Sun May 4 21:57:33 EEST 2008 (edwin)
------------------------------------
* libclamav/Makefile.am: link .la files first, this

Binary file not shown.

@ -881,6 +881,13 @@ struct cl_limits {
Because the engine structure occupies a few megabytes of system memory, you
should release it with \verb+cl_free+ if you no longer need to scan files.
\subsubsection{Forking daemons}
If you're using libclamav with a forking daemon you should call
\verb+srand()+ inside a forked child before making any calls to the
libclamav functions. This will avoid possible collisions with temporary
filenames created by other processes of the daemon. This procedure
is not required for multi-threaded daemons.
\subsubsection{clamav-config}
Use \verb+clamav-config+ to check compilation information for libclamav.
\begin{verbatim}

Loading…
Cancel
Save