summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-16Convert to if_input(), tested by jsg@.Martin Pieuchot
2015-03-16Change the internal name of the newline function to deconflict with aBrian Callahan
function of the same name in term.h. This is the first step towards cleaning up mg's includes. No user-visible changes. ok florian@
2015-03-16Don't include limits.h or sys/limits.h since grep.h already does itTodd C. Miller
for us.
2015-03-16Include limits.h, not sys/limits.h and include stdint.h for SIZE_MAX.Todd C. Miller
2015-03-16from zhuk: be clear that "#" is a variableJason McIntyre
2015-03-16#if 0 some more arrays used only for decrypting (we don't useDamien Miller
since we only need encrypt for AES-CTR)
2015-03-16convert timeout_add() calls using hz to timeout_add_msec()Jonathan Gray
2015-03-16When state creations happen in short term by outgoing packets of oneYASUOKA Masahiko
SO_BINDANY socket, the new state didn't have a link of the socket's pcb. So the incoming packets allowed by the state were mistakenly forwarded and the pcb could not get them. Fix pf not to lost the link of the pcb when the state is recreated. ok bluhm mikeb
2015-03-16Revert 1.39. Resetting after specifically putting the keyboard in aJoshua Stein
different table will most likely just revert the keyboard to its default table anyway. Instead, just flush the kbd slot before choosing a table and then still forcefully enable the slot, which is enough to fix UKC on the 3rd gen X1 carbon while having a much smaller chance of breaking anything else. ok deraadt
2015-03-16Revert 1.44 since we have found some machines where the keyboardJoshua Stein
stops working after our aux port resets, which were not broken before. ok deraadt
2015-03-16syncTheo de Raadt
2015-03-16Fix typoeJames Turner
2015-03-16Bump major to 29, regen .pc and header with new version infoJames Turner
2015-03-16Merge conflictsJames Turner
2015-03-16Merge conflictsJames Turner
2015-03-16Update sqlite3 to 3.8.7.4. Changes available here: ↵James Turner
http://sqlite.org/changes.html#version_3_8_7_4 ok landry@
2015-03-15from zhuk: two grammar fixes;Jason McIntyre
2015-03-15from zhuk: clarify "set --";Jason McIntyre
2015-03-15Avoid a NULL pointer deref when X509_get_pubkey() returns NULL.Doug Hogan
A NULL pointer could be dereferenced when X509_REQ_set_pubkey() calls X509_PUBKEY_set() with pktmp. OpenSSL says it's the fix for CVE-2015-0288, but there aren't any public details yet to confirm. Either way, we should fix this. Based on OpenSSL commit 28a00bcd8e318da18031b2ac8778c64147cd54f9 and BoringSSL commit 9d102ddbc0f6ed835ed12272a3d8a627d6a8e728. "looks sane" beck@ ok miod@, bcook@
2015-03-15Prevent use after free.Florian Obser
While here unconditionally free clt and move declaration of server_inflight_dec() into server.c Found while investigating if (foo != NULL) free(foo) patterns pointed out by Markus Elfring. OK reyk
2015-03-15Define chdname once in a .c and make it extern in the .hPhilip Guenther
2015-03-15Handle tar -o by setting the tar_nodir directly instead of faking up aPhilip Guenther
pax-like -o write_opt=nodir. ok millert@ otto@
2015-03-15Avoid off-by-one read access to the termacts array, which couldIngo Schwarze
sometimes result in missing line breaks before subsection headers. Found by carsten dot kunze at arcor dot de on SuSE 13.2.
2015-03-15from zhuk: remove ambiguity around the false/true description;Jason McIntyre
2015-03-15Bring back '#include <lib/libz/zlib.h>', but inside #ifdev GPT. GPTKenneth R Westerback
routines use crc32(). ok jsg@ doug@
2015-03-15from zhuk: paths not beginning dot (as well as slash) use CDPATH;Jason McIntyre
2015-03-15from zhuk: remove ambiguity in the description of "continue";Jason McIntyre
2015-03-15from zhuk: the dash part of "cd -" is not a flag, so don;t show it as such;Jason McIntyre
posix actually uses a separate synopsis to show this form, but i've chosen to show it as a special form of "dir";
2015-03-15fix for regression test for strtol(). it failed (the wrong kind ofPeter Hessler
fail), on 64-bit systems. tested on 64-bit (amd64) and 32-bit (sparc). OK claudio@ deraadt@
2015-03-15Using O_TRUNC with O_CREAT|O_EXCL is just confusing: fail if it exists,Philip Guenther
but if you *did* succeed anyway, truncate it?
2015-03-15pax -o only accepts 'write_opt=nodir' and not bare 'nodir'Philip Guenther
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@
2015-03-15Eliminate the question 'Which cd?' and just show the available cd'sKenneth R Westerback
in the 'Location of sets?' prompt. Idea from deraadt@ Developed with and tested by rpe@ ok deraadt@ rpe@
2015-03-14Add missing #include <stdint.h> for SIZE_MAX.Todd C. Miller
2015-03-14Use xstrdup(), from Michael W. BombardieriTodd C. Miller
OK espie@
2015-03-14TZ_MAX_CHARS in the old tzfile.h bears no resemblence to the actualTodd C. Miller
max time zone length used by libc/time. Just use PATH_MAX for now (since zone files are path names). This function is slated to be removed at the next libc major bump.
2015-03-14Do not reference tzfile.h since that is an internal header.Todd C. Miller
Be clear that "standard" byte order means big endian. Update struct ttinfo.
2015-03-14Delete the separate and incomplete whatis(1) manualIngo Schwarze
and replace it by an MLINK to apropos(1), which already contains all information about whatis(1). "up to you" jmc@
2015-03-14Allow for multiple concurrent devopen() calls, and fill the .readdir memberMiod Vallat
of fs_ops; makes the `ls' command finally work in the boot loader.
2015-03-14unbreak treeTheo de Raadt
2015-03-14from zhuk: be clearer about not all options having long name equivalents andJason McIntyre
lowercase the first letter of these names since that is the form accepted;
2015-03-14Whitespace & KNF tweaks. Change functions whose return values areKenneth R Westerback
not checked to void. Use continue inside a do loop instead of a goto to the top. Move a #define/#undef more local to use. Eliminate some lint. General cleanup of things noticed preparing the big churn. No intentional functional change.
2015-03-14use ctime_r to avoid a re-entrancy signal raceTheo de Raadt
ok millert
2015-03-14Check for the size of the supposed destination address when constructingMartin Pieuchot
the Ethernet frame. Prevent an overflow reported by Henk Jan Agteresch on bugs@.
2015-03-14Zap unused variable.Kenneth R Westerback
Diff from chl@. Committing now so it doesn't get lost in upcoming megachurn.
2015-03-14Switch all the license blocks to the standard OpenBSD/ISC license.Kenneth R Westerback
With the permission of Toby. ok deraadt@
2015-03-14RTL8411 works also, according to tiix@openmailboxTheo de Raadt
2015-03-14Switch all the license blocks to the standard OpenBSD/ISC license.Kenneth R Westerback
With the permission of Toby. ok deraadt@
2015-03-14Remove wrong reference to zlib.Loganaden Velvindron
OK deraadt@
2015-03-14rewrite of sh(1). this page tries to confine itself to document featuresJason McIntyre
supported by posix compliant shells (obviously ksh(1) still documents the works). still needs work, so please do mail me diffs or feedback;