modfind returns error on kernel module name
Fredrik
starkbeats at gmail.com
Sun Sep 6 01:16:13 UTC 2015
Hello
I'm experimenting with a syscall KLD and are trying to find a loaded module by name reference, but the modfind function always fails with ENOENT. If I skip the modfind step and hard code in the value (which I print when the module is loaded) it works as expected.
I use the exact name I use for my function and when I register the function with the SYSCALL_MODULE macro. Any ideas what may be going on here?
More information about the freebsd-hackers
mailing list