Hey. How to catch all file descryptors closing when I'm in kld module? I can't catch closef() because this isn't syscall of course:) At the moment I'm catching succeded close(), sys_exit(), and succeded kill(). But what with kernel kills (I mean segfaults, etc.)?
I need this, because in cerb (http://cerber.sourceforge.net) I need to have function that will give me filename from file descryptor and pid. Any ideas? I don't want to patch kernel directly. -- Pawel Jakub Dawidek Network Administrator. Am I Evil? Yes, I Am.
msg33508/pgp00000.pgp
Description: PGP signature

