summaryrefslogtreecommitdiff
path: root/sbin/modload
AgeCommit message (Collapse)Author
2003-10-21Don't compare an integer to NULL.fvdl
2003-09-06New sentence, new line; improve grammar.wiz
2003-09-06implement support for forced LKM load, which makes the kernel skipjdolecek
the version checks, using new -f flag and LMFORCE ioctl Hopefully the description in the manpage is discouraging enough so that nobody would dare even _think_ of using forced loads. A warning message is written to stderr when this is used, just in case.
2003-07-13remove obsolete commentitojun
2003-07-12asprintf() is easier than malloc + sprintfitojun
2003-04-24Try first to use /dev/ksyms to get kernel symbols, if that fails mutter aragge
bit and fallback to the old way.
2003-04-11desupport LMRESERV_O, anything relying on it doesn't have chance of workingjdolecek
anyway due to numerous kernel structure changes
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
for correct formatting of the SYNOPSIS any longer.
2003-02-14'NetBSD.org' and some mdoc fixes.grant
2003-02-09If no other name is specified, and machdep.booted_kernel is presentatatat
and names a file, use that as a the default kernel, otherwise fall back to /netbsd. Makes lkms work *much* better when you're testing kernels that are not named /netbsd.
2002-11-07Skip empty sections. From Allen Briggs.thorpej
2002-10-10Add support for using an optional linker script (/usr/lkm/ldscript ifsimonb
found, and overridable by the -T option).
2002-10-07Use "type *" instead of "type*".simonb
2002-10-06ANSIfy, KNF, declare externs in headers only.simonb
2002-10-01New sentence, new line. By Robert Elz with minimal fixes.wiz
2002-09-18uppercase the lkm kernel-userspace dev macros and prefix them with LKM_lha
make modload print the bdev and cdev major when its a dev lkm
2002-09-13For loadable drivers, the 3rd argument is character device major andgehenna
the 4th argument is block device major. Remove one item from BUGS section.
2002-09-13Split the overload block/character device major.gehenna
The 3rd argument is character device major and the 4th argument is block device major.
2002-07-24various spellingjoda
2002-04-03Only provide sym_size and sym_symsize if symbols are actually goingjdolecek
to be loaded. This also avoids the annoying 'Unable to find symbol table slot for xxx' kernel message when module is unloaded.
2002-02-08Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross
2002-01-03make sure string_table is initialized to NULL in read_shstring_table(),jdolecek
so that NULL is returned if .strtab is not found
2001-11-16Improve author markup, use standard header.wiz
2001-11-16Whitespace nitswiz
2001-11-08PR/14498: Wesley Chen: Support symbol loading on elf lkms.christos
2001-09-29couple cosmetic stylistic changesjdolecek
2001-09-17(usage): add -s and -Sassar
2001-06-19Use ELFSIZE 64 for x86-64.fvdl
2001-06-05Drop arguments of .Os.wiz
2001-03-26Do the last fix correctly: round the beginning of the .data segment,drochner
otherwise an unaligned address gets passed to the linker. (which is rounded there, so this is harmless) XXX how about passing "-N" and killing all these hacks?
2000-12-27make sure that elf_mod_sizes() uses data_hole size aligned to section alignmentjdolecek
this fixes a problem where elf_mod_sizes() would report size which would be different (smaller) that the actual size of LKM code to be loaded in some cases Reviewed by: Johan Danielsson
2000-06-14sweep of my licenses (userland files w/o only my copyright) forcgd
consistency. (no functional changes)
2000-06-14fix up NetBSD RCS Ids to match the standard, and the leading comment ascgd
to match as well. No functional changes.
2000-03-16correct getopt() optstring: -A gets a parameter!jdolecek
2000-02-27-S isn't supposed to take an argumentdeberg
1999-10-25Update to match new SVR4-style definition names in <sys/exec_elf.h>.kleink
1999-07-21Don't try to play games with the BSS; just make it work.mycroft
1999-06-13add ELF support, mostly from joda@pdc.kth.se (Johan Danielsson) in PR#6149,mrg
updated for the symtab support for a.out (non for ELF yet) and other cleanup by myself. should work on the alpha as well as other ELF ports... remove the ld(1) output by default, rather than leaving little binary turds across the filesystem...
1999-04-30Invert the meaning of -s, from "don't load symbols" to "load symbols".ross
Document that this is expensive (and why) in the BUGS section.
1999-04-23Fix entry point parsing if output file specified to modload (PR7352)abs
1999-03-10Add missing .El line.erh
1999-03-07Clean up SYNOPSIS formatting.mycroft
1999-01-13Allow modload to load symbols for use by DDB.sommerfe
1998-07-28__AUDIT__ cleanup.mycroft
1998-07-26const poisoning.mycroft
1997-12-01Mods for alpha: doesn't work yet, but this is as good a placeholder asmjacob
any to note the ld flags to actually use. Still to do: elf loading.
1997-09-16make these compile on the alpha after WARNS=1.mrg
1997-09-15use memset() not bcopy()lukem
1997-09-15if xxxinit is not found in the module, look for <modname>_lkmentry as andarrenr
alternate entry point (used in provided modules). Mention this on man page too.
1997-09-15* cleanup for WARNS=1lukem
* getopt returns -1 not EOF * use .Nm correctly