summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2010-06-30Update libedit to bring it into sync with the latest version from NetBSD.Nicholas Marriott
ok deraadt
2010-06-29use a union to align the dns answer buffer until gcc4 is fixedTheo de Raadt
2010-06-29RTHREADS option is gone, now it's a sysctl. spotted by jmcTed Unangst
2010-06-29briefly document kern.rthreadsTed Unangst
2010-06-29Fail instead of lying if a process asks sysctl()'s KERN_PROC2 orPhilip Guenthe
KERN_FILE2 (or their libkvm wrappers) for more information than the running implementation knows how to provide. ok millert@ deraadt@
2010-06-29use a union to align the dns answer buffer until gcc4 is fixedTheo de Raadt
2010-06-29Make unsetenv(NULL) and unsetenv("") give EINVAL, per POSIX. ok deraadt@Christian Weisgerber
2010-06-29VIA xcrypt for amd64, simpler version of a diff from deraadtJonathan Gray
with suggestions from miod. The codepath doesn't seem to be called yet, this will be investigated later. looks good miod@, ok deraadt@
2010-06-28add missing headers needed for close() and ioctl().Charles Longeau
ok krw@ millert@
2010-06-27Instead of (manually) closing the _thread_kern_pipe before callingPhilip Guenthe
execve(), just set the close-on-exec flag. Fixes PRs 6183 and 6376. ok marc@, "seems clearly better" tedu@
2010-06-26Add the extendedKeyUsage flags serverAuth and clientAuth. Newer WindowsReyk Floeter
version require these flags to accept the X.509 certificates from the gateway or client; I just add both flags to make it work in both cases and verified it with win7, for example when authenticating against iked. go ahead beck@
2010-06-26sync libexpat with upstream. mostly formating cleanup, no binary change.Eric Faurot
ok deraadt nicm
2010-06-26remove support for the old pflog format, replaced in 2003Henning Brauer
ok ryan theo & herr reyksminister
2010-06-23Protect against multiple inclusion, from Christiano F. Haesbaert.Nicholas Marriott
ok deraadt@
2010-06-18If a request to opendev(3) is given in the form of a disklabel UID,Joel Sing
open /dev/diskmap and perform a DIOCMAP ioctl in order to open the actual device. As a result, all programs which make use of opendev(3) can now operate with disklabel UIDs. Feedback from millert@ ok millert@ krw@ thib@
2010-06-05don't prime server buffers, because it's ugly and conceptuallyAlexandre Ratchov
complicated. Instead, request clients to provide enough samples and start with buffers full.
2010-06-05don't send clock ticks while buffers are being primedAlexandre Ratchov
2010-06-05Don't send the initial position as a clock tick with a negative delta.Alexandre Ratchov
Add a new ``initial position'' message which is simpler. No bahaviour change, except effects of the protocol version crank.
2010-06-03typo in a commentTheo de Raadt
2010-06-02Avoid using and end pointer since strnlen(string, -1) is legalTodd C. Miller
and would otherwise result in overflowing the end pointer and cause strnlen() to return 0. OK sthen@
2010-05-31Hide the timeout_* macros under an EVENT_DEPRECATED ifdef. These namesNicholas Marriott
invite conflicts, they are rarely used, can trivially be replaced by evtimer_*, and are deprecated and removed from event.h in later libevent versions. ok guenther deraadt
2010-05-28typo; Ian McWilliamStuart Henderson
2010-05-26If the stack size attribute isn't larger than the guard-page sizePhilip Guenthe
attribute then make pthread_create() return EINVAL instead of whatever was in errno on entry (possibly making it appear it succeeded when it really failed). Encountered by Jung (moorang at gmail.com).
2010-05-26Move imsg into libutil and add a man page.Nicholas Marriott
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt
2010-05-26Switch amd64 and sparc64 over to gcc4; bump libc major to deal with the ABIMark Kettenis
corner cases that were fixed in gcc4, and changes in libgcc that we may have missed. ok kettenis@
2010-05-26oops - forgot to check for trailing whitespace;Jason McIntyre
2010-05-26reword the 'D' dump bit to make it clear that the malloc.out file needsThordur I. Bjornsson
to exist before exit for malloc to dump stats in it. tweaks from jmc@ ok otto@,jmc@
2010-05-25Make sure that we really mark the FPU registers clean.Mark Kettenis
ok deraadt@
2010-05-25complete any pending message when the device is stoppedAlexandre Ratchov
2010-05-25drop samples or insert silence in sun_revents(). Otherwise, inAlexandre Ratchov
full-duplex, we may detect a xrun in the play direction and discard the clock tick, this would cause sio_revents() to return POLLIN without the clock being advanced, causing apps relying on the clock for flow control to enter a busy loop.
2010-05-24Add HISTORY section, mostly for strnlen() but include strlen() forTodd C. Miller
completeness (verified).
2010-05-21Remove strndup and strnlen now that libc includes its own.Todd C. Miller
Bump the major version to avoid problems if someone updates libkrb5 without updating libc first. OK deraadt@
2010-05-21remove unused variable.Charles Longeau
ok millert@ tedu@
2010-05-19remove unused variableCharles Longeau
ok nicm@
2010-05-19tweak previous;Jason McIntyre
2010-05-18add posix_madvise, posix_memalign, strndup, and strnlen. mostly fromTed Unangst
brad and millert, with hints from guenther, jmc, and otto I think. ok previous.
2010-05-14Document return values, based on a diff from Ross Richardson.Nicholas Marriott
ok jmc
2010-05-14Defer installing signal handlers until echo is disabled so that weTodd C. Miller
get suspended normally when not the foreground process. Fix potential infinite loop when restoring terminal settings if process is in the background when restore occurs. OK miod@
2010-05-13merge fixes from upstream (up to rev 1.167)Eric Faurot
notably fix a regression in parsing DTD parameter entities. ok miod@ nicm@
2010-05-09another Os out of order;Jason McIntyre
2010-05-09if the sample rate the hardware will use is different than theJacob Meuser
requested sample rate, scale the block/buffer sizes so the block/ buffer sizes the hardware will use are the same amount of *time* as the requested block/buffer sizes. ok ratchov@
2010-05-09Mark _MCOUNT_DECL as __used to prevent gcc4 from optimizing it away when itMark Kettenis
is only referenced from inline asm. ok jsg@
2010-05-09Document that el_init can return NULL on failure, PR 6374 from rueda atNicholas Marriott
devio.us. ok jmc
2010-05-06Do not return success when the IPv6 address has a :: and 8 hex sections.Claudio Jeker
::1:2:3:4:5:6:7:8 for example. PR 6277, fix by Jun KAWAI (kwj at vlax net) OK henning, gilles, jsing (who also reminded me to remove the now wrong comment about superfluous ::)
2010-05-05Tweak inline asm to prevent gcc4 from optimizing away crucial bits of it.Mark Kettenis
ok miod@
2010-05-03document when the _timed{rd,wr}lock functions first appeared; from bradJason McIntyre
ok guenther
2010-05-03When running in pic mode we don't have enough general registers for allJonathan Gray
the xcrypt inputs, hence the dance which is done to make this work. The constraint for the key however was "mr" which is both from memory and from a general register, it seems gcc3 went with the former and gcc4 went with the later in the pic case, so change the constraint for the key to just "m" which gives us more efficient code that both gcc3 and gcc4 are happy with. ok kettenis@
2010-05-01Sprinkle a few __used markers to prevent gcc4 from throwing away essentialMark Kettenis
bits of code and data. With this change gcc4 builds usable crt*.o on sparc64, other architectures probably need some more love. ok marco@, jsg@
2010-04-29in sun_start(), don't pause the device in play mode, since it'sAlexandre Ratchov
already paused (by either sio_open or sio_stop) from Alexandr Shadchin, thanks!
2010-04-26once sio_start() has been called, stream parameters cannot beJacob Meuser
changed until after sio_stop() is called ok ratchov@, jmc@