summaryrefslogtreecommitdiffstats
path: root/sbin/modload
Commit message (Collapse)AuthorAgeFilesLines
* Prepare to remove the declaration of sys_siglist from <unistd.h>.bde1997-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>.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Compile under Lite2 (getopt() is in unistd.h etc)peter1997-03-111-3/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-224-4/+4
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Sort cross references.wosch1997-01-131-3/+3
|
* Improve the format of the usage string output.mpp1996-12-091-4/+4
| | | | Submitted by: Sandro Sigala <sandro@cat.locao.net> as part of PR# 2134
* Attempt to unlink any stale .o files before relocating code.pst1996-08-131-2/+3
| | | | | | Abort if a file is still present, and make output file mode 0600. Reviewed by: bde
* Cover a potential buffer overrun problempst1996-08-131-2/+2
|
* changed a strchr to a strrchr so that modules with a `.' in the patherich1996-04-261-2/+2
| | | | can be loaded (e.g. ./mymod.o)
* Add a few more heuristics to modload:peter1995-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.
* Make modload calculate a reasonable default entry point name, in lightpeter1995-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.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Fix long-standing core dump when ld returns failure.wollman1995-03-161-2/+2
|
* Make modload more informative about errors encountered while runningwollman1995-01-232-38/+59
| | | | `ld' by calling execl() directly rather than using system().
* Fix one more _PATH_UNIX.wollman1994-09-241-2/+2
|
* Add two new flags:wollman1994-09-222-9/+29
| | | | | -q just shut up, will you?! -u unlink output file after successful load
* Various fixes:dg1994-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
* Kill explicit OS specification.dg1994-08-191-2/+2
|
* netbsd -> kernel, NetBSD -> FreeBSDdg1994-08-192-5/+5
|
* Terry Lambert's loadable kernel module support - modload & modunloaddg1994-08-194-0/+495
utilities w/improvements from the NetBSD group.
OpenPOWER on IntegriCloud