summaryrefslogtreecommitdiff
path: root/usr.sbin/mopd
AgeCommit message (Collapse)Author
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@
2017-10-29Prefer <elf.h> to the non portable <sys/exec_elf.h>.Martin Pieuchot
ok jca@, deraadt@
2017-07-29change if ((a == b)) to if (a == b); silences noisy on-by-defaultFlorian Obser
"equality comparison with extraneous parentheses [-Wparentheses-equality]" clang warning. OK deraadt, kettenis
2017-07-06delete duplicate RCS IDs; found with mandoc -TlintIngo Schwarze
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
around for two releases, it should be safe to do so. ok bluhm deraadt sthen tb yasuoka
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2016-12-25Add some {}'s to eliminate "ambiguous else" warnings from gcc.Kenneth R Westerback
ok tb@ millert@
2016-12-20Add 'default:' cases to switch statements that gcc whines about.Kenneth R Westerback
ok jung@
2016-07-18Linking against libkvm is unnecessary herePhilip Guenther
ok mlarkin@
2016-05-28Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).Martin Natano
ok deraadt jca
2015-12-28build mopd with -Werror-implicit-function-declarationSebastian Benoit
ok tb@
2015-11-16Replace remaining calls to index(3) with strchr(3). OK jca@ krw@Todd C. Miller
2015-02-09clean up flags++ instances around getopt()Theo de Raadt
ok florian
2014-12-13Give the mop suite the ability to process alpha Elf64 files and create mopMiod Vallat
alpha images of them.
2014-11-30In mopFileRead(), make sure to never increment e_cursec beyond e_nsec, soMiod Vallat
that the next call to this function will not access e_sections[] out of bounds. Repairs mopa.out(1) behaviour noticed by sebastia@
2014-09-08obvious cases of missing .An;Ingo Schwarze
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2013-11-24more ctype cleanupsTheo de Raadt
checked by jca
2013-10-20catch up with elf(5)/stab(5) removal;Jason McIntyre
ok miod
2013-10-17Remove support for a.out and ecoff. We only do elf now.Theo de Raadt
ok miod
2013-08-14some Bx/Ox conversion;Jason McIntyre
From: Jan Stary
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-07-05Teach mopd and mopa.out about ELF files, and allow forthcoming VAX ELF bootMiod Vallat
blocks to be converted to working mop binaries. From NetBSD.
2011-09-21missing err.h includeJonathan Gray
ok maja@
2010-11-19mahine->machineMiod Vallat
2010-05-01incomming -> incomingMichael Knudsen
The ones found in gnu/ left out by intention. ok jmc
2010-01-03below .Rs, unqualified text is not allowed, each line needs ".%?" markup;Ingo Schwarze
among the options we have, maja@ says "book" fits better than "journal" even though "if you see the documents you wouldn't call them books :-)"; syntax error found by mandoc(1), also required to fix the mandoc build; ok maja@ jmc@
2009-11-12Make life easier for parfait. I corporation with deraadt. -mojMats O Jansson
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-07-11synchronize the synopsis and usage of mopa.out(1); mopchk(1) can handleIgor Sobrado
more than one filename at a time; add a description for -3 and -4 in mopd(8), and document -v; remove a duplicate flag in mopprobe(1); use a better style for synopses; sort flags and arguments. written with help by jmc@ ok jmc@
2008-09-06correct name. -mojMats O Jansson
2007-05-31convert to new .Dd format;Jason McIntyre
2006-11-10Check the correct bits in the control byte.Mats O Jansson
Found by Alexey Dobriyan (adobriyan at gmail dot com) -moj
2006-10-11use SEEK_SET; chl@tuxfamily.orgTheo de Raadt
2006-05-11Some more delint. -mojMats O Jansson
2006-04-29Change the compile time option -DINFO into a runtime option to get rideMats O Jansson
of some lint warnings. -moj
2006-04-20More delint. -mojMats O Jansson
2006-04-17Remove 'ipc' in PLT message and replace it with current hostname.Mats O Jansson
Some more code cleanup and make lint happier. -moj
2006-04-17more cleanupTheo de Raadt
2006-04-17Make the code lint friendly. -mojMats O Jansson
2006-04-17Only show a interface once. Some cleanup and silence lint. -mojMats O Jansson
2006-04-16Some cleanup and delint. -mojMats O Jansson
2006-04-16Add on which interface the packet arrived. Some cleanup and delint. -mojMats O Jansson
2006-04-15Fix some bugs in printing of MOP packets. -mojMats O Jansson
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
OK deraadt@
2005-05-02more setres[ug]id; ok deraadt@Damien Miller
2004-09-20addres -> addressMiod Vallat
2004-05-12tzsetHenning Brauer
2004-05-08Filter bpf writes and lock descriptor. tested by hshoexer@Can Erkin Acar
ok henning@ deraadt@
2004-04-15chroot and drop privileges to _mopd:_mopd after initialization.Henning Brauer
testing and ok hshoexer@