Age | Commit message (Collapse) | Author |
|
|
|
original diff by logan
|
|
reported by Brent Cook, original diff by logan
|
|
This lets us do the checks only once and also make smarter decisions
about the rule's own address family. As a result af-to rules no longer
need to specify the address family after 'pass'.
ok henning
|
|
reported by kettenis@ ok markus@
|
|
This fixes the "integer divide fault trap" bug caused by the second malloc
skipping a beat and leaving the amount of allocated queues equal to zero.
tested by me, ok henning mikeb
|
|
mean?
ok deraadt@
|
|
the parsers sucked, so byte misalignment repair was requested. These
days it means the parsers should improve.
ok lteo
|
|
|
|
|
|
|
|
for the main roff request parsing routine, roff_parse().
In request or macro invocations, escape sequences now terminate the
request or macro name; what follows is treated as arguments. Besides,
the names of user-defined macros can now contain backslashes (eek!).
|
|
|
|
for the .de parsing routine, roff_block(),
to correctly handle names terminated by escape sequences.
Besides, this saves us 20 lines of code.
|
|
* Return the name even if it is terminated by an escape sequence, not a blank.
* Skip the full escape sequence using mandoc_escape(), not just the first byte.
* Make it non-destructive, return the length instead of writing a '\0'.
* Let .ds and .as cope with the above changes to the internal interface.
* Fix .rm and .rr to accept an escape sequence as the end of a name.
* Fix .nr and .rr to not set/delete a register with an empty name.
|
|
Do not call strcmp() on an array of char that might not be NUL-terminated.
|
|
(Thanks to Brent Cook)
OK from jsing@
|
|
(Thanks to Brent Cook)
OK from jsing@
|
|
includes) follows this commit message:
|
|
I just spent too long chasing a bug in here and really should have done
this first. Gem of the day... is it an if test or a for loop? No, it is a
super ifloop!
if (!(flags & PKCS7_NOVERIFY)) for (k = 0; k < sk_X509_num(signers); k++) {
|
|
function that ended with:
if (ret & 0x01)
if (ret & V_ASN1_CONSTRUCTED)
}
|
|
|
|
unfortunate circumstances) pull machine/cpufunc.h
|
|
<sys/sysctl.h> will pull in the universe (I am working on breaking that
assumption in a gentle fashion)
|
|
Substantially expand the conditional to reduce potential for error.
|
|
|
|
Pointed out by deraadt
|
|
|
|
|
|
(Thanks to Brent Cook)
OK from tedu@
|
|
(Thanks to Brent Cook)
With help from tedu@
OK from tedu@
|
|
(Thanks to Brent Cook)
OK from tedu@
|
|
|
|
is more simply written as
Dv blah , bleh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is required by the generic loader code in newer versions of Mesa
even when we aren't building any nouveau drivers.
The way these headers are used on Linux is with a kernel version
and a libdrm version which are largely identical with the *_drm.h
headers always installed by libdrm when libdrm is built with autoconf.
In OpenBSD we have a single version of the _drm.h headers that
are shared by the kernel and userspace and have our own simple
Makefile for the libdrm build.
|
|
are the current range checks. Help from millert and lteo. Please test
now that it is deployed and let us know if any numbers are off..
ok lteo
|
|
MAP_FILE and MAP_HASSEMAPHORE flags.
Discussed with deraadt, tedu, and kettenis
|
|
|
|
fields (i.e. the flags field) before using it. This is currently harmless,
but might not be if we end up invoking other BN functions checking for
constant-time processing requirement in the future.
|
|
portable code path must handle that; with brent cook
|
|
- Markup ioctl argument types with Fa
- Be clearer that ioctl arguments are pointers to ints.
Similar changes to follow for manual pages that describe
device-specific ioctl commands.
Discussed with jmc and schwarze.
|
|
Move all legacy MAP_FOO values behind #ifndef _KERNEL and redefine
them to either be aliases for existing flags (e.g., MAP_COPY ->
MAP_PRIVATE) or 0.
Also, add MAP_OLDFOO defines (behind #ifndef _KERNEL) so the kernel
and kdump can remain compatible with current OpenBSD binaries.
ok deraadt
|
|
|