summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-05103-243/+113
| | | | ok guenther millert kettenis
* Cross-reference getfsstat(2); OK jmc@millert2012-12-051-2/+3
|
* no need for .Pp before lists;jmc2012-12-051-3/+2
|
* Rewritten posix_openpt manual that doesn't include any of the POSIXmillert2012-12-041-74/+49
| | | | text. OK deraadt@
* Use "path name" not "pathname".millert2012-12-041-3/+3
|
* Add two missing quad-precision emulation functions: _Qp_cmp and _Qp_cmpe. Atkettenis2012-12-031-9/+12
| | | | least the former is emitted by modern versions of GCC.
* Simple emulation of POSIX pty APIs posix_openpt(), ptsname(),millert2012-12-035-7/+415
| | | | | grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD. OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@
* Document a known bug in the DES crypt cipher implementation which we'restsp2012-11-301-2/+6
| | | | | | | | | | not going to fix in order to stay compatible with legacy password data. Nobody should use DES crypt anyway these days. See http://www.freebsd.org/security/advisories/FreeBSD-SA-12:02.crypt.asc for details about this bug. Discussed with deraadt and beck about half a year ago (I'm pruning Ms from my tree).
* - put the various options into the same order as those in resolv.hjmc2012-11-291-17/+38
| | | | | | | | | | | | | | | - sync RES_DEBUG with resolv.conf.5 - document RES_PRIMARY, but mark it unsupported (like we already do for RES_AAAONLY) - use the exact same text (about being enabled by default) for RES_RECURSE as for the other two defaults - document RES_INSECURE{1,2} - description lifted from resolv.conf.5 - document RES_NOALIASES - mostly sync the RES_USE_EDNS0 text with resolv.conf.5 - RES_USE_DNSSEC not documented for now. something to come... ok sthen
* struct ktr_header changed back in April 2012, rearranging the members,guenther2012-11-291-19/+16
| | | | | adding the thread ID, and switching the timestamp to a struct timespec. Correct the description of the EINVAL error.
* Change scandir()'s 'select' argument fromguenther2012-11-292-5/+13
| | | | | | | | | int (*)(struct dirent *) to int (*)(const struct dirent *) to match POSIX. ok millert@, ports check by naddy@
* Saner implementation for self-contained hostent and netent, and alsoeric2012-11-242-164/+177
| | | | a couple of fixes.
* knferic2012-11-2415-140/+141
|
* make separate structures for pack and unpackeric2012-11-248-61/+79
|
* Copy from the is* manpages the CAVEAT about the input range.guenther2012-11-232-4/+20
| | | | ok jmc@
* remove some useless Tn and double punctuation;jmc2012-11-191-16/+7
|
* RES_IGNTC is no longer ignored; ok sthenjmc2012-11-191-4/+4
|
* Ensure that the base provided to strtol(3) is between 2 and 36 inclusive,jsing2012-11-181-1/+12
| | | | | | or the special value of 0. ok deraadt@ otto@
* tweak previous;jmc2012-11-171-3/+3
|
* Clarify ss_sp's meaning and that alt stacks are per-threadguenther2012-11-171-34/+40
| | | | | | Correct EPERM vs EINVAL bits, mention posix and stack_t ok miod@ beck@
* raise() sends the signal to the current thread and only one error can occur.guenther2012-11-101-14/+13
| | | | ok jmc@
* Per POSIX, fix raise() and abort() to send the signal to the current thread.guenther2012-11-102-5/+9
| | | | | | Should make coredumps from abort() easier to debug too. ok kurt@
* Add a new malloc option 'U' => "Free unmap" that does the guarding/djm2012-11-022-18/+36
| | | | | | | | | | | | unmapping of freed allocations without disabling chunk randomisation like the "Freeguard" ('F') option does. Make security 'S' option use 'U' and not 'F'. Rationale: guarding with no chunk randomisation is great for debugging use-after-free, but chunk randomisation offers better defence against "heap feng shui" style attacks that depend on carefully constructing a particular heap layout so we should leave this enabled when requesting security options.
* Add the IP_DIVERTFL socket option on divert(4) sockets to controlbenno2012-10-211-2/+3
| | | | | | which packets (as in direction) of the traffic will be diverted through the divert socket. ok claudio@, henning@
* reword this sentence to avoid ambiguity;jmc2012-10-171-6/+6
| | | | | | original diff from dawe; guenther pointed out another interpretation while here, Fn -> Nm;
* Make sleep(3) and usleep(3) more consistent and remove extraneousmillert2012-10-162-67/+52
| | | | | | | historic implementation details that get in the way of readability. Our usleep(3) does not return EINVAL for values >= 1,000,000 but still mention it in CAVEATS since some do. Portions adapted from FreeBSD. OK jmc@
* For consistency with other OSes and ease of porting, makeguenther2012-10-121-8/+2
| | | | | | | | get{sock,peer}name() behave like accept() when the involved UNIX-domain socket isn't bound to an address, returning an AF_UNIX sockaddr with zero-length sun_path. Based on diff from robert@ and mikeb@ ok robert@ deraadt@
* add send(2) MSG_DONTWAIT support which enables us to choose nonblockingyasuoka2012-10-051-2/+4
| | | | | | | or blocking for each send(2) call. diff from UMEZAWA Takeshi ok bluhm
* tweak text for consistency; from artturi almjmc2012-10-031-3/+4
|
* last stage of rfc changes, using consistent Rs/Re blocks, and moving thejmc2012-09-2714-140/+151
| | | | references into a STANDARDS section;
* Remove the first paragraph. The first sentence is already stated in thebrad2012-09-261-7/+2
| | | | | | STANDARDS section and the second sentence is bogus. ok matthew@
* Make setenv(3) consistent with unsetenv(3), giving EINVAL if passedjeremy2012-09-232-20/+10
| | | | | | an empty name, NULL pointer, or a name containing an '=' character. OK millert@, guenther@
* uint32_t is the integer type defined in stdint.hespie2012-09-233-7/+7
| | | | | | | u_int32_t is historical BSD stuff. fix to match the manpage, namely #include <stdint.h> as a prerequisite. okay millert@
* remove some wacky Xo/Xc;jmc2012-09-161-3/+3
|
* remove tahoe-specific makefile machinery, no such hardware is known to bemiod2012-09-152-18/+2
| | | | | in working condition anymore (assuming there would be interest in running on it).
* Adapt ieee.h, gdtoa and libc to the fact that we don't have 80-bitmartynas2012-09-159-239/+3
| | | | floats on m88k. Agreed by miod@.
* Document that strtod functions accept INF, NAN, NAN(). From Michal Mazurek.martynas2012-09-151-3/+28
|
* specify the bounds of the dst to strlcat (both values were static andderaadt2012-09-131-2/+2
| | | | | equal, but it is more correct) from Michal Mazurek
* Update to tzcode2012f. Now that tzcode is in git there are no moemillert2012-09-1314-91/+56
| | | | SCCS ids. No actual code changes.
* Fix precedence bug (& has lower precedence than !=).pirofti2012-09-131-2/+2
| | | | | | Okay otto@. Found by Michal Mazurek <akfaew at jasminek dot net>, thanks!
* tweak optionseric2012-09-091-5/+10
|
* allow to disable some features at build timeeric2012-09-091-5/+48
|
* cleanup asr_debug.ceric2012-09-094-407/+222
|
* use proper macros for debug traces.eric2012-09-095-178/+89
|
* split asr_resolver.c into different files to overlay the libc/neteric2012-09-0813-562/+788
| | | | resolver implementation.
* add const where missingtedu2012-09-071-9/+9
|
* return value has no use; make it void.eric2012-09-071-23/+18
| | | | fix comment.
* unused variableseric2012-09-071-2/+2
|
* tmpname -> tempnam; from Artturi Almjmc2012-09-071-3/+3
|
* config parsing is done in one pass now. no need to use callback anymore.eric2012-09-061-11/+9
|