summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/6.2.0_cvscvs2svn2007-01-111763-1764/+1764
| | | | | | 'RELENG_6_2_0_RELEASE'. This commit was manufactured to restore the state of the 6.2-RELEASE image.
* MFC: 1.7 (1.6.8.1)Marius Strobl2006-12-281-9/+10
| | | | | | | | | | | | | | Fix a typo in __fpu_ftox() that caused long double to long (and long long) conversion of negative numbers to always result in -1. While at it, rearrange the nearby comment so it fits in 80 chars per line, like the rest of this file does. PR: 107130 Approved by: re (bmah) Committed from: 23C3 Notes: svn path=/releng/6.2/; revision=165587
* MFC: Merge BIND9 9.3.3 into main chunk.Hajimu UMEMOTO2006-12-236-25/+22
| | | | | | | | | | | | | | | include/arpa/nameser_compat.h: 1.6 lib/libc/inet/inet_cidr_ntop.c: 1.1.1.2 lib/libc/inet/inet_net_ntop.c: 1.3 lib/libc/isc/eventlib_p.h: 1.4 lib/libc/resolv/mtctxres.c: 1.3 lib/libc/resolv/res_init.c: 1.4 lib/libc/resolv/res_send.c: 1.5 Approved by: re (kensmith) Notes: svn path=/releng/6.2/; revision=165480
* MFC: Document that kern.ipc.nsfbufs can be 0 on some arch'es.Yaroslav Tykhiy2006-12-211-2/+19
| | | | | | | Approved by: re (bmah) Notes: svn path=/releng/6.2/; revision=165437
* MFC:Sam Lawrance2006-11-072-4/+18
| | | | | | | | | | | | | | Document return values for res_query and res_search. h_errno is not an extern int, just a macro providing an integer lvalue. PR: doc/50573 Submitted by: Ronald F.Guilmette <rfg at monkeys.com> Reviewed by: trhodes Approved by: re (bmah) Notes: svn path=/stable/6/; revision=164074
* MFC:Tom Rhodes2006-11-032-4/+8
| | | | | | | | | | | | | | o Note the value from getenv() should not be modified by applications[1]; o getenv.3: Put "is" on a line with other words. [2] o getobjformat.3: "takes precedence over" is not an envrionment variable. [2] [1]: PR: 60544 Reviewed by: ru [2]: PR: 75545 Submitted by: n-kogane@syd.odn.ne.jp Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163938
* MFC rev. 1.4, 1.5.Konstantin Belousov2006-10-301-1/+1
| | | | | | | | | Remove the const qualifier from ap argument for __v2printf. Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=163786
* MFC revs. 1.33, 1.34: try to explain what the slow device is.Maxim Konovalov2006-10-291-3/+5
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163770
* MFC rev. 1.13: fix SIGCONT special case description similarMaxim Konovalov2006-10-291-2/+2
| | | | | | | | | to rev. 1.22 kill.2. Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163766
* MFC 1.33:Simon L. B. Nielsen2006-10-291-1/+1
| | | | | | | | | | | Minor markup fix: A comma should be seperated by space from macro argument. This resulted in "pwritev,()" instead of the intended "pwritev()," in the output. Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163764
* MFC 1.4: Retransmission timeouts should be based on which attemptHajimu UMEMOTO2006-10-271-6/+7
| | | | | | | | | | it is to the nameserver and not the nameserver itself. Approved by: re (hrs) Obtained from: BIND 9.3.3rc2 Notes: svn path=/stable/6/; revision=163715
* MFC: 1.7: Add missing comma.Ruslan Ermilov2006-10-161-1/+1
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163428
* MFC: 1.22: Some word smithing.Ruslan Ermilov2006-10-161-15/+15
| | | | | | | | PR: docs/54451 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163424
* MFC: 1.47: Use normal parentheses.Ruslan Ermilov2006-10-161-5/+5
| | | | | | | | PR: docs/84549 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163421
* MFC: 1.10: Don't say "rightmost" when referring to the least significant bit.Ruslan Ermilov2006-10-161-4/+5
| | | | | | | | PR: docs/94803 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163420
* MFC More accurately document the implementation details of internal storage.Ruslan Ermilov2006-10-162-21/+23
| | | | | | | | PR: docs/82508 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163417
* MFC: 1.122: Link select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).Ruslan Ermilov2006-10-161-0/+2
| | | | | | | | PR: docs/57974 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163416
* MFC: Document S_IRWXU and permission bits for group/other.Ruslan Ermilov2006-10-161-2/+11
| | | | | | | | PR: docs/57153 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163415
* MFC: 1.21: Document what "msgsz" actually means.Ruslan Ermilov2006-10-161-4/+9
| | | | | | | | PR: docs/101145 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=163413
* MFC rev. 1.36: don't fseek() on closed file.Maxim Konovalov2006-10-081-2/+2
| | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=163122
* MFC r1.9: Correct usage example.Ceri Davies2006-10-071-1/+1
| | | | | | | Approved by: re (bmah) Notes: svn path=/stable/6/; revision=163078
* MFC 1.13-1.15Andrey A. Chernov2006-09-251-24/+7
| | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=162636
* MFC rev. 1.20Martin Blapp2006-09-231-1/+1
| | | | | | | | | | Fix unpaired sigblock which possibly leaves the process with all signals blocked. Approved by: re Notes: svn path=/stable/6/; revision=162576
* MFC: Use better Korean translation for `trap'.Jung-uk Kim2006-09-112-6/+6
| | | | | | | Approved by: re (bmah) Notes: svn path=/stable/6/; revision=162220
* MFC:Ruslan Ermilov2006-09-081-4/+13
| | | | | | | | - bring alloca(3) manpage up with reality - stop using alloca(3) in sysctl(8) Notes: svn path=/stable/6/; revision=162145
* MFC TLS variant I fixes.Marcel Moolenaar2006-09-021-47/+36
| | | | Notes: svn path=/stable/6/; revision=161919
* MFC TLS fixes.Marcel Moolenaar2006-09-021-2/+1
| | | | Notes: svn path=/stable/6/; revision=161911
* MFC revision 1.43:Ceri Davies2006-09-021-2/+11
| | | | | | | Note that the system only allows a maximum of kern.kq_calloutmax timers. Notes: svn path=/stable/6/; revision=161899
* MFC TLS fixes.Marcel Moolenaar2006-09-021-2/+2
| | | | Notes: svn path=/stable/6/; revision=161854
* MFC 1.37 + 1.38:Poul-Henning Kamp2006-09-011-3/+3
| | | | | | | | | Save errno before trying mutex lock. Properly return length of rendered characters to printf code. Notes: svn path=/stable/6/; revision=161814
* MFC rev. 1.20: s/shmid_ds/msqid_ds/.Maxim Konovalov2006-08-161-1/+1
| | | | Notes: svn path=/stable/6/; revision=161348
* MFC the most visible bits of the corrections by Darren Pilgrim:Yaroslav Tykhiy2006-08-121-1/+1
| | | | | | | | | | src/games/fortune/datfiles/fortunes 1.224 src/lib/libc/sys/kse.2 1.18 src/share/doc/papers/timecounter/timecounter.ms 1.4 src/share/man/man4/devctl.4 1.5 Notes: svn path=/stable/6/; revision=161254
* MFC revision 1.12:Thomas Quinot2006-08-111-3/+3
| | | | | | | | | | | Fix a stub function (pthread_cond_wait) so that is has the correct number of arguments. Fixes some cases of seg faults due to the actual pthread_cond_wait being called with a bogus mutex pointer. Notes: svn path=/stable/6/; revision=161215
* MFC 1.3: Check if the filedes of kevent is expected one.Hajimu UMEMOTO2006-08-071-0/+4
| | | | | | | | | | Though our old resolver opened just one socket, BIND9's resolver may open more than one sockets. And, BIND9's resolver doesn't close the socket on timeout. So, we need this check. Notes: svn path=/stable/6/; revision=161049
* MFC 1.3: _close() should be called instead of close() here.Hajimu UMEMOTO2006-08-071-2/+6
| | | | Notes: svn path=/stable/6/; revision=161048
* MFC 1.85: do not overload the port number on to the return value ofHajimu UMEMOTO2006-07-301-8/+9
| | | | | | | str2number(). this could result in an unexpected code path. Notes: svn path=/stable/6/; revision=160831
* MFC 1.59, 1.60:Hajimu UMEMOTO2006-07-291-89/+161
| | | | | | | | | - draft-ietf-ipngwg-icmp-namelookups-09 - make it compilable - stop use of mutex lock in ICMP lookup. Notes: svn path=/stable/6/; revision=160807
* MFC 1.81-1.83:Hajimu UMEMOTO2006-07-291-64/+43
| | | | | | | | | | | | - clean-up: rewrote explore_null and explore_numeric without using sentinel. we do not need it since we make (at most) a single addrinfo entry in these cases. - RFC3493 requires use of inet_aton for AF_INET. - simplification in explore_numeric: unified the post-process with GET_AI and GET_PORT. Commented on an impossible case. Notes: svn path=/stable/6/; revision=160806
* MFC rev. 1.35: complete fix for large group lines parsing.Maxim Konovalov2006-07-281-4/+6
| | | | Notes: svn path=/stable/6/; revision=160790
* MFC 1.84: remove obsolete comments.Hajimu UMEMOTO2006-07-251-8/+0
| | | | Notes: svn path=/stable/6/; revision=160673
* MFC rev. 1.25Konstantin Belousov2006-07-211-2/+2
| | | | | | | | | | | Document new mincore behaviour, the mincore(2) returns ENOMEM when requested range is not fully mapped. Reminded by: pjd Approved by: pjd (mentor) Notes: svn path=/stable/6/; revision=160539
* MFC 1.31: Use a prototype for res_init().Stefan Farfeleder2006-07-201-1/+1
| | | | Notes: svn path=/stable/6/; revision=160520
* Fix typo, error not present in HEAD.Christian Brueffer2006-07-181-1/+1
| | | | | | | Submitted by: Jilles Tjoelker Notes: svn path=/stable/6/; revision=160470
* MFC:Hajimu UMEMOTO2006-07-1766-8602/+1636
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the resolver in libc to BIND9's one. - make reentrant version of netdb functions glibc style API, and expose them to outside of libc. - make netdb functions NSS friendly. include/Makefile 1.261 include/arpa/inet.h 1.26 include/arpa/nameser.h 1.18 include/arpa/nameser_compat.h 1.5 include/netdb.h 1.40-1.42 include/res_update.h 1.1 include/resolv.h 1.29-1.30 lib/libc/Makefile 1.64 lib/libc/include/isc/eventlib.h 1.1.1.1 lib/libc/include/port_after.h 1.1-1.2 lib/libc/include/port_before.h 1.1 lib/libc/include/resolv_mt.h 1.1.1.1 lib/libc/inet/Makefile.inc 1.1 lib/libc/inet/inet_addr.c 1.1.1.1, 1.2 lib/libc/inet/inet_cidr_ntop.c 1.1.1.1 lib/libc/inet/inet_cidr_pton.c 1.1.1.1, 1.2 lib/libc/inet/inet_lnaof.c 1.1.1.1, 1.2 lib/libc/inet/inet_makeaddr.c 1.1.1.1, 1.2 lib/libc/inet/inet_net_ntop.c 1.1.1.1, 1.2 lib/libc/inet/inet_net_pton.c 1.1.1.1, 1.2 lib/libc/inet/inet_neta.c 1.1.1.1, 1.2 lib/libc/inet/inet_netof.c 1.1.1.1, 1.2 lib/libc/inet/inet_network.c 1.1.1.1, 1.2 lib/libc/inet/inet_ntoa.c 1.1.1.1, 1.2 lib/libc/inet/inet_ntop.c 1.1.1.1, 1.2 lib/libc/inet/inet_pton.c 1.1.1.1, 1.2 lib/libc/inet/nsap_addr.c 1.1.1.1, 1.2 lib/libc/isc/Makefile.inc 1.1 lib/libc/isc/ev_streams.c 1.1.1.1, 1.2 lib/libc/isc/ev_timers.c 1.1.1.1, 1.2 lib/libc/isc/eventlib_p.h 1.1.1.1, 1.2 lib/libc/nameser/Makefile.inc 1.1 lib/libc/nameser/ns_name.c 1.1.1.1 lib/libc/nameser/ns_netint.c 1.1.1.1 lib/libc/nameser/ns_parse.c 1.1.1.1 lib/libc/nameser/ns_print.c 1.1.1.1, 1.2 lib/libc/nameser/ns_samedomain.c 1.1.1.1, 1.2 lib/libc/nameser/ns_ttl.c 1.1.1.1 lib/libc/net/Makefile.inc 1.58 lib/libc/net/getaddrinfo.c 1.74, 1.77-1.78 lib/libc/net/gethostbydns.c 1.55-1.57 lib/libc/net/gethostbyht.c 1.24-1.26 lib/libc/net/gethostbyname.3 1.35 lib/libc/net/gethostbynis.c 1.26-1.28 lib/libc/net/gethostnamadr.c 1.29-1.30, 1.32 lib/libc/net/getnameinfo.c 1.18 lib/libc/net/getnetbydns.c 1.32-1.33 lib/libc/net/getnetbyht.c 1.17-1.18 lib/libc/net/getnetbynis.c 1.20-1.21 lib/libc/net/getnetnamadr.c 1.22 lib/libc/net/getproto.c 1.5 lib/libc/net/getprotoent.c 1.7 lib/libc/net/getprotoname.c 1.5 lib/libc/net/getservbyname.c 1.8 lib/libc/net/getservbyport.c 1.8 lib/libc/net/getservent.c 1.21 lib/libc/net/name6.c 1.56-1.57 lib/libc/net/netdb_private.h 1.10-1.11, 1.13 lib/libc/net/res_config.h 1.9 lib/libc/net/res_mkupdate.c 1.7-1.8 lib/libc/net/res_update.c 1.8-1.9 lib/libc/resolv/Makefile.inc 1.1 lib/libc/resolv/h_errno.c 1.1 lib/libc/resolv/herror.c 1.1.1.1, 1.2 lib/libc/resolv/mtctxres.c 1.1.1.1, 1.2 lib/libc/resolv/res_comp.c 1.1.1.1, 1.2 lib/libc/resolv/res_data.c 1.1.1.1, 1.2-1.3 lib/libc/resolv/res_debug.c 1.1.1.1, 1.2 lib/libc/resolv/res_debug.h 1.1.1.1 lib/libc/resolv/res_init.c 1.1.1.1, 1.2 lib/libc/resolv/res_mkquery.c 1.1.1.1, 1.2 lib/libc/resolv/res_private.h 1.1.1.1 lib/libc/resolv/res_query.c 1.1.1.1, 1.2-1.3 lib/libc/resolv/res_send.c 1.1.1.1, 1.2 lib/libc/resolv/res_state.c 1.1-1.2 Tested by: nork Notes: svn path=/stable/6/; revision=160429
* MFC manual for sigwaitinfo and sigtimedwait syscalls.David Xu2006-07-132-3/+2
| | | | | | | PR: doc/90711 Notes: svn path=/stable/6/; revision=160324
* MFC rev. 1.4.Konstantin Belousov2006-07-051-2/+3
| | | | | | | | | | | Replace absolute addressing in the call instructions with position-independend calls. This eliminates TEXTREL from libc, making its text segment relocatable. PR: i386/85242 Approved by: kan (mentor) Notes: svn path=/stable/6/; revision=160110
* MFC rev. 1.34: record a file offset for a last successfully parsedMaxim Konovalov2006-07-011-0/+8
| | | | | | | | group file line. If the initial buffer size (1KB) for the given group line is not big enough, reset the offset. Notes: svn path=/stable/6/; revision=160061
* MFC:Poul-Henning Kamp2006-06-255-6/+26
| | | | | | | Extensible printf implementation compatible with GLIBC Notes: svn path=/stable/6/; revision=159920
* MFC 1.26 and bump date.Giorgos Keramidas2006-06-231-3/+48
| | | | | | | | | | | | | | | | | | | | | # * Document the fact that non-superusers cannot change file flags for # objects with SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK. # * Document that non-superusers cannot set or clear any SF_* flag # (setting fails with EPERM, clearing is silently ignored). # * Document that superusers cannot change any flag if one of # SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK is set and securelevel is # greater than 0. # * Document SF_SNAPSHOT and note that it is maintained by the # system and is, for this reason, impossible to set to clear by # any user. # # PR: docs/33877 # Submitted by: harti # Help by: George Marsellis <gam9478@njit.edu> # MFC after: 1 week Notes: svn path=/stable/6/; revision=159892
* The malloc(3) manual page claim the options 'J' and 'Z' imply 'R'Giorgos Keramidas2006-06-201-7/+2
| | | | | | | | | | option, but this is not true for RELENG_6. PR: docs/99231 Submitted by: Dan Lukes <dan@obluda.cz> Notes: svn path=/stable/6/; revision=159815