summaryrefslogtreecommitdiff
path: root/sbin/modload/modload.c
AgeCommit message (Collapse)Author
2003-08-06Remove an unused variable and plug a memory leak; Patrick LatifiTodd C. Miller
2003-04-15asprintf, and fix buffer sizes; ok teduTheo de Raadt
2003-03-30asprintfHenning Brauer
partitially from David Hill <david at phobia.ms> ok deraadt@
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-01-18minor tweaking; andrushock@korovino.netTheo de Raadt
2002-12-11ansi; modload users please testTheo de Raadt
2002-07-11malloc() failure tests; rimshot@pandora.beTheo de Raadt
2002-06-09rm trailing whitespaceTodd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-09symbol addresses should be relativeEric Jackson
also, no need to read the aout header twice. actually this made symbol loading not work. millert@ ok
2002-01-08oops, put back some earlier changesEric Jackson
2002-01-08change back to old behavior, where we load debugging symbols by default.Eric Jackson
2002-01-08add support in modload for ELFEric Jackson
from NetBSD miod@ ok.
2002-01-07u_long for arg for LMREADYEric Jackson
2001-09-17sync actual with flags with usage and man pageassar
art@ ok
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-03-22use mkstemp()Theo de Raadt
2001-03-15KNFTheo de Raadt
2001-03-15override file creation, do not assume umask is enough. of course, ld mayTheo de Raadt
generate temp files which have umask mode.. so this is not really a sane change to even bother with.
2001-02-10Don't make the string table pointers into absolute addresses sinceTodd C. Miller
ddb will do that for us on the fly. Also check some return values to catch short reads. OK'd by niklas@
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1997-09-17paranoia on the alphaTheo de Raadt
1997-09-17Wall cleanup.Tobias Weingartner
1997-09-17Fix up the non alpha && mips section, back out change to printTobias Weingartner
offset of lkm in hex, as this number gets passed by apinstall to mknod. (mknod does not understand hex too well).
1997-09-11only check magic in certain cases... sighTheo de Raadt
1997-09-11support the binutils ldTheo de Raadt
1997-08-24More err()/warn()/etc. argument fixes.Jason Downs
1997-06-25(foo *)0 -> NULLkstailey
1997-03-27fix -u/-p problems reported by mks@msc.edu; but be a bit more careful..Theo de Raadt
1997-01-18unlink /tmp file on failure too.Michael Shalayeff
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-09-16kill /tmp raceTheo de Raadt
1996-08-29lkm ddb symbol table loading. done during the middle ages by jtkohl, mergedTheo de Raadt
to modern day sources by rees@umich.edu
1996-08-13buf oflow, from pst@freebsd.orgTheo de Raadt
1996-08-05new options, hole fixes, user friendly. (from FreeBSD)Michael Shalayeff
1996-07-02simpler usage lineTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1996-06-21updates according to the kernel changes.Michael Shalayeff
1995-12-30use strrchr() instead of strchr() to find .o extension; from ↵Theo de Raadt
explorer@flame.org; netbsd pr#1868
1995-10-18initial import of NetBSD treeTheo de Raadt