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
--GmiNL4+5WUWrod5m Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.=20 +>=20 +> So, my aim is to log every file opening in `/tmp' dir. I've wrote a simp= le +> "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 --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --GmiNL4+5WUWrod5m Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAV3XsForvXbEpPzQRAnAEAKDfa6mYViPYi44EwMSBn02cXw1iMwCghNfn FlXyyqKxTrk4Tir/wLdZreQ= =xIEw -----END PGP SIGNATURE----- --GmiNL4+5WUWrod5m--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316214724.GK8930>