On Sat, Nov 29, 2003 at 04:02:08PM -0500, Brian Rossa wrote: > Muli, > > A quick scan of the white-paper > (http://www.netsys.com/library/papers/lsm-usenix.pdf) reveals that there > are facilities for registering new system calls, but not overloading > existing ones. Am I mistaken? You are not mistaken, as far as I know. However, the LSM framework should provide the hooks to do what you want. Instead of overriding the open() syscall, you implement the functionality you need at a lower level. For example, the inode_permission hook appears to be called whenever a file is opened. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/ "the nucleus of linux oscillates my world" - gccbot@#offtopic
Attachment:
signature.asc
Description: Digital signature