What would be the pros/cons of adding a 'ClamukoScanOnWriteAccess' option to 
clamuko? I'm thinking of something along the lines of a check for the 
following flags in the acc->flags field passed by dazuko:

O_RDWR
O_WRONLY
O_APPEND
O_SYNC
O_CREAT
O_EXCL

I know fcntl can change some flags after a file has been opened, but my 
understanding is that it can't change a read open to a write open.

Is there any sort of write-activity this approach would miss?

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

Reply via email to