summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* After spotting a + record, continue scanning and pick up later groupsderaadt2008-08-221-4/+10
| | | | | in the file. Problem spotted by drahn. ok millert
* Replace the old algorithm that included the process id as part of themillert2008-08-221-49/+20
| | | | temporary file name with one that only uses random data. OK deraadt@
* Remove useless code, the kernel will set errno appropriately if anmillert2008-08-211-21/+1
| | | | element in the path does not exist. OK deraadt@ pvalchev@
* Add resolv.conf(5) option to force lookups by TCP: "options tcp"djm2008-08-151-18/+20
| | | | | | | | | | | | | | Also Extend "nameserver" declaration syntax to support port numbers. To avoid ambiguity these are only parsed when the address is enclosed in square brackets, e.g. "nameserver [127.0.0.1]:5353" Together these changes make forwarding DNS over a SSH tunnel very easy, but unfortunately some programs in ports/ implement their own resolvers (e.g. firefox). These will need to be modified to support these options separately. fixes jsing@ reyk@ ok deraadt@ millert@ krw@ + "I like it" from lots
* small cleanup of error/warning stringsotto2008-08-072-7/+7
|
* improve SEE ALSO links; from Ingo Schwarzejmc2008-08-046-27/+27
| | | | ok otto millert
* clarify EMSGSIZEgilles2008-07-291-2/+9
| | | | rewording by jmc@, "lovely" deraadt@
* tweak previous;jmc2008-07-292-8/+7
|
* Split SHA1Transform() back into smaller pieces when compiling on landisk,miod2008-07-291-5/+66
| | | | | | to defeat gcc optimization bugs. Similar to what had been done on sparc64 in the past. ok millert@ deraadt@
* removemartynas2008-07-291-82/+0
|
* - man pages for fpclassify, isfinite, isinf, isnan, isnormal, signbit,martynas2008-07-293-15/+293
| | | | | | | | | | | | mostly from freebsd - also describe deprecated aliases for isinff, isnanf, finite, finitef - describe behavior on vax - add mlinks for finite, finitef, isfinite, isinf, isinff, isnan, isnanf, isnormal, signbit - add man pages for isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered; from freebsd looked over by jmc@, it's better for him to work on when they are in tree
* some SEE ALSO fixes;jmc2008-07-282-7/+7
|
* man page bits for new malloc; ok jmc@otto2008-07-281-43/+33
|
* Update to tzcode2008e from elsie.nci.nih.govmillert2008-07-281-4/+7
|
* document which functions use which YP maps; Ingo Schwarzederaadt2008-07-282-6/+27
|
* Almost complete rewrite of malloc, to have a more efficient dataotto2008-07-281-1443/+835
| | | | | | structure of tracking pages returned by mmap(). Lots of testing by lots of people, thanks to you all. ok djm@ (for a slighly earlier version) deraadt@
* fix apps that use isinff, isnanf; use ieee 754 mi code, as allmartynas2008-07-253-119/+2
| | | | other ieee fp archs do; pointed out by theo. tested by theo
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-2466-1177/+709
| | | | | | | | | | | | | | | | - is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc
* Avoid an occasional double free in getpwent() which corrupted memory. Itderaadt2008-07-231-6/+2
| | | | | | happened only in the case of a + record indicating to use YP, but with ypbind not actually running. Problem found by pyr; solution found with millert ok millert pyr
* clear sign bit, instead of comparing to zero and setting x=-x.martynas2008-07-232-41/+34
| | | | | | | fixes special cases, such as neg. zero, and makes C99 conformant ok miod@, millert@ since there's nothing else in arm's fabs.c, replace 4-clause license w/ the one at /usr/share/misc/license.template
* use arc4random_uniform(); ok djm millertderaadt2008-07-221-2/+2
|
* - handle sign of negative zero. use sign dtoa setsmartynas2008-07-101-11/+6
| | | | | | - remove 'value < 0' cruft, dtoa already clears sign bit for us discussed with, and tested by phessler@ ok millert@, who noticed to remove now-unused variable, and phessler@
* oops, fix getpwent() use of wrong buffersderaadt2008-07-061-3/+4
| | | | found by alexander.schrijver
* document that mquery(2) is non-standard; hint and ok deraadt@otto2008-06-301-2/+6
|
* xref mqueryotto2008-06-301-2/+3
|
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-2642-343/+49
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* `Li' needs an argument;jmc2008-06-251-9/+5
|
* Change a very long selective list of all architectures which do IEEE intoderaadt2008-06-251-10/+6
| | | | | | just handling the vax different (just vax for now, 'cause tahoe might even be too legacy for Miod) ok miod
* Implement _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX,millert2008-06-252-3/+37
| | | | and _SC_THREAD_SAFE_FUNCTIONS for sysconf(3). OK deraadt@
* Add _PW_BUF_LEN define and use it instead of hard-coding 1024 formillert2008-06-251-6/+6
| | | | the buffer size. OK deraadt@
* crank major because of two new interfacesderaadt2008-06-241-1/+1
|
* create a private getpwent()-like interface which does not walk the YPderaadt2008-06-242-16/+99
| | | | | | | groups map but instead tells us that it is there. then use this interface in getgrouplist(), and do a single lookup against netid.byname instead to get all the groups associated with that user ok kurt, testing by many others
* implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of thederaadt2008-06-243-472/+437
| | | | entire file. much help from kurt, and tested by many
* remove _thread_malloc_init prototypeotto2008-06-141-2/+1
|
* grammar fixes;jmc2008-06-131-3/+3
|
* document xdr_{u_}int64_t() functionsderaadt2008-06-132-3/+23
|
* remove _MALLOC_LOCK_INIT; major bump; ok deraadt@otto2008-06-134-18/+4
|
* implement xdr_int64_t, xdr_u_int64_tsturm2008-06-131-1/+55
| | | | from NetBSD
* Add strtof() to libc, some ports seem to like it. Currently it's a simplelandry2008-06-133-9/+64
| | | | | | | call to strtod() with bounding check. Discussed with pyr@ and otto@ ok otto@ deraadt@
* document access(2) can return EPERM; noted by Tim van der Molen; ok millert@otto2008-06-101-1/+5
|
* add missing arg to .Fnotto2008-06-101-3/+3
|
* Update access(2) to have modern semantics with respect to X_OK andmillert2008-06-091-8/+16
| | | | | | the superuser. access(2) will now only indicate success for X_OK on non-directories if there is at least one execute bit set on the file. OK deraadt@ thib@ otto@
* fix an Xr, and use a more appropriate macro;jmc2008-06-091-4/+4
|
* arc4random_stir() does not use /dev/arandom anymore, but sysctl kern.arandomderaadt2008-06-081-4/+6
|
* olf support starts to die (easy stuff first); ok miodderaadt2008-06-041-3/+2
|
* fix math screwup that reintroduced a bias for upper_bounds in rangedjm2008-06-041-2/+2
| | | | | | | (2^30,2^31). Nothing in the tree yet requests random numbers bounded by this range. report jakob!deraadt; ok deraadt@
* fix a broken Xr;jmc2008-05-301-3/+4
|
* typo.sobrado2008-05-241-3/+3
|
* Use _C_LABEL when appropriate.miod2008-05-2112-38/+40
|
* Use _PROF_PROLOGUE insteaf of rolling our own.miod2008-05-211-4/+6
|