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
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
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
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
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
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
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
itojun
f0b3ac6a24
use snprintf. inspired by openbsd change
2002-07-13 11:35:35 +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
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
cgd
57ac6470b4
comment or delete text after CPP directives.
2001-01-16 02:50:27 +00:00
simonb
2142b1e053
In a program request packet during the second and third stage of an
...
Ultrix/mips MOP boot, the "software" packet is 256 bytes - bump the
size of the program array (maximum for the VAX must only be 16 bytes).
1999-08-17 12:38:09 +00:00
lukem
b457dede0f
set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
1999-03-13 23:17:46 +00:00
lukem
e5a6508d61
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
kleink
7a3eea261d
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
...
of errno.
1999-01-11 22:39:59 +00:00
mycroft
4d49a5b630
SPARC uses 8k virtual pages for linking.
1998-07-25 06:01:13 +00:00
thorpej
ef01a91b0a
Display a more meaningful error message if the bpf open fails.
1998-05-24 20:30:55 +00:00
cgd
f0631af5ed
lint
1998-02-07 00:03:19 +00:00
perry
14967e3522
change #ifdef around include to fix compiler warning
1998-02-03 04:51:29 +00:00
lukem
334438cb6a
- WARNsify
...
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
1997-10-16 23:24:50 +00:00
lukem
770ac80056
- WARNsify
...
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
1997-10-16 23:24:18 +00:00
lukem
6d97281944
- compile common code once (into libcommon.a), and link that in.
...
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out the ifdef INFO and -DINFO stuff - it's always compiled in
- XXX: don't compile mopprobe with -DNODL (which actually changes the
compilation of stuff in common/*). nothing else does this, and it
meant that mopprobe would have had different behaviour. if this behaviour
is desired, a workaround can be put in place
1997-10-16 07:36:12 +00:00
thorpej
fba7d611d2
RCS id police.
1997-03-25 03:06:58 +00:00
veego
e4df1b6897
s/if_ether.h/if_inarp.h/
1997-03-17 10:39:53 +00:00
cjs
8673e0be2e
Import of Mats O Jansson's MOP boot program for DEC machines.
1997-03-16 22:23:34 +00:00