Age | Commit message (Collapse) | Author |
|
|
|
existing one for earlier arm revisions.
|
|
|
|
|
|
suitable.
ok jsg
|
|
|
|
|
|
From Patrick Wildt in Bitrig.
|
|
From Theo Buehler
|
|
battle tested by krw
|
|
and support the MACHINE environment variable as documented in man(1).
Missing feature reported by pascal@.
|
|
list.
ok krw@ millert@
|
|
now that the disklabel code will reduce MAXDISKSIZE to the real size if a Sun
label is found.
|
|
ok miod@
|
|
usually invoked after initdisklabel() which proactively changes a zero disk
size to MAXDISKSIZE, causing this test to fail.
Allow for MAXDISKSIZE too in that test. This makes spoofed disklabels of SMD
disks have a proper `c' slice size.
luna88k disklabel_om_to_bsd() is modified accordingly, to keep diffability,
even though luna88k can't - to the best of my knowledge - sport SMD disk
controllers.
ok deraadt@ krw@
|
|
otherwise we end up needlessly replacing a NUL with a NUL.
OK deraadt@
|
|
|
|
OK deraadt@
|
|
which masked the missing include. OK deraadt@
|
|
and do not use the legacy predefined string \*(Ba
|
|
From Florian Riehm.
|
|
"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@
|