Date: Fri, 28 May 2004 02:04:38 +0300 From: Vlad GALU <dudu@diaspar.rdsnet.ro> To: freebsd-hackers@freebsd.org Subject: KLD trouble Message-ID: <20040528020438.3bad0d69.dudu@diaspar.rdsnet.ro>
next in thread | raw e-mail | index | archive | help
--Signature=_Fri__28_May_2004_02_04_38_+0300_2DuA1yRmHq8VrpKC Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit Hi there. I've been writing a KLD which contains a control syscall. I then use the macro SYSCALL_MODULE with the desired parameters. Normally, my syscall would automatically get the next free syscall number. But it seems I've done something wrong, because I get negative numbers all the time, which is not correct. Any idea why ? Has this happened to anyone else before ? I read the code several times trying to find the bug, but it was exactly like the one used in the examples in /usr/share/examples/kld/syscall/module. I'm quite lost here ... ---- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. --Signature=_Fri__28_May_2004_02_04_38_+0300_2DuA1yRmHq8VrpKC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAtnQHP5WtpVOrzpcRAuGyAJ9pReSavwd1yXvTPXGwkNYJLrlKOgCaA/0W cPujBbjGmoO9KDoBDkIbTpE= =5c8P -----END PGP SIGNATURE----- --Signature=_Fri__28_May_2004_02_04_38_+0300_2DuA1yRmHq8VrpKC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040528020438.3bad0d69.dudu>