kldload sets ENOENT instead of EDOOFUS?

Ben Kaduk minimarmot at gmail.com
Sun Dec 14 04:05:37 UTC 2008

Hi all,

In attempting to get OpenAFS working on current, I happened to attempt
to load a kernel
module that references suser(), which does not exist.
I was very confused when warn() printed "No such file or directory",
since the kernel
module clearly existed.  It seems that perhaps EDOOFUS ("Programming error")
would be more appropriate.
I'm not sure that I'm tracing through the kernel source correctly, but
this seems to
be due to linker_load_file() within linker_load_module().

Any thoughts?


Ben Kaduk

More information about the freebsd-current mailing list