KLD trouble

Vlad GALU dudu at diaspar.rdsnet.ro
Thu May 27 16:04:39 PDT 2004


	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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040528/9d0ce341/attachment.bin


More information about the freebsd-hackers mailing list