summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-10-31imsg.h requires sys/uio.h, ok deraadtNicholas Marriott
2010-10-29- the nroff workaround is no longer neededJason McIntyre
- use some Fn and \*(Gt
2010-10-28remove libdes src/ports users have been switched to libcryptoJonathan Gray
2010-10-28unlink libdes src/ports users have been switched to libcryptoJonathan Gray
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
2010-10-28remove skipjack and cast from the libc; ok deraadtMike Belopuhov
2010-10-28support _SC_HOST_NAME_MAX; from bradTheo de Raadt
a libc crank is happening in < 24 hours
2010-10-27Remove the EXAMPLE, since *noone* should use this non-portable APITheo de Raadt
directly -- it exists for libc use only. Tell people to use readdir(3). discussed with millert
2010-10-23Don't leak the fd returned by mkstemp in vi_histedit error paths.Nicholas Marriott
From zinovik.
2010-10-23add forgotten ``static''Alexandre Ratchov
2010-10-21use MODE_xxx and XRUN_xxx macros everywhere, and zap correspondingAlexandre Ratchov
AMSG_xxx macros, which in turns simplifies the code
2010-10-21print the pointer value that caused the error (if available); okOtto Moerbeek
deraadt@ nicm@ (on an earlier version)
2010-10-18Fix a potential memory leak in an error path (although in code we don'tNicholas Marriott
currently use), spotted by zinovik.
2010-10-18Disable use of dladdr() on a.out arches, they do not provide it (yet); ok djm@Miod Vallat
2010-10-17The ssizearg member of union arg is pointless if it isn't of type ssize_tPhilip Guenthe
Noted by Claus Assmann
2010-10-17remove libsectok; it hasn't been updated in years and doesn't workDamien Miller
with the current generation of tokens; ok markus@ deraadt@
2010-10-17unlink libsectok from the build; ok markus@ deraadt@Damien Miller
2010-10-16update struct statfs; from Vladimir KirillovJason McIntyre
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@