query_modules syscall gone? Any replacement?

From: iSteve
Date: Fri Sep 09 2005 - 10:03:10 EST


Greetings,
I'm coding an application that messes with modules a lot, and I've stumbled upon a query_modules syscall in my docs. Later I've found out that the docs come from modutils and that module-init-tools doesn't seem to document (any of) the syscalls.

May I then ask, why is the query_module syscall gone? And more importantly, what replaces it, if anything? It seems to me that parsing the /proc/modules is not only less comfortable, but according to the very obsolete manpage I have, it also can provide less information.

For exmaple I'm not aware of anything like QM_SYMBOLS on per-module basis like it was (do correct me if I am wrong, it'd simplify my work a lot), ... and getting QM_REFS for example requires extensive parsing of /proc/modules.

Thanks in advance for reply.

- iSteve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/