aboutsummaryrefslogtreecommitdiff
path: root/sbin/modload
Commit message (Collapse)AuthorAgeFilesLines
* The infrastructure to build these fellows has been replaced with kld.Peter Wemm1999-04-244-572/+0
| | | | Notes: svn path=/head/; revision=46032
* Add "-aout" option when calling the linker, so that this will workJohn Polstra1998-08-121-3/+3
| | | | | | | | in an ELF world. This will have to be revisited when the kernel moves to ELF. Notes: svn path=/head/; revision=38254
* Add rcsid, remove unused #includes, spelling.Philippe Charnier1998-07-061-12/+12
| | | | Notes: svn path=/head/; revision=37423
* Fixed printf format errors.Bruce Evans1998-06-281-2/+2
| | | | Notes: svn path=/head/; revision=37237
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-191-5/+3
| | | | Notes: svn path=/head/; revision=34673
* Enable simultaneous use of -u and -p options. Release any resources beforeJonathan Lemon1997-08-211-7/+10
| | | | | | | | | calling post-processing script. PR: 2864 Submitted by: Mike Spengler <mks@msc.edu> Notes: svn path=/head/; revision=28556
* Prepare to remove the declaration of sys_siglist from <unistd.h>.Bruce Evans1997-06-291-2/+2
| | | | | | | | | It should only be declared in <signal.h> if at all. Modload used to depend on getting it from <unistd.h> because it only included <sys/signal.h>. Notes: svn path=/head/; revision=27080
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24359
* Compile under Lite2 (getopt() is in unistd.h etc)Peter Wemm1997-03-111-3/+2
| | | | Notes: svn path=/head/; revision=23676
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-224-4/+4
| | | | Notes: svn path=/head/; revision=22990
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-144-4/+4
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Sort cross references.Wolfram Schneider1997-01-131-3/+3
| | | | Notes: svn path=/head/; revision=21635
* Improve the format of the usage string output.Mike Pritchard1996-12-091-4/+4
| | | | | | | Submitted by: Sandro Sigala <sandro@cat.locao.net> as part of PR# 2134 Notes: svn path=/head/; revision=20246
* Attempt to unlink any stale .o files before relocating code.Paul Traina1996-08-131-2/+3
| | | | | | | | | Abort if a file is still present, and make output file mode 0600. Reviewed by: bde Notes: svn path=/head/; revision=17566
* Cover a potential buffer overrun problemPaul Traina1996-08-131-2/+2
| | | | Notes: svn path=/head/; revision=17565
* changed a strchr to a strrchr so that modules with a `.' in the pathEric L. Hernes1996-04-261-2/+2
| | | | | | | can be loaded (e.g. ./mymod.o) Notes: svn path=/head/; revision=15397
* Add a few more heuristics to modload:Peter Wemm1995-10-282-19/+32
| | | | | | | | | | | | | | | 1: generate the outfile in /tmp if it's not specified explicitly. 2: if the outfile was implicitly placed in /tmp, automatically remove it. This means that you can type: modload /lkm/ipfw_mod.o and it'll work, it wont try and write to /lkm, and it wont leave the (normally) useless symbol file. This should not interfere with things like ibcs2 and atapi, which export some symbols from one LKM to the other by leaving the symbol file. Notes: svn path=/head/; revision=11879
* Make modload calculate a reasonable default entry point name, in lightPeter Wemm1995-10-282-8/+14
| | | | | | | | | | | | of the recent changes to bsd.kmod.mk, which enforces that the entry point be <modname>_mod, unless overridden. This means that when modloading "/lkm/foo_mod.o", it'll use "foo_mod" as the default entry point (instead of xxxinit) unless you specify another via the -e option. Notes: svn path=/head/; revision=11864
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8871
* Fix long-standing core dump when ld returns failure.Garrett Wollman1995-03-161-2/+2
| | | | Notes: svn path=/head/; revision=7085
* Make modload more informative about errors encountered while runningGarrett Wollman1995-01-232-38/+59
| | | | | | | `ld' by calling execl() directly rather than using system(). Notes: svn path=/head/; revision=5797
* Fix one more _PATH_UNIX.Garrett Wollman1994-09-241-2/+2
| | | | Notes: svn path=/head/; revision=3045
* Add two new flags:Garrett Wollman1994-09-222-9/+29
| | | | | | | | -q just shut up, will you?! -u unlink output file after successful load Notes: svn path=/head/; revision=3000
* Various fixes:David Greenman1994-09-182-6/+22
| | | | | | | | | | | | modload doesn't honor it's -p argument. It also will destroy the input file when you don't specify an output symbol file with -o. Submitted by: John Kohl Notes: svn path=/head/; revision=2844
* Kill explicit OS specification.David Greenman1994-08-191-2/+2
| | | | Notes: svn path=/head/; revision=2131
* netbsd -> kernel, NetBSD -> FreeBSDDavid Greenman1994-08-192-5/+5
| | | | Notes: svn path=/head/; revision=2129
* Terry Lambert's loadable kernel module support - modload & modunloadDavid Greenman1994-08-194-0/+495
utilities w/improvements from the NetBSD group. Notes: svn path=/head/; revision=2125