Up to [cvs.NetBSD.org] / src / tests / modules / k_helper3
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 17 21:39:19 2012 UTC (14 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.2: +12 -4
lines
Diff to previous 1.2 (colored)
While we need an absolute path when loading a module (including the .kmod extension), we want the shortname w/o extension for the unload.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 17 05:18:54 2012 UTC (14 months ago) by jruoho
Branch: MAIN
Changes since 1.1: +6 -5
lines
Diff to previous 1.1 (colored)
Adjust.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 13 07:05:32 2012 UTC (14 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Branch point for: yamt-pagecache
Add a helper program that loads a module and returns the errno from modctl(8).
XXX: As noted on tech-kern@, the syscall should be modified to fail
consistently with a given predefined errno on non-MODULAR kernels.