summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-28Move consinit() out of the bowels of the zs driver to its own file, inMiod Vallat
preparation for systems which do not have console on a zs(4) device. No functional change yet.
2015-02-28Remove duplicated defines for window 7 registers.Miod Vallat
2015-02-28Prevent a race resulting in an infinite loop printing "ehci_idone" messages.Martin Pieuchot
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@
2015-02-28Fix uhidev_get_report_async() from David Higgs.Martin Pieuchot
2015-02-28Typo in comment 'reseve' -> 'reserve'Mike Larkin
2015-02-28an(4) does not allow 'scan' as per the CAVEATS section of the man page.Mike Larkin
discussed with jsg@
2015-02-28unbreak pcmcia an(4) by adding back some lines removed in rev 1.21Jonathan Gray
without this is won't attach. ok stsp@ millert@ miod@
2015-02-27Be clear that when tv_nsec is set to UTIME_*, tv_sec is ignored.Todd C. Miller
OK guenther@
2015-02-27Bring example up to date with share/misc/usb_hid_usages.Anthony J. Bentley
ok millert@
2015-02-27Fix uvm_fault() seen with bwi (and some other devices?) on older non-apic i386Philip Guenther
reported by Michael (lesniewskister (at) gmail.com) ok miod@ (who did all the hard work)
2015-02-27Fix URL-encoding of characters with the high order bit set.Jeremie Courreges-Anglas
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@
2015-02-27When makewhatis(8) scans a tree, ignore trailing garbage on filenames.Ingo Schwarze
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.
2015-02-27When man(1) and apropos(1) look for a file man1/foo.1 but it's unavailable,Ingo Schwarze
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>.
2015-02-27Seems the Samsung SM951 PCIe SSD needs the same quirk as other Samsung SSDs.Mark Kettenis
ok guenther@, phessler@, jsing@
2015-02-27regenMark Kettenis
2015-02-27Samsung SM951 PCIe SSD.Mark Kettenis
2015-02-27Do not use the name returned by getlogin() when pw_uid fromTodd C. Miller
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@
2015-02-27remove ^L characters. no binary change.David Gwynne
2015-02-26don't printf NULL key comments; reported by Tom ChristensenDamien Miller
2015-02-26%% not % in error message; ok millert@ henning@Stuart Henderson
2015-02-26Wrap a long line. Use explicit_bzero. Fix comment describing extra.Ted Unangst
From Andre Smagin Also, should be safe to print errno from newhash() now. ok millert
2015-02-26Prefix function parameter names with underscores in tls.h, since this makesJoel Sing
them guaranteed to not conflict per POSIX. ok espie@ guenther@
2015-02-25zero cmsgbuf before use; we initialise the bits we use butDamien Miller
valgrind still spams warning on it
2015-02-25Synchronize daemon_flags and postgresql_flags examples with rcscript.Robert Peichaer
OK sthen ajacoutot
2015-02-25Do not count the dropped messages strictly, so that the syslogdAlexander Bluhm
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.
2015-02-25No need to use O_DIRECTORY when opening ".", O_RDONLY will suffice.Todd C. Miller
OK guenther@
2015-02-25fix small memory leak when UpdateHostkeys=noDamien Miller
2015-02-25Rework secondary processor initialization, in order to allocate their idleMiod Vallat
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.
2015-02-25don't leak validity of user in "too many authentication failures"Damien Miller
disconnect message; reported by Sebastian Reitenbach
2015-02-25Point people at rcctl(8) rather than rc.d(8) in the text displayed whenStuart Henderson
a package has installed an rcscript - it's a good UI, and people needing further details can follow the "see also". ok espie@ brynet@
2015-02-25Fix CVE-2014-3570: properly calculate the square of a BIGNUM value.Brent Cook
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@
2015-02-25Trivial fix for test progress output.Brent Cook
Remove unneeded dangling else, compound statements on a single line.
2012-10-13import OpenSSL-1.0.1cDamien Miller
2015-02-25Avoid NULL pointer deref in hashinfo_free() when calling from error paths.Doug Hogan
Also, nuke debugging printfs per jsing and bcook. ok bcook@, jsing@
2015-02-25Fix CVE-2015-0205: Do not accept client authentication with Diffie-HellmanBrent Cook
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@
2015-02-24we don't let strtonum errors bleed through now.Ted Unangst
2015-02-24Set errno to EINVAL, instead of letting ERANGE escape out.Ted Unangst
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
2015-02-24increase prefbuf size so that 'encrypt -b 000000000000000000000012' works.Ted Unangst
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.
2015-02-24add -v (show ASCII art) to -l's synopsis; ok djm@Christian Weisgerber
2015-02-24typo, frantisek holopMarc Espie
2015-02-24Mark up filenames with Pa.Anthony J. Bentley
ok reyk@
2015-02-24Explain in a comment that atoi() is safe here.Alexander Bluhm
OK deraadt@
2015-02-23further silence spurious error message even when -v is specifiedDamien Miller
(e.g. to get visual host keys); reported by naddy@
2015-02-23document the quirks cve mechanism. Better late than neverMarc Espie
2015-02-23Add support for the RTL8411B chipPeter Hessler
Verified working by Peter Hansteen OK deraadt@, millert@, stsp@
2015-02-23fix a race condition by using a mux socket rather than anDamien Miller
ineffectual wait statement
2015-02-23Use the rewritten (index file appended) uri as DOCUMENT_URI.Christopher Zimmermann
OK florian@
2015-02-23Convert a table unsupported by mandoc to a columnated list.Anthony J. Bentley
While here, correctly mark up time_t as a variable type and use prettier double quotes. ok schwarze@
2015-02-23Allow to specify CGI variables as macros in redirection strings, eg.Reyk Floeter
block return 301 "http://www.example.com/$REQUEST_URI" OK tedu@ florian@
2015-02-23fourth batch of perlpod(1) to mdoc(7) conversionIngo Schwarze