Age | Commit message (Collapse) | Author |
|
|
|
rather than it being a pointer to something that needs to be allocated
at attach. since all these devices need a bufq to operate, it makes
sense to have it allocated as part of the softc and get bufq_init
to just initialise all its fields. it also gets rid of the possibility
that you wont be able to allocate the bufq struct during attach,
which is something you dont want to happen.
secondly, it consistently implements a split between wrapper functions
and the per discipline implementation of the bufq handlers. it
consistently does the locking in the wrappers rather than doing
half in the wrappers and the other half in the implementations.
it also consistently handles the outstanding bufq bq pointer in the
wrappers.
this hides most of the implementation inside kern_bufq.c. the only
stuff left in buf.h is for the bits each implementation needs to
put inside struct buf.
tested by thib@ krw@ and me
ok thib@ matthew@
no objection from krw@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Is not used and not useful.
ok xsa, zinovik
|
|
no binary change.
|
|
COMPATIBILTY as sections. these remain defined only for netbsd, since we
do not use these sections.
- contrariwise, undefine EXIT STATUS as being netbsd only. despite some
misgivings, i think we probably do need to ressurect this section. i'll
start to make these changes soon.
|
|
- note which section headings (.Sh) are not used by openbsd
- move the description of the section heading to under the heading, rather
than before it: a much more logical way to read
diffs mailed upstream...
|
|
does not truly work yet many machines because it does not do enough; it is
a total fluke if it works for you. (kettenis is, I think, working on
improving it)
ok kettenis
|
|
|
|
Reminded by oga@, okay deraadt@.
|
|
|
|
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations
to get ready.
Discussed quite a while back with kettenis and jakemsr, oga suddenly needed
it as well and wrote half of it, so it was time to finish it.
proofread by miod.
(missed file)
|
|
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations
to get ready.
Discussed quite a while back with kettenis and jakemsr, oga suddenly needed
it as well and wrote half of it, so it was time to finish it.
proofread by miod.
|
|
(I stronly hope that cardbus needs no bus-specific wrappers!)
|
|
|
|
|
|
|
|
There is a bit of concern that this workq can race against a detach
happening... any solutions from the peanut gallery?
|
|
for sub-devices, return the last error return value instead of |'ing the
failures together and creating some value that is non-0 (bravo!) but
potentially loses the specific error value...
|
|
can expect to be used
|
|
|
|
|
|
|
|
|
|
|
|
|
|
they fall within the pcipower() handled range.
ok miod
|
|
|
|
OpenSSL_add_all_algorithms is the name of the function we have a man page
for, so use that. ok djm
|
|
|
|
|
|
|
|
host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA offer
better performance than plain DH and DSA at the same equivalent symmetric
key length, as well as much shorter keys.
Only the mandatory sections of RFC5656 are implemented, specifically the
three REQUIRED curves nistp256, nistp384 and nistp521 and only ECDH and
ECDSA. Point compression (optional in RFC5656 is NOT implemented).
Certificate host and user keys using the new ECDSA key types are supported.
Note that this code has not been tested for interoperability and may be
subject to change.
feedback and ok markus@
|
|
|
|
string extracted from the buffer contains no embedded \0 characters*
This prevents random (possibly malicious) crap from being appended to
strings where it would not be noticed if the string is used with
a string(3) function.
Use the new API in a few sensitive places.
* actually, we allow a single one at the end of the string for now because
we don't know how many deployed implementations get this wrong, but don't
count on this to remain indefinitely.
|
|
|
|
It is OK to return 0 in that case, but it is not OK to print a
diagnostic.
|
|
config_activate_children
|
|
|
|
We call the activate functions at splhigh; unfortunately we cannot suspend a
zaurus at splhigh because on resume the clock is hosed. We accept this bug
for now... perhaps someone can find it?
(The powerhooks remain in place in the drivers, and will be roto-tilled once
we all the other powerhook-using architectures have switched over)
testing by myself and jakemsr; proof reading by oga
|
|
Of note: lcd stubs get pulled up to the parent; zts has to keep track of
whether it is in use or not
testing by myself and jakemsr; proof reading by oga
|
|
vs activate. It compiles.
|
|
functions
ok kettenis
|
|
|
|
|