History log of /openbsd/usr.sbin/mopd/mopd/process.c (Results 1 – 25 of 25)
Revision Date Author Comments
# 5b133f3f 08-Mar-2023 guenther <guenther@openbsd.org>

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@


# 6668a736 28-Jan-2022 guenther <guenther@openbsd.org>

When it's the possessive of 'it', it's spelled "its", without the
apostrophe.


# b7041c07 24-Oct-2021 deraadt <deraadt@openbsd.org>

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which mig

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.
ok millert

show more ...


# 916fc46c 29-Jul-2017 florian <florian@openbsd.org>

change if ((a == b)) to if (a == b); silences noisy on-by-default
"equality comparison with extraneous parentheses
[-Wparentheses-equality]" clang warning.
OK deraadt, kettenis


# 42a45d4a 16-Nov-2015 millert <millert@openbsd.org>

Replace remaining calls to index(3) with strchr(3). OK jca@ krw@


# 05230cd5 05-Jul-2013 miod <miod@openbsd.org>

Teach mopd and mopa.out about ELF files, and allow forthcoming VAX ELF boot
blocks to be converted to working mop binaries. From NetBSD.


# 86d3f013 12-Nov-2009 maja <maja@openbsd.org>

Make life easier for parfait. I corporation with deraadt. -moj


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
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

show more ...


# 694e69a1 29-Apr-2006 maja <maja@openbsd.org>

Change the compile time option -DINFO into a runtime option to get ride
of some lint warnings. -moj


# c2b96473 17-Apr-2006 maja <maja@openbsd.org>

Remove 'ipc' in PLT message and replace it with current hostname.
Some more code cleanup and make lint happier. -moj


# ec735e79 17-Apr-2006 deraadt <deraadt@openbsd.org>

more cleanup


# e45c764a 15-Apr-2004 henning <henning@openbsd.org>

chroot and drop privileges to _mopd:_mopd after initialization.
testing and ok hshoexer@


# 93a38ceb 12-Apr-2004 henning <henning@openbsd.org>

~1000 lines worth of ansi, KNF, various cleaning, replacing a homebrown
daemon() equivalent and such things, theo ok


# 861d1778 01-Dec-2003 avsm <avsm@openbsd.org>

-Wall cleanup: trim unused vars, right format strings, constify rcsids,
braces where needed, add missing prototypes.

tested and ok maja@


# 4deb52dc 02-Jun-2003 maja <maja@openbsd.org>

remove clause 3 and 4. -moj


# a4c5f38f 07-Sep-2002 maja <maja@openbsd.org>

pedantic ansify. -moj


# dcebcac9 13-Jul-2002 deraadt <deraadt@openbsd.org>

use snprintf


# 37f54da6 04-Jul-2000 maja <maja@openbsd.org>

File of the week :-) If Tertiary Loader data link size might not be set.
Since Ethernet is the only data link supported assume datalink to be
1492. Found when ragge@ludd.luth.se tried to boot a VAX 6

File of the week :-) If Tertiary Loader data link size might not be set.
Since Ethernet is the only data link supported assume datalink to be
1492. Found when ragge@ludd.luth.se tried to boot a VAX 6000/400. -moj

show more ...


# ad4ee3d3 04-Jul-2000 aaron <aaron@openbsd.org>

If the spec allows 128-character filenames, our buffer has to be at least 129
characters to hold the trailing NULL. This also fixes a one-byte overflow.


# ef433e8a 03-Jul-2000 niklas <niklas@openbsd.org>

typo


# 1bf025bc 03-Jul-2000 maja <maja@openbsd.org>

Ignore filenames that are longer than spec allows (128 for MOP V4.0.0).
Matt Power <mhpower@mit.edu>. -moj


# 5c4bd654 28-Jun-2000 deraadt <deraadt@openbsd.org>

creating line ourselves, but just in case, use %s with syslog


# 07db2e42 20-Feb-2000 bitblt <bitblt@openbsd.org>

string manipluation paranoia changes. Most probably not exploitable.


# e08c8b61 21-Sep-1996 maja <maja@openbsd.org>

Replace $Id with $OpenBSD, 3:rd try. -moj


# bff609ef 21-Sep-1996 maja <maja@openbsd.org>

Initial import of mopd-2.5.3. -moj