summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mopd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2018-04-261-5/+4
| | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@
* Prefer <elf.h> to the non portable <sys/exec_elf.h>.mpi2017-10-292-4/+4
| | | | ok jca@, deraadt@
* change if ((a == b)) to if (a == b); silences noisy on-by-defaultflorian2017-07-295-32/+32
| | | | | | "equality comparison with extraneous parentheses [-Wparentheses-equality]" clang warning. OK deraadt, kettenis
* delete duplicate RCS IDs; found with mandoc -Tlintschwarze2017-07-064-16/+8
|
* Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beennatano2017-04-191-2/+2
| | | | | | around for two releases, it should be safe to do so. ok bluhm deraadt sthen tb yasuoka
* Nuke whitespace foolish enough to expose itself during the greatkrw2017-01-215-44/+44
| | | | "warning:" rectification.
* Add some {}'s to eliminate "ambiguous else" warnings from gcc.krw2016-12-251-2/+3
| | | | ok tb@ millert@
* Add 'default:' cases to switch statements that gcc whines about.krw2016-12-201-1/+3
| | | | ok jung@
* Linking against libkvm is unnecessary hereguenther2016-07-184-12/+4
| | | | ok mlarkin@
* Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).natano2016-05-281-11/+3
| | | | ok deraadt jca
* build mopd with -Werror-implicit-function-declarationbenno2015-12-281-1/+2
| | | | ok tb@
* Replace remaining calls to index(3) with strchr(3). OK jca@ krw@millert2015-11-161-2/+2
|
* clean up flags++ instances around getopt()deraadt2015-02-094-19/+19
| | | | ok florian
* Give the mop suite the ability to process alpha Elf64 files and create mopmiod2014-12-136-152/+441
| | | | alpha images of them.
* In mopFileRead(), make sure to never increment e_cursec beyond e_nsec, somiod2014-11-301-2/+3
| | | | | | | that the next call to this function will not access e_sections[] out of bounds. Repairs mopa.out(1) behaviour noticed by sebastia@
* obvious cases of missing .An;schwarze2014-09-083-12/+12
| | | | | found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
* zap trailing newlines; "go for it" deraadtokan2014-07-161-2/+1
|
* more ctype cleanupsderaadt2013-11-241-3/+3
| | | | checked by jca
* catch up with elf(5)/stab(5) removal;jmc2013-10-202-12/+8
| | | | ok miod
* Remove support for a.out and ecoff. We only do elf now.deraadt2013-10-172-7/+7
| | | | ok miod
* some Bx/Ox conversion;jmc2013-08-141-4/+6
| | | | From: Jan Stary
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-161-4/+4
|
* Teach mopd and mopa.out about ELF files, and allow forthcoming VAX ELF bootmiod2013-07-0512-424/+831
| | | | blocks to be converted to working mop binaries. From NetBSD.
* missing err.h includejsg2011-09-211-2/+3
| | | | ok maja@
* mahine->machinemiod2010-11-191-2/+2
|
* incomming -> incomingmk2010-05-012-4/+4
| | | | | | The ones found in gnu/ left out by intention. ok jmc
* below .Rs, unqualified text is not allowed, each line needs ".%?" markup;schwarze2010-01-032-10/+10
| | | | | | | 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@
* Make life easier for parfait. I corporation with deraadt. -mojmaja2009-11-121-10/+8
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-2721-118/+20
| | | | | | | 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
* synchronize the synopsis and usage of mopa.out(1); mopchk(1) can handlesobrado2009-07-119-73/+59
| | | | | | | | | | 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@
* correct name. -mojmaja2008-09-061-4/+4
|
* convert to new .Dd format;jmc2007-05-315-15/+15
|
* Check the correct bits in the control byte.maja2006-11-101-5/+5
| | | | Found by Alexey Dobriyan (adobriyan at gmail dot com) -moj
* use SEEK_SET; chl@tuxfamily.orgderaadt2006-10-111-3/+3
|
* Some more delint. -mojmaja2006-05-112-106/+86
|
* Change the compile time option -DINFO into a runtime option to get ridemaja2006-04-297-134/+137
| | | | of some lint warnings. -moj
* More delint. -mojmaja2006-04-203-75/+74
|
* Remove 'ipc' in PLT message and replace it with current hostname.maja2006-04-173-140/+108
| | | | Some more code cleanup and make lint happier. -moj
* more cleanupderaadt2006-04-1711-34/+33
|
* Make the code lint friendly. -mojmaja2006-04-177-217/+193
|
* Only show a interface once. Some cleanup and silence lint. -mojmaja2006-04-171-17/+15
|
* Some cleanup and delint. -mojmaja2006-04-161-78/+54
|
* Add on which interface the packet arrived. Some cleanup and delint. -mojmaja2006-04-161-26/+13
|
* Fix some bugs in printing of MOP packets. -mojmaja2006-04-152-14/+14
|
* Userland programs should include <errno.h> not <sys/errno.h>millert2005-12-213-8/+8
| | | | OK deraadt@
* more setres[ug]id; ok deraadt@djm2005-05-021-4/+4
|
* addres -> addressmiod2004-09-202-6/+6
|
* tzsethenning2004-05-121-2/+3
|
* Filter bpf writes and lock descriptor. tested by hshoexer@canacar2004-05-081-2/+15
| | | | ok henning@ deraadt@
* chroot and drop privileges to _mopd:_mopd after initialization.henning2004-04-152-9/+30
| | | | testing and ok hshoexer@