Age | Commit message (Collapse) | Author |
|
preparation for systems which do not have console on a zs(4) device.
No functional change yet.
|
|
|
|
As soon as a transfer is being cancelled, remove it from the list of pending
xfers. This way the soft interrupt routine won't try to process it before
ehci_abort() gives it back to the stack.
Problem analysed by and ok stsp@
|
|
|
|
|
|
discussed with jsg@
|
|
without this is won't attach.
ok stsp@ millert@ miod@
|
|
OK guenther@
|
|
ok millert@
|
|
reported by Michael (lesniewskister (at) gmail.com)
ok miod@ (who did all the hard work)
|
|
Before/after:
127.0.0.1 - - [25/Feb/2015:09:39:24 +0100] "GET /h%ff%ffh%ff%ff.dat HTTP/1.0" 404 162 "-" "OpenBSD ftp"
127.0.0.1 - - [25/Feb/2015:09:39:27 +0100] "GET /h%c3%a9h%c3%a9.dat HTTP/1.0" 200 0 "-" "OpenBSD ftp"
Additionnally, avoid one case of undefined behaviour with ctype.h.
Input from guenther@, ok millert@
|
|
This is relevant because some ports install files like man1/xsel.1x,
as reported by patrick keshishian <pkeshish at gmail dot com> on misc@.
We can probably improve functionality and simplify the code by ignoring
file name extensions altogether; we already know the section number from
the name of the directory. But so close to lock, i'm keeping the fix
minimal.
|
|
fall back to glob(man1/foo.*), which is more like what old man(1) did.
Do this both for file names from the database and for fs_lookup().
This is relevant because some ports install files like man1/xset.1x.
Regression reported by patrick keshishian <pkeshish at gmail dot com>.
|
|
ok guenther@, phessler@, jsing@
|
|
|
|
|
|
getpwnam(getlogin()) doesn't match the real uid, unless the real
uid is 0. This matches the behavior of sendmail and gives the
corrent sender for mail sent by daemons that got started by a
user who su'd or used sudo. OK dlg@ gilles@
|
|
|
|
|
|
|
|
From Andre Smagin
Also, should be safe to print errno from newhash() now.
ok millert
|
|
them guaranteed to not conflict per POSIX.
ok espie@ guenther@
|
|
valgrind still spams warning on it
|
|
OK sthen ajacoutot
|
|
tests are depending less on the timing. Fix a race in the buffer
sync test. Now make regress of syslogd passes on my amd64, i386,
sparc64, alpha machines.
|
|
OK guenther@
|
|
|
|
stack from the main processor, instead of from the secondary processors
themselves. This used to work until recent churn in uvm require the kernel
lock to be taken, and cpu_configure() runs with the kernel lock held by the
boot processor.
Allocating the idle stack on the secondary processors themselves was choosen
early on, because there is no easy way, from the boot processor, to know the
assocation between physical cpu number (ci_cpuid) and logical cpu number
(the order they are initialized and reported in), especially on luna88k where
there is no way to get secondary processors parked by the prom.
Regression noticed by aoyama@. Verified to work on 2 and 4 cpu luna88k systems
and 2 cpu aviion systems.
|
|
disconnect message; reported by Sebastian Reitenbach
|
|
a package has installed an rcscript - it's a good UI, and people needing
further details can follow the "see also". ok espie@ brynet@
|
|
See https://www.openssl.org/news/secadv_20150108.txt for a more detailed
discussion.
Original OpenSSL patch here:
https://github.com/openssl/openssl/commit/a7a44ba55cb4f884c6bc9ceac90072dea38e66d0
The regression test is modified a little for KNF.
ok miod@
|
|
Remove unneeded dangling else, compound statements on a single line.
|
|
|
|
Also, nuke debugging printfs per jsing and bcook.
ok bcook@, jsing@
|
|
certificates without requiring a CertificateVerify message.
From OpenSSL commit:
https://github.com/openssl/openssl/commit/1421e0c584ae9120ca1b88098f13d6d2e90b83a3
Thanks to Karthikeyan Bhargavan for reporting this.
ok miod@
|
|
|
|
Printing strerror() in that case will say result too large, even if rounds is
actually too small. invalid is less specific, but less incorrect.
ok millert
|
|
noticed by Andre Smagin.
also check snprintf for overflow so we get better error messages if
somebody decides to pad with even more zeroes, and avoid possible
truncations.
|
|
|
|
|
|
ok reyk@
|
|
OK deraadt@
|
|
(e.g. to get visual host keys); reported by naddy@
|
|
|
|
Verified working by Peter Hansteen
OK deraadt@, millert@, stsp@
|
|
ineffectual wait statement
|
|
OK florian@
|
|
While here, correctly mark up time_t as a variable type and use prettier
double quotes.
ok schwarze@
|
|
block return 301 "http://www.example.com/$REQUEST_URI"
OK tedu@ florian@
|
|
|