christos
8d2d10aa05
Coverity CID 2524: Return error instead of trying to allocate random bytes
...
from the stack.
2006-05-25 00:27:56 +00:00
mrg
2d66b4f2c1
use -Wno-pointer-sign with GCC4.
2006-05-12 01:54:57 +00:00
mrg
64f5cca084
remove a couple of extra externs
2006-05-12 01:54:32 +00:00
christos
4e83c41d47
Use cloning bpf.
2004-12-01 23:15:08 +00:00
lukem
d1330fc30d
Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
...
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
simonb
729be59562
s/the the/the/ (only in sources that aren't regularly imported from
...
elsewhere).
2004-04-23 02:58:27 +00:00
darrenr
9cfabb6d83
With recent changes to BPF, pushing the default buffer size to 1MB, running
...
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.) In each of these applications, add code to set the buffer
size to 32k before setting the interface.
2004-04-10 17:53:05 +00:00
wiz
3be975349e
Remove trailing whitespace.
2004-01-23 20:55:19 +00:00
fair
1a50cff2d7
Commit patch from PR 22539 to document adding ".SYS" to filenames.
...
New sentence, new line. Change date. Expand "MOP" as Maintenance
Operations Protocol for permuted index.
2004-01-23 20:46:38 +00:00
wiz
8d10b727b7
Spell address with two d's. Inspired by similar changes in OpenBSD,
...
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
lukem
c77e1a0b77
Rework how MAKEVERBOSE operates:
...
* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem
f8f1b72461
support MAKEVERBOSE
2003-10-19 06:12:07 +00:00
itojun
cd48fc30d6
SIOCGIFCONF -> getifaddrs conversion
2003-08-18 05:39:52 +00:00
itojun
73ef846074
use bounded string op
2003-07-14 08:36:34 +00:00
christos
e20fc78a98
interactive errors.
2003-04-20 00:19:56 +00:00
christos
591d0586bc
Interactive logs
2003-04-20 00:19:05 +00:00
christos
c27d960b62
interactive error output.
2003-04-20 00:18:33 +00:00
christos
8497de7362
new logging files.
2003-04-20 00:17:42 +00:00
christos
1b89cfc426
PR/3343: Jonathan Stone: Errors and warnings to stderr if interactive
2003-04-20 00:17:22 +00:00
wiz
bb2aebf7b2
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
thorpej
fae2a5b032
Allow more than one interface to be specified on the command line.
2002-11-05 14:18:04 +00:00
thorpej
ec11878985
For ELF, set d->loadaddr to 0, as we do for a.out.
...
On both my 4000/60 and SIMH, a boot program NOT loaded at 0 consistently
is loaded +0x5200 too high in memory, which which causes a fatal trap back
into the console even before the self-relocating code can run. "wHATEver."
2002-11-05 06:08:29 +00:00
thorpej
10b8b2f790
Make sure to fill in the load address in the dest. MOP header.
2002-11-05 05:06:05 +00:00
thorpej
0e44fbf0ba
Show the load address in hex.
2002-11-05 04:54:26 +00:00
mycroft
27fea982b0
select() -> poll()
2002-09-20 14:16:03 +00:00
lukem
a6819b86f6
minor makefile delint
2002-09-18 13:31:52 +00:00
itojun
284e9bd2d0
string manipulation fixes. from openbsd
2002-08-22 07:18:42 +00:00
wiz
7691a1e86b
Fix a typo.
2002-07-19 10:12:49 +00:00
mrg
18077452dd
add a "-s <mopdir>" argument to mopd so that it doesn't require one place
...
files in /tftpboot/mop.
2002-07-19 10:05:34 +00:00
itojun
f0b3ac6a24
use snprintf. inspired by openbsd change
2002-07-13 11:35:35 +00:00
wiz
f097d23d4b
Xref mopcopy instead of mopa.out. Mark up AUTHORS section.
2002-06-07 11:23:55 +00:00
wiz
bfc119db69
Xref elf(5).
2002-06-07 11:23:31 +00:00
wiz
9536cbbc65
Xref mopcopy instead of mopa.out.
2002-06-07 11:23:19 +00:00
thorpej
c440d5aaae
Rename mopa.out to mopcopy, since it handles more than a.out these days.
2002-06-06 23:00:56 +00:00
thorpej
73a369d189
Add Elf32 support to mopa.out (which is now quite inappropriately
...
named; a future commit will rename it).
Thanks to uwe@netbsd.org for testing the resulting MOP image for me.
Fixes port-vax/16867.
2002-06-06 22:52:25 +00:00
thorpej
1e3eaa9c63
Add support for converting Elf32 images on-the-fly into MOP images.
...
(This involved some infrastructure changes to the various mopd
support programs/libraries.)
2002-02-18 22:00:36 +00:00
wiz
03f8eba809
Whitespace nits, sort SEE ALSO.
2002-01-19 03:37:38 +00:00
wiz
9023dfb42e
Sort sections, mark up AUTHORS section.
2002-01-19 03:36:44 +00:00
wiz
578e7ac67c
Sort SEE ALSO and sections, use .An in AUTHORS section.
2002-01-19 03:36:20 +00:00
thorpej
bea06f7cc2
Add comment delimiters around the token after an #endif
2001-12-31 19:46:57 +00:00
tv
03e0abbeb8
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
wiz
b8dadec9db
moptrace(1), not (8). Whitespace fixes.
2001-04-05 11:50:06 +00:00
cgd
3857fe5343
convert to use getprogname()
2001-02-19 23:22:40 +00:00
cgd
57ac6470b4
comment or delete text after CPP directives.
2001-01-16 02:50:27 +00:00
lukem
a5958267ca
when calling openlog():
...
- don't use LOG_CONS
- use explicit name rather than __progname
2001-01-11 01:42:50 +00:00
lukem
f5ecc590fe
convert to using .WAIT
2001-01-09 03:13:39 +00:00
enami
48cd991120
Use PRINTOBJDIR.
2001-01-07 08:00:54 +00:00
bouyer
57113a6902
Fix bin/11253: seg-fault in mopd
...
Once we found the correct slot, make sure dle points to it. dle was left
pointing out of the array by the for(;;) loop.
Fix from Ken Wellsch <kwellsch@tampabay.rr.com>
2000-11-19 16:40:16 +00:00
matt
3dcc9f5795
A little cleanup. Deal with lost packets
2000-08-11 23:11:12 +00:00
mjl
68e920f189
Increase buffer size to maximum allowed by spec (filename may be
...
up to 128 chars long).
Ignore filenames longer than this.
Use syslog with %s as format, just in case.
The above changes come from OpenBSD.
Also use #define instead of magic constants.
2000-07-21 12:37:00 +00:00