Date: Tue, 16 Mar 2004 22:47:24 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Roman Bogorodskiy <bogorodskiy@inbox.ru> Cc: freebsd-hackers@freebsd.org Subject: Re: kernel modules programming: struct proc question Message-ID: <20040316214724.GK8930@darkness.comp.waw.pl> In-Reply-To: <20040316163956.GD638@lame.novel.ru> References: <20040316163956.GD638@lame.novel.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAV3XsForvXbEpPzQRAnAEAKDfa6mYViPYi44EwMSBn02cXw1iMwCghNfn FlXyyqKxTrk4Tir/wLdZreQ= =xIEw -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316214724.GK8930>
