Age | Commit message (Collapse) | Author |
|
|
|
handrolled version could not even make use of sscanf(), since that would
not work with a certain antiquated compiler.
It is worth noting that there is a tiny change in behaviour - previously
calling BIO_get_host_ip() with something that looked like it might be a
valid IP address (for example, "1." or even ".") would result in it
returning failure rather than trying a BIO_gethostbyname() - now we'll
always try a BIO_gethostbyname() if it was not a valid IPv4 address.
ok beck@ miod@ deraadt@
|
|
appear by itself.
ok beck@ miod@
|
|
provides information from wait(2), which needs careful inspection
in order to not hide errors.
Problem identified by florian@ after a bug report from otto@.
Fix based on a patch from florian@, considerably tweaked by me.
OK florian@
|
|
functions since that is going to kill the Perl interpreter.
While here, do not attempt to parse $PATH or $ENV when undefined.
Crash found the hard way with a dubious /root/.login file by otto@ who
declares himself unable to read perl code even though he can apparently
debug it with ktrace(1) - thanks for the excellent bug report!
Feedback and ok florian@.
|
|
You can't load a ruleset with undefined queues into the anchor.
Change the test to use "set prio" since the whole purpose of it
is to test the flexibility of the pf.conf language, not a
particular queue feature.
|
|
(which is off by default anyway);
netbsd -r1.49, from wiz@netbsd
|
|
|
|
Thanks to Brenk Cook.
OK from miod@
|
|
BSD/OS compatibility.
ok deraadt@, miod@i, millert@
|
|
heap to the remote end. Reported by Jann Horn
|
|
ProxyCommand in use; continue and allow the ProxyCommand to
connect anyway (e.g. to a host with a name outside the DNS
behind a bastion)
|
|
existing API is offered as a set of wrappers.
with and ok markus@
Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew
Dempsky and Ron Bowes for a detailed review a few months ago.
|
|
|
|
existing API is offered as a set of wrappers.
with and ok markus@
Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew
Dempsky and Ron Bowes for a detailed review a few months ago.
|
|
|
|
serial number ranges could be serialised to an invalid format.
Readers of a broken KRL caused by this bug will fail closed, so no
should-have-been-revoked key will be accepted.
|
|
|
|
ok miod
|
|
jmc@ wondered what it meant and agrees with this patch.
|
|
According to POSIX, SIGSEGV should specify SEGV_ACCERR if the memory
pages are mapped, but the protections don't match the user's access
attempts, while SEGV_MAPERR should only be specified for pages that
are unmapped. Some platforms currently handle this correctly, but not
all.
Additionally, SIGBUS/BUS_ADRERR should be generated instead of SIGSEGV
for access to file mapped pages that exceed the end of the file.
(Thanks to kettenis@ for suggesting this test.)
Currently failing, so not linked into the regress tree yet.
|
|
Currently, GCC 4.2 silently ignores the "aligned" attribute for
objects allocated on the stack if the specified minimum alignment
exceeds the platform's natural stack alignment. This has bitten us in
the past, so we shouldn't allow this to continue.
Fixing the "ignores" problem seems hard, so this commit settles for
tackling the "silently" problem instead.
ok miod, and possibly guenther and deraadt
|
|
|
|
Merged from FreeBSD's revision 206098.
ok beck@
|
|
is no link-local address assigned by default, which - by default, since
INET6 is in the GENERIC kernels - makes the machine and services on it
reachable. No such thing in IPv4 land.
since assigning an inet6 address manually or running rtsol(d) etc resets the
NOINET6 flag and causes the link-local to be assigned, this really is a noop
for all inet6 users with the exception of those ONLY using the default
link-local address. These needs to run "ifconfig <if> inet6 eui64" or put
the equivalent in hostname.if.
discussed at length with many, ok at least by krw todd benno sthen
|
|
must use the bus_space(9) API to access it instead of memcpy(9). Also make
sure we properly align access to fields that need more than byte alignment.
ok guenther@
|
|
(unconditionally), so a link-local will be assigned if there isn't one
yet. ok krw benno todd sthen
|
|
from edward (myself rdtan net)
|
|
Pointed out by Ivan Solonin.
ok henning mpi jca
|
|
sf dot net.
|
|
|
|
RANDOM_UUID is an enum member.
|
|
|
|
|
|
|
|
names to shorten line lengths
ok beck
|
|
artificially constrain alternative implementations. ok deraadt
|
|
|
|
fix _dl_strdup to return NULL instead of crash; ok deraadt@
|
|
|
|
when they are meaningful, to avoid confusing stuff like this:
$ mandoc /dev/null
mandoc: /dev/null:0:1: FATAL: not a manual
Instead, just say:
mandoc: /dev/null: FATAL: not a manual
Another example this applies to is documents having a prologue,
but lacking a body. Do not throw a FATAL error for these; instead,
issue a warning and show the empty document, in the man(7) case with
the same amount of blank lines as groff does. Also downgrade mdoc(7)
documents having content before the first .Sh from FATAL to WARNING.
|
|
|
|
|
|
ok deraadt@ beck@
|
|
|
|
|
|
buffersize is enforced strictly, this supplies sufficient entropy
payload to act as seed material. Discourage general use of this
API, but lock down this function name as the go-to for userland
PRNG seeding. Improve documentation.
ok miod matthew
|
|
|
|
ok deraadt, jmc, tedu
|
|
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de)
|