summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mopd/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* one variable was common, fixing what I can.deraadt2021-01-262-4/+4
| | | | (the portable code in here is not in great shape, and I am ignoring it)
* 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-291-2/+2
| | | | ok jca@, deraadt@
* change if ((a == b)) to if (a == b); silences noisy on-by-defaultflorian2017-07-294-15/+15
| | | | | | "equality comparison with extraneous parentheses [-Wparentheses-equality]" clang warning. OK deraadt, kettenis
* 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-214-32/+32
| | | | "warning:" rectification.
* Add some {}'s to eliminate "ambiguous else" warnings from gcc.krw2016-12-251-2/+3
| | | | ok tb@ millert@
* Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).natano2016-05-281-11/+3
| | | | ok deraadt jca
* Give the mop suite the ability to process alpha Elf64 files and create mopmiod2014-12-133-129/+375
| | | | 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@
* more ctype cleanupsderaadt2013-11-241-3/+3
| | | | checked by jca
* Remove support for a.out and ecoff. We only do elf now.deraadt2013-10-171-4/+4
| | | | ok miod
* Teach mopd and mopa.out about ELF files, and allow forthcoming VAX ELF bootmiod2013-07-055-347/+724
| | | | blocks to be converted to working mop binaries. From NetBSD.
* missing err.h includejsg2011-09-211-2/+3
| | | | ok maja@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-2712-72/+12
| | | | | | | 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
* 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-292-117/+121
| | | | of some lint warnings. -moj
* More delint. -mojmaja2006-04-203-75/+74
|
* more cleanupderaadt2006-04-175-15/+15
|
* Make the code lint friendly. -mojmaja2006-04-177-217/+193
|
* 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-212-6/+6
| | | | OK deraadt@
* addres -> addressmiod2004-09-202-6/+6
|
* Filter bpf writes and lock descriptor. tested by hshoexer@canacar2004-05-081-2/+15
| | | | ok henning@ deraadt@
* 4000 lines worth of cleanup, KNF, Knall&Rauch elemination and suchhenning2004-04-1417-1334/+1111
| | | | tested by hshoexer, "don't wait for me" miod@
* gcc3 doesn't like varargs, it was found that the varargs.h inclusion isdrahn2004-01-041-3/+2
| | | | unnecessary for these files, delete. ok espie@
* -Wall cleanup: trim unused vars, right format strings, constify rcsids,avsm2003-12-0113-65/+61
| | | | | | braces where needed, add missing prototypes. tested and ok maja@
* adress -> address, and a few more; all from Jonathon Gray;jmc2003-11-071-3/+3
| | | | | (mvme68k/mvme88k) vs.c and (vax) if_le.c ok miod@ isakmpd ones ok ho@
* Make deviceInitAll work again. -mojmaja2003-08-311-3/+3
|
* rewrite SIOCGIFCONF into getifaddrs. deraadt okitojun2003-08-192-77/+32
|
* more 3/4 cleanups for lazy developersderaadt2003-06-041-7/+2
|
* remove clause 3 and 4. -mojmaja2003-06-0225-175/+50
|
* off by one fix from aaron@. -mojmaja2002-09-072-7/+7
|
* pedantic ansify. -mojmaja2002-09-074-19/+22
|
* use snprintfderaadt2002-07-131-3/+3
|
* Remove NO__P since __P has been removed. Found by hin@ -mojmaja2002-06-1011-134/+25
|
* change the extra text following preprocessor directives into comments.danh2002-04-011-3/+3
| | | | | | patch from David Krause <openbsd@davidkrause.com> ok millert@
* kill more registers.mpech2002-03-144-31/+31
| | | | millert@ ok
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-173-15/+13
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-1611-67/+67
|
* #(endif|else) foo is incorrect, make it #endif /* foo */heko2001-08-1214-44/+44
| | | | deraadt@ ok
* string manipluation paranoia changes. Most probably not exploitable.bitblt2000-02-202-11/+15
|
* Upgrade to 2.5.4. Mopprobe is working again, and some linux support. -mojmaja1999-03-274-43/+31
|
* fd_set is not a structart1998-07-071-4/+4
|
* #include <string.h> not <strings.h> -- Yes, I'm a weanie...millert1997-08-183-9/+9
|
* Replace $Id with $OpenBSD, 3:rd try. -mojmaja1996-09-2125-26/+75
|
* Replace $Id with $OpenBSD. -mojmaja1996-09-212-2/+5
|
* Initial import of mopd-2.5.3. -mojmaja1996-09-2127-0/+4670