summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* strlen(3) returns size_t.ray2007-02-181-4/+6
| | | | OK itojun@.
* Remove duplicate code. No functional change.ray2007-02-171-39/+22
| | | | OK itojun@, moritz@, and millert@.
* Remove two mutexes by replacing getservbyname() and getservbyport()ray2007-02-152-32/+29
| | | | | | calls with their reentrant versions. OK millert@.
* correct a mistake concerning ifa_data;jmc2007-02-141-6/+5
| | | | found by Srebrenko Sehic, corrected by millert and claudio;
* remove size_t and int mixup. same as getaddrinfo.c 1.30 -> 1.31.itojun2007-02-141-5/+2
|
* Remove int pretending to be a size_t.ray2007-02-141-5/+2
| | | | OK millert@.
* get cheaper random bytes, less waste and no getpid() calls, which areotto2007-02-121-2/+3
| | | | done by arc4random(); ok millert@ deraadt@
* provide an libc internal interface to get random bytes, to be used by mallocotto2007-02-121-3/+12
| | | | to get random data without calling getpid(), ok millert@ deraadt@
* from FreeBSD via Jung (moorang at gmail), fix obvious typo in __fpu_ftox()jason2007-02-121-9/+9
| | | | which caused all negative numbers returned to be == -1.
* The buffer passed to getdirentries() must be at least as large asmillert2007-02-091-12/+6
| | | | | | the filesystem block size. Previously we used a constant (1024) rounded to the page size. Now we use the filesystem's block size, rounded up to the nearest page.
* improve example by showing how to skip invalid entries; ok millert@otto2007-02-091-2/+3
|
* grammar;jmc2007-02-091-3/+3
|
* g/c __DTF_READALL. It was a flag to the internal __opendir2() butmillert2007-02-081-4/+2
| | | | | is never set now that the unionfs support has been removed from readdir(). OK pedro@
* tweaks; ok millertjmc2007-02-071-4/+4
|
* sys/swap.h needs sys/param.h and sort while heresturm2007-02-071-2/+3
| | | | feedback and ok pedro
* fix some dodgy displays;jmc2007-02-061-2/+2
|
* Update to tzcode2007a. This adds support for 64bit time_t in casemillert2007-02-0618-400/+1090
| | | | | | | | | we need it in the future. All of our platforms currently have 32bit time_t types. This also extends the timezone data file format to support both 32bit and 64bit data. The 64bit data is located after the 32bit data so binaries linked with the older tzcode simply won't look at it. A version field in the file header is used to determine whether the data file is the old or extended format. OK miod@
* fix NAME, ok jmc@espie2007-02-031-2/+3
|
* Remove and simplify an impossible case (if *p = memchr(cp, 0, prec),ray2007-01-301-9/+7
| | | | | | | | | | | p - cp cannot be greater than prec). Prevent an integer overflow when printing a string with length greater than INT_MAX. Initial diff from millert@. OK millert@, beck@, and otto@.
* add an ENVIRONMENT section for TMPDIR;jmc2007-01-291-1/+15
| | | | | | from freebsd pr# 108346, from Anton Yuzhaninov much tweaked by otto and myself;
* Move paragraphs unrelated to bfname out of this list item.bluhm2007-01-251-2/+2
| | | | ok millert jmc
* Fix potential int overflow for printf(3) when passing in very largemillert2007-01-161-13/+50
| | | | values for the field width. Adapted from a diff by Christian Biere.
* sync with the code: int -> intmax_tsteven2007-01-161-3/+3
| | | | ok jmc@
* advertising clauses that can be droppedderaadt2007-01-081-6/+2
|
* fix mem leak, from NetBSD; ok miod@ kettenis@otto2007-01-081-1/+4
|
* RFC4291 declares that IPv6 numeric representation must have no more thanitojun2006-12-301-3/+8
| | | | 4 hex digits between colons. deraadt ok
* reword a sentence and kill some trailing whitespace;jmc2006-12-281-8/+8
|
* please gccderaadt2006-12-231-1/+2
|
* adapt to new two-level sensor sysctl framework; by Constantine A. Mureninderaadt2006-12-231-3/+16
|
* make more correct and less confusing; noted by David Madore;otto2006-12-212-9/+20
| | | | ok jmc@ deraadt@
* a failed mmap returns MAP_FAILED, not NULL. found while exercising paxotto2006-12-191-3/+3
| | | | in low-mem conditions; ok dim@
* Nuke GEMDOSFS. Unused part of unused atari port. Simplifieskrw2006-12-151-2/+1
| | | | | | | | MSDOSFS code. Eliminates -G option to mount_msdos. Nit detection by gwk@, tom@, jmc@. ok weingart@ tom@ thib@ dlg@ deraadt@
* tweak the text on deprecated functions, after some help from tom;jmc2006-12-092-12/+14
|
* various tweaks;jmc2006-12-091-18/+17
|
* various tweaks; my apologies to itojun for forgetting tojmc2006-12-091-26/+28
| | | | send him feedback for these
* switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by 3542).itojun2006-12-098-6/+972
| | | | | | | | | | the kernel still handles RFC2292 set/getsockopts, so that compiled binary has no trouble running. userland sees RFC3542 symbols only on header file so new code has to use RFC3542 API. bump libc shlib minor for function additions. tested on i386/amd64 by jmc, i386 by brad. checked by deraadt.
* return is not a function. (cosmetic)itojun2006-12-081-28/+28
|
* confstr() should return 0, not (size_t)-1, on errors; from Guy Harris.otto2006-12-042-6/+6
| | | | ok millert@ and jmc@ for the man page bit.
* try first mmap() allocation at pagesize, no need to re-mmap at every powerderaadt2006-11-261-1/+4
| | | | of 2 from 16 to pagesize(); ok otto
* introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).itojun2006-11-211-1/+9
| | | | deraadt ok. manpage nit by jmc.
* change semantics of ff01::/16 to interface local multicastitojun2006-11-172-5/+6
| | | | | | (to sync up with more recent IPv6 spec) ok from: deraadt mcbride
* Adjust ktrace(2) man page to recent changes in struct ktr_header.moritz2006-11-141-3/+3
| | | | OK tedu@
* Do not use fpu in the softfloat case. Fixes lib/libc/ieeefp/roundotto2006-11-141-1/+5
| | | | regress test; ok miod@
* missing ;otto2006-11-131-2/+2
|
* fix infinity, taking into account endianess. ok drahn@ miod@otto2006-11-121-2/+6
|
* bump minor, for void set_rpc_maxgrouplist(int);grunk2006-11-101-1/+1
| | | | ok deraadt@
* add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -ggrunk2006-11-103-3/+32
| | | | | | working again. help from millert@, ok deraadt@ pedro@
* Load the syscall number into the scratch register (r12) so that we dontdrahn2006-11-071-1/+3
| | | | need the copyin.
* Build the correct arch softfloat code.drahn2006-11-071-2/+2
|
* forgot to commit the new files for sh softfloat support.drahn2006-11-073-0/+147
|