Re: Scanning memory mapped files

neel roy via clamav-users <[email protected]>
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <1733384211.S.10426.autosave.drafts.1733384900.15112@webmail.rediffmail.com>
Hello,

Sorry, I should have given complete information but my thought process was little slow :) Here is the question as I posted on stackoverflow (https://superuser.com/questions/1863769/clamav-and-memory-mapped-files):
&nbsp;I am using clamav on Enterprise Linux 9. In order to optimize it&#39;s scanning I am getting list of modified files using fanotify (https://man7.org/linux/man-pages/man7/fanotify.7.html).
But it states &quot; The fanotify API does not report file accesses and modifications that may occur because of mmap(2), msync(2), and munmap(2).&quot;.
Based on this I have two questions:
	does clamav scan memory mapped files?	If it does, is there a way to ask clamav to scan just memory mapped files?
Thanks in advance!


Thanks!

From: neel roy via clamav-users &lt;[email protected]&gt;
Sent: Thu, 05 Dec 2024 12:24:27
To: &lt;[email protected]&gt;
Cc: neel roy &lt;[email protected]&gt;
Subject: [clamav-users] Scanning memory mapped files

Hello,

Does clamav scan memory mapped files? If yes, does it option to scan _just_ memory mapped files?

Thanks in advance,
-Neel.
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.