Cc: <davecb@...>, Arjan van de Ven <arjan@...>, Mihai Don??u <mdontu@...>, Adrian Bunk <bunk@...>, <tvrtko.ursulin@...>, Greg KH <greg@...>, <linux-kernel@...>, <linux-security-module@...>, <malware-list@...>
As I said, that does not work. Proposed solution blocked open, while
you'd have to block read() and you still could not handle mmap.
So sorry, no kernel solution can work.
So you make sure all apps are modified. Distros are good at that, and
modifications are not that hard.
Plus, proposed solution already has three unacceptable holes:
1) it only catches known signatures
2) write vs. read race mentioned above
3) mmap problem
. Making sure all apps use libmalware.so is trivial compared to
solving 3).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--