summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-03-18... and bump the major, update should be completeMarc Espie
2013-03-18regen'd headersMarc Espie
2013-03-18cvs shat on itself all over again.Marc Espie
creating conflicts out of nowhere as usual
2013-03-18update to 3.7.15.2, tested by landry@/miod@Marc Espie
2013-03-15threadsafe random().Ted Unangst
reported by ajacoutot and (much earlier, sorry) by Alexey Suslikov
2013-03-14tedu faith(4), suggested by todd@ some weeks ago after a submission byMartin Pieuchot
dhill. ok krw@, mikeb@, tedu@ (implicit)
2013-03-13in debug mode, log successful connections, from Jan StaryAlexandre Ratchov
2013-03-12Return EINVAL if there are fewer than six template Xs in the path.Philip Guenther
ok deraadt@ millert@
2013-03-12Fix kernel profiling on MP systems by using per-CPU buffers and teachMartin Pieuchot
kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@
2013-03-12SOCK_SEQPACKET is supported on AF_UNIX too.David Gwynne
ok jmc@ matthew@
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories...
2013-03-11document LOG_ODELAY; from Daniel DickmanJason McIntyre
ok millert
2013-03-09Describe interaction between write and O_APPEND.Ted Unangst
Pointed out by Sachidananda on tech
2013-03-07Fix return value of wcrtomb() in single-byte locales if the s argument is NULL.Stefan Sperling
wcrtomb() must pretend to store one byte (NUL-terminator) in this case. Patch by Vladimir Tamara Patino. ok guenther
2013-03-07Oops: confstr()'s return value should include the NUL in its countPhilip Guenther
Problem pointed out by Andres Perera (andres.p (at) zoho.com)
2013-03-05tweak wording of scanf return value; prompted by Jan Stary; ok jmc@Otto Moerbeek
2013-03-04Update STANDARDS section as appropriate for C99.Brad Smith
ok guenther@
2013-03-02Fix the combination of 'j' format flag and the XPG "<num>$" modifier.Philip Guenther
ok deraadt@ kettenis@ millert@
2013-03-02zap end of line whitespace;Jason McIntyre
2013-03-01Adds the (somewhat silly) _CS_V[67]_ENV and _CS_POSIX_V[67]_* definesPhilip Guenther
to <unistd.h> and confstr(3) per POSIX 1003.1-2008 Change confstr(_CS_PATH) to operate directly instead of calling sysctl(3) ports build tested by espie@
2013-02-15Revert previous diff: sparc and sparc64 don't set the TCB to NULL in exec, yet,Philip Guenther
and vax doesn't support symbols that are both weak and undefined (yet?). sparc issue diagnosed by kettenis@, vax problem found by todd@
2013-02-14cherry pick bugfixes for http://www.openssl.org/news/secadv_20130205.txtMarkus Friedl
from the openssl git (changes between openssl 1.0.1c and 1.0.1d). ok djm@
2008-09-06import of OpenSSL 0.9.8hDamien Miller
2013-02-14Make libpthread compatible with an ld.so that does TCB allocation:Philip Guenther
if the initial thread already has a TCB then don't override it, and if the _dl_allocate_tls() and _dl_free_tls() symbols exist then use them instead of malloc/free ok kettenis@
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headerMartin Pieuchot
at this moment.
2013-02-12Unbreak the tree by adding missing defines. Forgot to sync in previousMartin Pieuchot
spotted by todd@.
2013-02-11Sync with libkern's copy. No functional change.Martin Pieuchot
2013-02-03gremlin crept inMiod Vallat
2013-02-02Userland bits for m68k/ELF. Mostly addition of register prefixes to theMiod Vallat
assembler instructions, and cope with the few changes in return values location.
2013-02-01fix memleak in imsg_read() when hitting the fd reserve checkGilles Chehade
ok millert@, mikeb@, lteo@
2013-02-01If par->bufsz is set (it's documented as readonly since years) thenAlexandre Ratchov
reset it and set par->appbufsz instead
2013-01-31Add a bunch of missing functions.Brad Smith
ok millert@
2013-01-30Add support for POSIX.1-2008 functions dprintf(3) and vdprintf(3).Brad Smith
Feedback from millert@ guenther@ OK guenther@ man page bits OK jmc@
2013-01-27Make this PIC-aware.Miod Vallat
2013-01-26remove ACSS, crank libcrypto major; ok markus@ deraadt@Damien Miller
2013-01-24Oops, due to the way return from system calls work, we can not use a delayMiod Vallat
slot in the branch to cerror, for the delay slot instruction would also run as part of a successful return. Doh. Fortunately almost nothing in the tree uses brk() or sbrk() anymore... but binaries linked against libiberty.
2013-01-23ARMv7 doesn't support the atomic SWP instruction anymore. Use the atomicPatrick Wildt
load and store instructions instead. ok miod@
2013-01-23The kernel sources mention that the system call entry point is trap #450; theMiod Vallat
fact that #128 and #129 may also be used for this purpose was never documented, so there is no reason to have libc use #128. Switch to #450 for consistency.
2013-01-20Fix PIC_LOAD and PIC_STORE macros to really access the variable, instead ofMiod Vallat
the GOT pointer. Oops.
2013-01-20Properly handle "%%" and "%N" where N is not a supported escape.Todd C. Miller
This is consistent with strftime(3) behavior. OK stsp@
2013-01-20PIC-related code should follow the #ifdef __PIC__ line, not the #else line.Miod Vallat
Doh!
2013-01-19Document F_DUPFD_CLOEXEC; adapted from FreeBSDTodd C. Miller
OK miod@ espie@
2013-01-19partially re-instate previous; requested by deraadtJason McIntyre
2013-01-19better description of O_CLOEXEC; from russellJason McIntyre
ok guenther
2013-01-18Update the setsockopt(2) interface documentation for the EFBIG andAlexander Bluhm
UDP socket splicing changes. help and OK jmc@
2013-01-15build crt{begin,end}S.o with -fpic.Miod Vallat
2013-01-15Don't pull <math.h> just because it can return HUGE_VAL in theMartynas Venckus
corner cases. OK millert@.
2013-01-14No longer need the "miniproc" glue, as we only have kinfo_proc now.Philip Guenther
ok deraadt@ pirofti@ kettenis@
2013-01-13Remove machine-dependent glue for strtorQ, since hppa64 quad-precisionMartynas Venckus
support has been removed from our compiler a year ago.
2013-01-13Get rid of the very ugly lint workarounds: LINTLIBRARY, PROTOLIB,Martynas Venckus
and a few empty files for lint to chew on.