Module Name: src Committed By: pooka Date: Mon Dec 13 20:48:45 UTC 2010
Modified Files: src/sbin/modload: Makefile main.c src/sbin/modstat: Makefile main.c src/sbin/modunload: Makefile main.c Added Files: src/sbin/modload: modload_hostops.c modload_rumpops.c prog_ops.h src/sbin/modstat: modstat_hostops.c modstat_rumpops.c prog_ops.h src/sbin/modunload: modunload_hostops.c modunload_rumpops.c prog_ops.h Log Message: Add rump client support for module utilities. It should be noted that while modstat and modunload and builtin modules work exactly the same as in the host case, modload loads file system kernel modules from the rump kernel namespace. By default, archs which have rump support for the kernel kernel ABI have the host module directory mapped into the rump kernel namespace at the same location (/stand/...). Therefore, if the *host* module directory is populated, "rump.modload foo" will work as expected. Otherwise, RUMP_MODULEBASE can be used to point to the module directory. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sbin/modload/Makefile cvs rdiff -u -r1.13 -r1.14 src/sbin/modload/main.c cvs rdiff -u -r0 -r1.1 src/sbin/modload/modload_hostops.c \ src/sbin/modload/modload_rumpops.c src/sbin/modload/prog_ops.h cvs rdiff -u -r1.1 -r1.2 src/sbin/modstat/Makefile cvs rdiff -u -r1.10 -r1.11 src/sbin/modstat/main.c cvs rdiff -u -r0 -r1.1 src/sbin/modstat/modstat_hostops.c \ src/sbin/modstat/modstat_rumpops.c src/sbin/modstat/prog_ops.h cvs rdiff -u -r1.13 -r1.14 src/sbin/modunload/Makefile cvs rdiff -u -r1.3 -r1.4 src/sbin/modunload/main.c cvs rdiff -u -r0 -r1.1 src/sbin/modunload/modunload_hostops.c \ src/sbin/modunload/modunload_rumpops.c src/sbin/modunload/prog_ops.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.