William Scott wrote:
Dennis Peterson wrote:
William Scott wrote:
Does clamscan exclude /proc by default ?
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html
In the clamscan source directory:
[root]$ grep proc *.c
manager.c:dev_t procdev;
manager.c: procdev = (dev_t) 0;
manager.c: if(stat("/proc", &sb) != -1 && !sb.st_size)
manager.c: procdev = sb.st_dev;
manager.c: /* argh, don't scan /proc files */
manager.c: if(procdev)
manager.c: if(sb.st_dev == procdev) {
manager.c: mprintf("%s: Excluded (/proc)\n", filename);
manager.c: mprintf("\nUnpacker process %d stopped
due to exceeded limits\n", pid);
Thanks Dennis.
I might learn a programming language one day until then I'll have to
rely on programmers comments in the source code.
You wouldn't know if there are any other excluded directories?
William.
Sorry, I don't. Possibly any well-known pseudo file system is mapped out
but it would require a reading of the code to be sure or perhaps one of
the hard working coders here can answer.
dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html