summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-07-29must be zero'd (found by regress)Eric Faurot
2012-07-26remove reference to no longer existing description of nonexistent devices;Christian Weisgerber
ok deraadt@ tedu@, wording tweaks jmc@
2012-07-17Remove outdated reference to BSD 4.4 symlink behavior. EquivalentMatthew Dempsky
text was removed from symlink.7 over 16 years ago.
2012-07-17Document new pathconf() variables.Matthew Dempsky
From Brad, with tweaks by me.
2012-07-16revert previous, it was hardly tested and is causing too many issues too ↵Jasper Lievisse Adriaanse
close to release. as discussed with and ok mpi@ deraadt@
2012-07-16Add a man page describing pcap grammargiovanni
help from lteo@, claudio, jmc@ ok jmc@
2012-07-13properly report EAI_SERVICE when the given servname is not defined forEric Faurot
the given protocol.
2012-07-13Use same (lame) verbiage to explain ifa_dstaddr as is used forKenneth R Westerback
ifa_broadaddr. i.e. make it make clear that this field is only valid for P2P. (Hint: one's a field, and one's a #define giving a new name to said field) ok guenther@
2012-07-12Skip printing another SSLv2-only command in s_client's usage text.Stuart Henderson
jmc@ noticed this in the manpage while updating it, but it applies here too.
2012-07-12unused variablesEric Faurot
2012-07-12add support to get signed/unsigned HID dataYojiro Uo
2012-07-11make -j# fix, I had this forever actually.Marc Espie
okay millert@
2012-07-11implement res_mkqueryEric Faurot
2012-07-11- port multiple report ID support for HID parser from FreeBSD codeYojiro Uo
(rev. 205728, 224511 and 225839) - add hid_get_report_id(3) to get id of a descriptor. - crank the major in shlib_version 3.0 -> 4.0 ok deraadt@, mpi@
2012-07-11Disable SSLv2 in OpenSSL. No objections from djm.Stuart Henderson
Brad, jasper and naddy helped with test builds, fixing ports, etc.
2012-07-11fix an off-by-one error where the return value would point to theChristian Weisgerber
character after the '\0'; ok guenther@
2012-07-11sem_timedwait() needs the struct timespec tag to be pre-declared here.Philip Guenthe
Add restrict qualifiers.
2012-07-10same code update and fix as for gethostnamadr_asyncEric Faurot
2012-07-10simplify the code, improve error handling and plug a potential fd leak on errorEric Faurot
2012-07-10use the value actually passed to the functionEric Faurot
2012-07-10Better handling of servname in getaddrinfo_async. Do not necessarilyEric Faurot
fail if there is no entry for a given protocol. Fix issue reported by early testers.
2012-07-09ANSIfy forkpty, add missing $OpenBSD$ in duid.c, style (no arg names) inNicholas Marriott
util.h. ok guenther
2012-07-09Use the PAGE_* forms (instead of the ancient BSD forms) in param.h,Theo de Raadt
because param.h will get a kick in the head sometime in the future. One day, maybe both can become invisible, but we boot one of them first. ok guenter
2012-07-09use PAGE_SHIFT instead of PGSHIFT, in preperation for futureTheo de Raadt
param.h symbol reduction. ok guenther
2012-07-08implement res_querydomain() required by sendmailEric Faurot
2012-07-08add stub function for gethostent(), and move things around a bit while here.Eric Faurot
2012-07-08Zap extra spaces from function pointer argumentsPhilip Guenthe
Pointed out by Joachim Schipper (joachim at joachimschipper.nl)
2012-07-08Describe tdelete()'s return value correctly and update the related CAVEATPhilip Guenthe
Based on a note from Steffen Daode Nurpmeso (sdaoden at googlemail.com) ok jmc@
2012-07-07rename function to avoid symbol clashEric Faurot
2012-07-07remove bogus include of bsd.lib.mkEric Faurot
2012-07-07unbreak, pointed out by theoJasper Lievisse Adriaanse
2012-07-07actually, make this identical to what upstream expat ships nowadays by addingJasper Lievisse Adriaanse
a URL field and removing the empty Requires.
2012-07-07add expat.pcJasper Lievisse Adriaanse
based on a diff by brad ok sthen@
2012-07-03adapt the NetBSD code to make sigpending work on shJonathan Gray
ok miod@ kettenis@
2012-07-01The kernel returns the pending set; this stub has to save it throughPhilip Guenthe
the pointer ok miod@ kettenis@
2012-07-01make this actually workMark Kettenis
ok miod@
2012-06-28librthread has eaten libpthread, so build includes via the former insteadPhilip Guenthe
of the latter. Permits the misleading lib/libpthread/Makefile to be removed discussed with deraadt@
2012-06-26after a talk with ariane, use MAP_FIXED for mquery to avoid the cost ofTed Unangst
scanning for free space if the hint isn't available. also, on further inspection, this will prevent pmap_prefer from "improving" our hint.
2012-06-26simplify a little of the posix standards talk. ok deraadt guenther jmcTed Unangst
2012-06-26Use nl_langinfo(RADIXCHAR) instead of localeconv()->decimal_point inMatthew Dempsky
printf() and avoid calling it unless needed (i.e., when we have a floating point value to print). This isn't a big concern currently due to our limited locale support and current localeconv() implementation, but it's still technically a data race and implementing POSIX 2008 per-thread locales is likely to make it worse. nl_langinfo() isn't guaranteed by POSIX to be thread-safe either, but at least our current implementation is thread-safe and it's a simpler interface to keep that way. Printing floating point values isn't async-signal-safe anyway due to gdtoa()'s use of malloc(), so that's not an issue. ok deraadt, stsp, millert
2012-06-25Do not use <machine/float.h>, that is an deformed BSD-ism.Theo de Raadt
It turns out <float.h> is the right file to pull in. ok millert
2012-06-24In sysconf(), don't bother querying the kernel for userspace-onlyMatthew Dempsky
values or features that POSIX now requires to always be provided. From Brad; ok guenther and me; incorporates feedback from millert too
2012-06-24Change arc4random_uniform() to calculate ``2**32 % upper_bound'' asMatthew Dempsky
``-upper_bound % upper_bound''. Simplifies the code and makes it the same on both ILP32 and LP64 architectures, and also slightly faster on LP64 architectures by using a 32-bit remainder instead of a 64-bit remainder. Pointed out by Jorden Verwer on tech@ ok deraadt; no objections from djm or otto
2012-06-24- document newly imported AF_INET6 support to net_inet_{pton,ntop}Gilles Chehade
diff from Florian Obser, ok jmc@
2012-06-22add support for AF_INET6 to inet_net_pton() and inet_net_ntop()Gilles Chehade
using inet_pton() and inet_ntop() as suggested by claudio ok claudio@
2012-06-22synch build after importMarc Espie
2012-06-22import 3.7.13Marc Espie
okay jasper@
2012-06-22two changes which should improve realloc. first, fix zapcacheregion toTed Unangst
clear out the entire requested area, not just a perfect fit. second, use mquery to check for room to avoid getting an address we don't like and having to send it back.
2012-06-21A piece of this is still neededTheo de Raadt
2012-06-21Update to reflect API changesPhilip Guenthe