The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Linux Kernel Modules Questions

Can I write a userspace C++ class that inserts modules into the kernel on demand? How would I go about it, so I can successfully verify that module loaded correctly into the kernel?
not a kernel hacker
Wednesday, October 26, 2005

Probably want to look at the source code for the commands "insmod" and "lsmod", which, respectively, link modules to the kernel and list installed modules.
Katie Lucas
Thursday, October 27, 2005
For that matter, just use system() to call either insmod or modprobe. The return value will tell you whether the operation succeeded or not.
comp.lang.c refugee
Thursday, October 27, 2005
I might be stating the obvious, but.. keep in mind that said userspace process would need root privileges.
Sunday, November 06, 2005

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz