The release function should IMHO also be an inode operation
and not a file operation.
Thomas Sailer has shown that it is possible to keep a file
memory mapped after it has been closed. This causes some
security problems mainly with the sound driver.
There is no safe and easy way to know when is the
REALLY-LAST munmap on an inode from a device-driver's side.
Itai
-- Itai Nahshon nahshon@actcom.co.il Also nahshon@vnet.ibm.com- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu