summaryrefslogtreecommitdiff
path: root/sbin/modload
AgeCommit message (Collapse)Author
2021-01-17call it "kernel object linker module framework" not justmrg
"module framework". the latter is generic enough to also mean the old ld(1) linked loadable kernel modules.
2020-06-07Update for proplib(3) API changes.thorpej
2020-06-01Make -f description actually use the word "force" so that it can beuwe
found when searched for.
2017-07-18Fix Dt argument.wiz
2017-07-18PR/52417: Edgar Pettijohn: modules.conf(5) not mentioned in related manualschristos
2016-09-12Add .An -nosplit.wiz
2016-09-12Document the version modload appeared and authors.sevan
Correct spelling mistakes. Bump date.
2016-09-05Drop main() prototype.sevan
2016-05-06More friendly error messages for modload(8) and modunload(8)khorben
Tested on NetBSD/amd64. From Christian Koch (cfkoch@) of EdgeBSD; thanks!
2015-11-28Add cross-refs from modload(8) amd modunload(8) to modctl(2)pgoyette
2013-08-11WARNS=5 is the default in sbin, don't need to set it explicitly.dholland
2013-02-07Don't pass NULL to prop_dictionary_set.apb
Coverity CID 275196.
2012-08-22Set WARNS=5. No warnings/errors were found with a test compile.jnemeth
2011-08-06Quote path separator character.wiz
2011-08-06Do not not look for modules in the current working directory first. This ismbalmer
to prevent from accidentally loading ./module.kmod when we actually wanted to load module from the system module area. To load a module from a filesystem path, the module name must contain at least on path separator character (/), to load a module from the system module areas, the name must not contain a path separator character: modload ./mymod.kmod # loads mymod.kmod from the curren directory modload mymod # loads mymod.kmod from the system module area
2010-12-14Fix xref; module(4) -> module(7).jruoho
2010-12-13use crunchops for crunchablespooka
2010-12-13Add rump client support for module utilities. It should be notedpooka
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.
2010-12-13Xref module(4).jruoho
2010-03-05note module changespooka
2009-06-11Sync usage with man page.wiz
2009-06-11Remove -P from -p section, not from -f one.wiz
2009-06-10-p -P doesn't make much sense since no module will be loaded.jnemeth
2009-06-09Add the MODCTL_NO_PROP flag to tell the kernel to ignore <module>.prop.jnemeth
Add the '-P' option to modload(8) to set this flag.
2009-06-05Add a new [-d var] option which when combined with -p and -m will allowjnemeth
you to delete vars from the existing <module>.prop file.
2009-06-05Sort options.wiz
2009-06-04Add a "-m plist" option. This option will read in an existingjnemeth
<module>.prop file and merge any options supplied on the "command line". This code will serve as the basis for in-kernel merging.
2009-05-19fputs() instead of puts() so we don't get the silly extra blank linejnemeth
2009-05-19Sync usage and man page.wiz
2009-05-19Sort option descriptions. Split usage in SYNOPSIS in two, since therewiz
are two different methods of calling it. Add arguments to option descriptions.
2009-05-19Add -p option which outputs a property list suitable for loading with ajnemeth
module. This is in preparation for having the kernel load an optional <module>.prop alongside a module, which is useful for passing options to autoloaded modules and modules loaded at boot time.
2008-11-17Punctuation formatting nit.uwe
2008-11-12Remove LKMs and switch to the module framework, pass 1.ad
Proposed on tech-kern@.
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-03-02Add the ability to specify load-time properties for modules. This addsjmmv
three new flags to the new modload utility: -b, -i and -s, which are used to pass boolean, integer and string parameters respectively.
2008-02-10Always test MKMODULAR with != "no". Requested by mrg@.jmmv
2008-02-09Reverse MKMODULAR checks.jmmv
2008-02-09Recognize MKMODULAR and build the appropriate tool.jmmv
2008-01-16Pull in my modules code for review/test/hacking.ad
2006-07-08Replace complicated test for ELFSIZE 64 with #ifdef _LP64 which isross
the netbsd convention. Rig the old test temporarily to a #error sanity check.
2006-03-24In the DIAGNOSTICS section, document that mismatched LKM and kernelreed
versions will be reported to the console and to the system message buffer. And update documentation date.
2006-03-17Check for allocation failures in malloc, calloc, realloc, asprintf, andrumble
vasprintf and try to handle them.
2005-06-27Move WARNS=3 to the Makefile.inc, and add a little const to the remainingchristos
programs that did not compile before.
2005-04-25Terminate variable argument list with NULL, not 0.matt
2005-02-06remove obsolete "register" declarations.perry
2004-10-27Fix a typo in a comment.peter
2004-09-07Replaced strncpy with strlcpy. Thanks to Peter Postma whojrf
pointed them our in PR #25762. Approved by christos@NetBSD.org.
2004-06-28Remove an extraneous comment before main() that seems to have beennathanw
accidentally cut-and-pasted in with rev 1.30.
2004-06-08Put -T in usage output. PR#25875 from Kouichirou Hiratsuka.cjep
2004-03-19Remove superfluous TRUE and FALSE definitions.wiz
Noted by Jeff Ito in PR 24845.