summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-10-11tcp.sendspace & tcp.recvspace buttons are gone.Claudio Jeker
2010-10-09Fix typo in pflog header size computation. Fixes filtering with the newCan Erkin Acar
pflog headers. reported by jmc@, tested by jmc@ and sthen@, ok sthen@
2010-10-08Extend GLOB_LIMIT to cover readdir and stat and bump the malloc limitNicholas Marriott
from ARG_MAX to 64K. Fixes glob-using programs (notably ftp) able to be triggered to hit resource limits. Idea from a similar NetBSD change, original problem reported by jasper@. ok millert tedu jasper
2010-10-07OpenSSL grows another undocumented header, apparently needed on armishDamien Miller
2010-10-06More OpenSSL fixes:Damien Miller
- Update local engines for the EVP API change (len u_int => size_t) - Use hw_cryptodev.c instead of eng_cryptodev.c - Make x86_64-xlate.pl always write to the output file and not stdout, fixing "make -j" builds (spotted by naddy@) ok naddy@
2010-10-06Retire SkipjackMike Belopuhov
There's not much use for the declassified cipher from the 80's with a questionable license these days. According to the FIPS drafts, Skipjack reaches its EOL in December 2010. The libc portion will be removed after the ports hackathon. djm and thib agree, no objections from deraadt Thanks to jsg for digging up FIPS drafts.
2010-10-04Our make already uses sh -e when executing commands.Christian Weisgerber
Revert the "set -e" additions and kill unneeded subshells. ok djm@
2010-10-03DES_LONG should be u_int on all platforms, it was spuriouslyDamien Miller
u_long on i386. suggested by deraadt@ and kettenis@
2010-10-02percolate up errors from perl asm scripts, correctly enable SHA-256 asm onDamien Miller
amd64
2010-10-01fix -Wall due to API changeDamien Miller
2010-10-01update supporting files, crank library majorsDamien Miller
2010-10-01add missing; yay for cvs!Damien Miller
2010-10-01resolve conflicts, fix local changesDamien Miller
2010-10-01import OpenSSL-1.0.0aDamien Miller
2010-10-01Provide a WEAK_ALIAS macro in <machine/asm.h> for the few platformsPhilip Guenthe
that didn't already have one, and then immediately use it in libc's SYS.h ok miod@
2010-09-27Update to tzcode2010m from elsie.nci.nih.govTodd C. Miller
2010-09-26oops, don't free array before freeing members; spotted by dkrause@Damien Miller
2010-09-26add mips64 tags; ok miodJason McIntyre
2010-09-25Make gcvt() better match printf("%g") behavior, it now passes regress.Todd C. Miller
OK deraadt@
2010-09-25document GLOB_KEEPSTAT in the RETURN VALUES and STANDARDS sections.Damien Miller
2010-09-25fix Xrs;Jason McIntyre
2010-09-24tweak previous;Jason McIntyre
2010-09-24Bump libc major for ABI changes.Todd C. Miller
2010-09-24Bump fts_level from short to int and add a spare short so thingsTodd C. Miller
line up nicely. OK deraadt@
2010-09-24Provide IRIX-compatible get_fpc_csr() and set_fpc_csr() for mips, althoughMiod Vallat
we don't provide the silly union to decompose the value. This will allow userland to flip the ``flush denormalized to zero'' setting, which apparently is being relied upon by tcl. Asked by jasper@ a long time ago. Riding upon the upcoming libc major crank.
2010-09-24Add timingsafe_bcmp(3) to libc, mention that it's already in theMatthew Dempsky
kernel in kern(9), and remove it from OpenSSH. ok deraadt@, djm@
2010-09-24add a GLOB_KEEPSTAT option that retains a copy of the struct statDamien Miller
information that is looked up while matching glob(3)s Keeping this information around can make a big difference when fetching it is expensive, e.g. in sftp which uses GLOB_ALTDIRFUNC feedback millert@ jmc@ "get it in before the libc crank" deraadt@
2010-09-24Implement if_freenameindex() as a real function as required by posix.Claudio Jeker
OK deraadt@, millert@
2010-09-20according to ingo, it isn;t a problem to have empty [BDS]q macros, soJason McIntyre
revert that part of yesterday's diffs;
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-17don't try to get the current stream postion when the device is stopped,Alexandre Ratchov
and don't generate clock ticks (ie don't invoke the sio_onmove(3) call-back).
2010-09-12Since the stack layout changes from gcc3 to gcc4, change the inline asm toMark Kettenis
deal with this. ok miod@
2010-09-11there's a missing full stop here too, which seems to be because ofJason McIntyre
another local variation;
2010-09-11remove a duplicate line; thomas dickey has confirmed this issue is notJason McIntyre
present in upstream sources, so it must be a local bug;
2010-09-10observe the following spelling:Jason McIntyre
- wide character (noun) - wide-character (adjective) this is the "fix of least resistance", and appears to be in line with posix style; a tiny fix still needed for curses, but i'll mail that upstream;
2010-09-09Use mandoc instead of groff to build PostScript manuals; note thatIngo Schwarze
these are not built by default, but only built when MANPS is set. kristaps@ and jmc@ agree with the idea, and the patch doesn't bother deraadt@ at all
2010-09-08Make tcpdump of pflog interfaces work with 'net <net>' expression.Kenneth R Westerback
My problem, canacar@'s fix. ok sthen@ canacar@
2010-09-07Document EBUSY return when attempting to open a cua device thatTodd C. Miller
someone else already has open. OK jmc@
2010-09-07do not use .B, which is man(7), not mdoc(7); and stop .Tn abuseIngo Schwarze
feedback and ok jmc@, ok millert@
2010-09-07- O_NOFOLLOW is no longer non-posix; from thomas klausnerJason McIntyre
- bump posix revision and remove xpg; from millert ok millert
2010-09-06Enable wide character support in ncurses. It is built into libcurses,Nicholas Marriott
libform, libmenu, libpanel and each library is also linked to a corresponding "w" version. This is a major bump for all four libraries. Thanks to landry, stsp, sthen, naddy, oga, Martin Pieuchot, and anyone else I've forgotten for testing. ok naddy krw deraadt
2010-09-01Oracle has re-licensed sunrpc under a three-clause BSD license.Todd C. Miller
Update our sources appropriately. OK deraadt@ jsg@
2010-08-30Fix from upstream to make all backends reinit on event_reinit(). ThisNicholas Marriott
was not being done for poll and select, so after fork they would remain using the same socketpair for signal notification, leading to a race between the two processes to read from it and hangs. Problem originally reported by kili@. ok gilles
2010-08-24backout VIS_HEX. guenther@ points out that the C89 \xff encodingDamien Miller
idiotically accepts more then two hex digits following the \x, even on platforms where a char has 8 bits. It is therefore dangerous to have an almost-bit-not-quite compatible format in vis(3). The VIS_ALL (encode all characters) option introduced in the same commit remains.
2010-08-23update to tzcode2010k from elsie.nci.nih.gov; OK miod@Todd C. Miller
2010-08-23Check for duplicate variables in the environment when setting a valueTodd C. Miller
via setenv() or putenv(). OK miod@
2010-08-21Two new flags: VIS_ALL - encode all characters, not just invisible onesDamien Miller
and VIS_HEX - use C89 \xff style hexadecimal encoding. Teach unvis(3) how to deal with the hex encoding. feedback and ok millert@ chl@
2010-08-20polish the code: remove few unused #includes, add missing ones,Alexandre Ratchov
fix NULL vs 0, etc. No behaviour change.
2010-08-19Introduce an MI kern.consdev sysctl that will replace the MDMark Kettenis
machdep.console_device that's only implemented on a few architectures. ok deraadt@, miod@
2010-08-06If audio interrupts are missed (as this happens on some MP systemsAlexandre Ratchov
now), play and record directons may be out of sync, and since the play direction is used as clock source, we may end up with data ariving _before_ the time it was recorded. This breaks the sndio ``device model'' and most full-duplex apps relying on it, starting with aucat in its default mode. Workaround this by using the direction that's ahead as clock source, ensuring that recorded data never arrives before the clock tick it was recorded. This prevents apps from crashing but won't fix stuttering caused by missed interrupts. ok deraadt@