Fix example Geofeed object
According to RFC 6487, Section 4.4, PrintableString ought to be used
instead of UTF8String. Example generated using openssl cli utility
with "string_mask = nombstr" in the req section.
Export XDG_RUNTIME_DIR to child ssh sessions
Currently setusercontext(LOGIN_SETALL) does create the directory in
/tmp/run/user, since LOGIN_SETXDGENV is part of LOGIN_SETALL, but the
env variable wasn't exported.
ok djm@
Fix drm code to avoid spurious tsleep errors leading to crashes
__set_current_state() reimplements parts of sleep_finish() but forgot
to clear P_SINTR. Later another tsleep->sleep_finish() call could
pick up the flag and erroneously return ERESTART early, leading to
crashes in unsuspecting code using tsleep(0, INFSLP).
Issue experienced by Piotr Isajew using iridium on 7.8 and myself
using firefox.
ok claudio@ mpi@ and most likely kettenis@
rpki-client: split out a cms_SignerInfo_check_attributes() helper
This makes the incomprehensible beast that is cms_parse_validate_internal()
a bit smaller and makes it easier to reason about which pieces have side
effects and which pieces don't. A few more things need to be done here for
an upcoming refactoring.
ok job
revert the parking mutex.
it's causing lockups on powerpc64 and probably alpha.
thanks to gkoehler and mlarkin for confirming it was parking and
not something else on powerpc64.
we need the stability to move the tree past other churn at the moment.
don't strnvis() log messages that are going to be logged by sshd-auth
via its parent sshd-session process, as the parent will also run them
though strnvis().
Prevents double-escaping of non-printing characters in some log
messages. bz3896 ok dtucker@
re-apply three commits that were lost while merging the 19.1.7 update
Initial IP-based caching implementation with O(logn) lookup.
Caching implemented via red-black trees, this can be improved and
further work is on-going to bring it closer to GNU's performance that
uses a LRU-MRU 8-entries based caching algorithm.
Prompted by robert@ who run into a runtime of an executed macro of
5 minutes in libreoffice. With this the execution is reduced to 58 seconds.
C++11 tips from espie@, rsadowski@
Tested by robert@
from robert@; OK mortimer@, kettenis@.
Make the unwind cache tread-safe by declaring it thread_local. Solves
segfaults seen on exception handling.
from robert@; ok kettenis@
[29 lines not shown]
Only make nodes for extra partitions if an architecture has crossed over
to 52. That will happen to most or all architectures, but we don't
need to so yet.
I'm also considering adding a environment-variable knob to be used on
a single MAKEDEV run which wants to avoid the extra node creations,
as a way to help out some tight install media (only a few of those)
Support non-default config file paths (e.g. for multiple instances)
A differing -c argument breaks rc_pre()'s assumption about it;
the trust anchor file is equally hard coded, possibly not matching.
Use ksh(1)'s getopts to peek into daemon_flags use that if found.
Report and initial diff from obsd at mulh.net on bugs@
tweaks kn
OK sthen
add XOR and MOD operations.
linux introduced these and netbsd and freebsd have picked them up.
i'm not sure of the usefulness of these, but they're cheap to
implement.
from Guy Harris via bugs@
bootblock softraid code was assuming struct disklabel fits in a 512 byte
buffer. That is no longer true, since the on-disk is being seperated
from the in-memory.
ok krw florian hshoexer