Age | Commit message (Collapse) | Author |
|
"This makes the algorithm O(n^2), but do you think I care?"
a lot more meaningful, as discovered by krw.
fix the loop so it doesn't restart all the time, as it's not necessary.
(this was also tried years ago in rev 1.20 and reverted, but that change
also introduced pool_put before the namecache was ready to free things. we
have been freeing cache entries with pool_put for some time now, so that's
been made safe.)
ok deraadt krw
|
|
emits them, by default without defining them, relying on the roff(7)
quirk that undefined macros have no effect.
This cures 1996 mandoc ERRORs in src/gnu.
|
|
review by millert, binary checking process with doug, concept with guenther
|
|
Which makes this code go all wrong depending on where a system has put
their things like ALIGNBYTES.
Delete with prejudice. When someone needs to compile this in another
environment, they need to face this hurdle, and maybe change the
embedded memory allocator...
|
|
|
|
ok millert, thanks to doug for process advice
|
|
|
|
to the heavy use of assert.
ok millert
|
|
|
|
|
|
ssh-keygen -A. Reported by Dmitry Orlov, via deraadt@
|
|
|
|
passed to assert, found by doug)
ok millert
|
|
The .Ar macro already causes distinctive formatting in a standard way,
so there is no need for additional braces.
This also fixes the only mandoc warning in src/sbin.
|
|
|
|
|
|
this was the only mandoc warning in src/bin.
|
|
things will happen when machines have 8 byte longs.
|
|
systems. Rarely used & tested -- perhaps once a decade. Perhaps not
even once this decade? Anyways,
#define PATH_MAX (MAXPATHLEN+1)
is quite wrong. Delete the chunk, assuming any system this is ported
to has PATH_MAX.
|
|
is no need to keep a local copy in ssl_privsep.c. This adds a little
burden on OpenSMTPD-portable because it will have to put it in
openbsd-compat for compatibility with legacy OpenSSL.
OK gilles@
|
|
ok millert
|
|
millert spotted the accidental <ctype.h> removal that caused binary change.
|
|
using the name of relayd relay or smtpd pki, use a 32 byte arc4random
buffer that should be unique for the context. This fixes an issue in
OpenSMTPD when a long pki name could break the configuration.
OK gilles@ benno@
|
|
of the preceding macro line; no output change with mandoc, fixes output
with groff. Also, if you want spacing back after .Sm off, do not add
an argument containing a blank character, simply rely on .Sm on.
|
|
|
|
one fresh daemon is started with an individual config. It is talking
OSPF via a tun interface. At the process side of the tun device a
client is running. This test programm is parsing the OSPF packets
and generates new ones. It simulates other OSPF daemons.
For now only hello packets are tested. Each test has a task list
which drives the ospfd through its interface state machine. The
plan is to extend the framework for the other OSPF packet types and
state machines. Eventualy the generated kernel routing messages
could also be checked.
I have developed this test suite together with Florian Riehm.
|
|
This commit adds generic infrastructure to do binary code patching on amd64.
The existing code patching for SMAP is converted to the new infrastruture.
More consumers and support for i386 will follow later.
This version of the diff has some simplifications in codepatch_fill_nop()
compared to a version that was:
OK @kettenis @mlarkin @jsg
|
|
- Fix mandoc warnings ("WARNING: skipping empty macro: No")
- Mark up arguments with Ar, not Aq Ic
- Mark up pathnames with Pa
ok jmc@
|
|
This patch is from Theo. I helped verify that removing <sys/param.h>
doesn't change anything.
This produces the same binaries before and after with clang 3.5 and gcc
4.9.4 on amd64. There is a slight difference in the way it is generated by
our old gcc 4.2.1 despite the fact that the preprocessed input is almost
identical.
ok deraadt@
|
|
as addresses before looking them up for canonicalisation.
fixes bz#2074 and avoids needless DNS lookups in some cases;
ok markus
|
|
ok guenther millert doug
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
(though not names with ')'; sorry.)
|
|
|
|
|
|
|
|
errbuf needs to hold at least PCAP_ERRBUF_SIZE chars.
|
|
public pcap_* functions that use errbuf. Mainline libpcap also uses
"errbuf" for pcap_create().
No object file change.
|
|
|
|
file change.
|
|
draft. Replace it with the authors' 1993 Winter USENIX paper, which is a more
authoritative reference on BPF.
ok deraadt@ jmc@ millert@
|
|
pcap_cleanup_bpf() to disable monitor mode on 802.11 devices.
feedback blambert@
ok deraadt@ mikeb@ millert@
|
|
since yesterday, "mandoc -Tlint -Wfatal" can no longer fail.
Instead, as suggested by deraadt@, provide a manlint target
that is *not* run during make build, but can be run
whenever you want to check syntax of manuals.
"nice stuff" deraadt@
|
|
|
|
- Fix bug#637: fix that nsd.db grows limitlessly, an off by one
on one megabyte free chunks, created during AXFRs of large zones,
that caused the one megabyte chunk to be leaked.
ok sthen@
|
|
not be in scope, so hardcode as 256. Other options have more downside.
|
|
ok guenther millert
|
|
ok millert guenther
|
|
in net/pfvar.h sys/proc.h sys/ucred.h arpa/nameser.h
change to PATH_MAX, reduce use of MIN() and MAX(), HOST_NAME_MAX+1,
LOGIN_NAME_MAX, etc etc
ok millert guenther, some review by doug
|
|
(pfvar.h nameser.h proc.h ucred.h)
ok guenther millert, and some review from doug as well.
|