Laurent Wacrenier wrote:

> If you want to allow them, use system() within the child process
> instead of execve() and you don't have to locate the shell path
> anymore.

Thanks for your help Laurent - I hadn't quite understood what you meant by
using system inside() the fork(), but that is of course the perfect solution.

http://jessen.ch/files/patch-clamav-0.83-freshclam-with-fork5


/Per Jessen, Zürich


_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to