On Tue, Mar 16, 2004 at 07:39:56PM +0300, Roman Bogorodskiy wrote:
+>      I hope it's a right place for kernel module programming related
+> questions, in another case I'd be glad if you point me to the right
+> maillist. 
+> 
+> So, my aim is to log every file opening in `/tmp' dir. I've wrote a simple
+> "syscall" module which replaces open(2) syscall. My new open(2) looks
+> like this:

Keep in mind, that there is no need to open file by giving its full path.
For example:

        % cd /tmp
        % cat ./foo
or:
        % ln -s /tmp/foo ~/bar
        % cat bar

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
[EMAIL PROTECTED]                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to