| Commit message (Collapse) | Author | Files | Lines |
|
containing an item when its returned to the pool. this means you
need to do an inexact comparison between an items address and the
page address, cos a pool page can contain many items.
previously this used RB_FIND with a compare function that would do math
on every node comparison to see if one node (the key) was within the other
node (the tree element).
this cuts it over to using RB_NFIND to find the closest tree node
instead of the exact tree node. the node compares turns into simple
< and > operations, which inline very nicely with the RB_NFIND. the
constraint (an item must be within a page) is then checked only
once after the NFIND call.
feedback from matthew@ and tedu@
|
|
|
|
|
|
|
|
it's safer to assume incoming enum data might be invalid
and catch it instead of happily returning an unitialized int.
No functional change right now.
|
|
|
|
|
|
|
|
Note that .It and .Nm blocks without bodies cannot be generated by
valid mdoc(7) syntax but are a adequate representations of invalid
mdoc(7) constructs like Bl -hang It Bo Sh and Sh SYNOPSIS Nm Bo Sh.
|
|
Committing early to make sure we have time to fix any side-effect.
ok deraadt@
|
|
(ok or failed) like we do with all other actions.
ok jung@ rpe@
|
|
It now runs correctly with 'make depend regress'
|
|
`bus error upon instruction fetch' exceptions where the faulting address is
in the kernel, and at the very beginning of an I$ cache line.
(I've experienced these on an R16000 Fuel since several months already)
|
|
made it so struct pool was only visible to _KERNEL. tedu broke it
too when he added the size argument to the kernel free
functions.
this fixes both issues. the main change is to provide a local version of
struct pool with just the bit (pr_size) needed for extent to run.
if extents take advantage of more malloc/pool features (eg, {M,PR}_ZERO
then this will need to be updated again.
found by and based on a diff from Theo Buehler
ok mpi@
|
|
|
|
- "times" is both promoted to posix and special (ooh!)
- "pwd" is promoted to posix, but not special (aah!)
while here, jiggle the text somewhat to clarify that "non-POSIX"
actually meant when posix mode is off, not mandated by posix
joint work with guenther
|
|
512 bytes. As a result, it stopped working...
ok miod
|
|
from Justus Baumgartner (meddev50 (at) gmail.com)
ok jmc@
|
|
even though the list is still the last processed macro.
This fixes a regression introduced in mdoc_macro.c rev. 1.95:
Ulrich Spoerlein <uqs at FreeBSD> reports that various of their
kernel manuals trigger assertions.
|
|
|
|
like the sysctl path
|
|
ok jmc@
|
|
this causes errors with stricter C compilers
|
|
This enables support for the new getrandom(2) syscall in Linux 3.17.
If the call exists and fails, return a failure in getentropy(2) emulation as
well. This adds a EINTR check in case the urandom pool is not initialized.
Tested on Fedora Rawhide with 3.17rc0 and Ubuntu 14.04
ok deraadt@
|
|
ok deraadt
|
|
down paths not previously marked as signal handled unsafe. Try to clean
up a few of them especially regarding errno, mark others as unsafe, and
repair a few by avoiding stdio. Glanced at by misc people in Slovenia,
but considered too risky before release..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
directly with a simplified CBC implementation.
|
|
code directly. This test is converted the same way jsing@ has recently
converted an XTS test by pulling in xform.c code.
|
|
directly. This test case uses ECB vectors, therefore no chaining is
required.
|
|
|
|
obsolete. No objections from the usual suspects.
|
|
|
|
|
|
- { foo ; bar ; } -> { foo; bar; }
- if foo ; then -> if foo; then
OK halex@
|
|
gets installed in html (i think!);
|
|
from the freebsd bugs database, bug 192651:
Reported: 2014-08-14 13:17 UTC by Richard
|
|
circular lists. Amazingly, they managed to extend the requirements to no
longer match the behavior of the VAX instructions they were modeled after,
so the trivial VAX ASM versions have to go. Nice job breaking it, X/Open!
Based on a diff from enh (at) google.com
ok miod@
|
|
on it, simplifying error checking, reducing system calls, and improving
thread-safety for libraries.
ok miod@
|
|
adapters can use "IEEE sgl".
tested dlg yasuoka
ok dlg jsg
|
|
and then throw a "may be used uninitialized" warning, so
sprinkle some /* NOTREACHED */. No functional change.
Noticed by Thomas Klausner <wiz at NetBSD dot org>.
|
|
explain appropriate usage, and provide some examples.
ok jmc@
|
|
|
|
each EHCI root hub). OK deraadt@ jsg@
|
|
|