Hi!
Okay, so goal of libmalware.so is to "not allow data in the black list
to pass through Linux server". Threat model is windows machines trying
to copy infected files through the server. Viruses are not expected to
have shell access to either root or normal users on the server.
mmap problem: libmalware.so would not offer mmap() to applications (or
maybe it would do copy of the file, then allow mmap on the copy).
kernel NFS server is not handled; don't use it for serving Windows
clients. Not that you need performance for that, anyway.
Obviously libmalware.so will not help applications not using it. With
distributions, that's not a problem.
Unlike kernel solution, it does not contain races with read/write/mmap
-- untrusted files access is made through methods that can be safe.
You can query helper daemon for cache info; that should provide good
enough performance.
I never claimed it is easier to maintain than kernel solution; but
unlike kernel solution it actually _works_, 100% of time, for apps
using it.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--