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.
pgpYZF4tbRXTA.pgp
Description: PGP signature