Age | Commit message (Collapse) | Author |
|
actual disk sector size and not DEV_BSIZE. The sector size must be
obtained via the disklabel. Larger i/o's must be multiple sectors,
so when retrying with a smaller size shrink the attempt by one sector
and not DEV_BSIZE.
Of course if your d_secsize is DEV_BSIZE, this will all be a no-op.
This does not make non-512-byte sectors work, but puts in place the
logic to get and use the disklabel info. Which makes the next diffs
bite sized and focused.
ok guenther@
|
|
opensslconf.h is just a dummy, we're lightyears away from working userspace.
ok deraadt@
|
|
userland from playing with the local and broadcast flags.
ok claudio@
|
|
is enough;
|
|
if (nothing to allocate)
ptr = malloc(1)
else {
if ((ptr = malloc(size to allocate))
memcpy(ptr, data to copy, size to allocate)
}
if (ptr == NULL)
OMG ERROR
with a saner logic where the NULL pointer check if moved to the actual
malloc branch, so that we do not need to malloc a single byte, just to avoid
having a NULL pointer.
Whoever thought allocating a single byte was a smart idea was obviously
not taking his meds.
ok beck@ guenther@
|
|
!OPENSSL_NO_COMP case. Does not affect OpenBSD as we compile the opposite code
path.
|
|
#if 1 /* new with openssl 0.9.4 */
current code;
#else
obsolete code;
#endif
|
|
|
|
ok landry@ ajacoutot@
|
|
ok krw@, deraadt@
|
|
ERESTART or EJUSTRETURN, for we're not supposed to. (Actually, setting the
carry bit upon syscall failure doesn't make much sense on m88k, since this is
not how the syscall stubs check for failure)
|
|
|
|
factoring error handling.
ok jsing@
|
|
|
|
|
|
instead, move the description of this mechanism into the general SED
FUNCTIONS section;
|
|
with other ugly hack (.br): at least this way we can whack a ton of Pp, and
it feels not quite as wrong;
while here, fix Em abuse by using Ic for functions and Ar for argument names;
i also fixed up the text of "s" a little to make it read better;
|
|
|
|
that it brings in <openssl/opensslconf.h>, so just do that instead
(currently via apps.h).
|
|
|
|
EVP_AEAD_CTX_{open,seal} functions previously returned an ssize_t that was
overloaded to indicate success/failure, along with the number of bytes
written as output. This change adds an explicit *out_len argument which
is used to return the number of output bytes and the return value is now
an int that is purely used to identify success or failure.
This change effectively rides the last libcrypto crank (although I do not
expect there to be many users of the EVP AEAD API currently).
Thanks to Adam Langley for providing the improved code that this diff is
based on.
ok miod@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
many route entries are pointing to this address.
|
|
the device has multiple interfaces and/or report IDs.
Make sure utpms(4) only matches the mouse interface of the HID device
embedded in Powerbooks and do not rely on the alphabetical order to
have a working ukbd(4) on such machines.
Problem reported by daniel@
|
|
|
|
ok deraadt@ millert@
|
|
error: shift count >= width of type [-Werror,-Wshift-count-overflow]
Rework the ld.so relocation mask initialization.
Clang complained about the shift code in the old versions
of these, so improve the code.
From drahn Bitrig
ok miod@
|
|
CID: 966576 & 966577
OK from guenther@ and "Yup. looks good." from tedu@
|
|
info." instead.
From Martin Kaiser.
OK from tedu@
|
|
From Marcos Marado:
OK from tedu@
|
|
|
|
|
|
is plain wrong: remove it. the note in posix spec is misleading, to be fair
- most of the rest of notes in STANDARDS are really historical notes (admittedly
caused by the standards i guess) so move them into HISTORY. debatable, yes, but leaves
STANDARDS consistent. HISTORY is a hodge podge anyway, by neccesity.
- while there, fix a sentence splice in BUGS
sobrado agrees with the removal of the rmdir note; millert oks the diff
|
|
(aka ^T), summing CPU and check runnable/running status of all threads.
ok deraadt@
|
|
ok matthew@
|
|
|
|
|
|
|
|
call it, and windows service software can figure this out on its own.
ok beck miod
|
|
|
|
|
|
|
|
|
|
ok beck
|