summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/6.3.0_cvscvs2svn2008-01-151761-1762/+1762
| | | | | | 'RELENG_6_3_0_RELEASE'. This commit was manufactured to restore the state of the 6.3-RELEASE image.
* Fix issues which allow snooping on ptys. [08:01]Colin Percival2008-01-142-23/+25
| | | | | | | | | | | | Fix an off-by-one error in inet_network(3). [08:02] Security: FreeBSD-SA-08:01.pty Security: FreeBSD-SA-08:02.libc Approved by: re (kensmith) Thanks to: re@ for being so patient with us holding up the release Notes: svn path=/releng/6.3/; revision=175331
* MFC: Update posix_openpt(3) to handle 512 ptys.John Baldwin2007-12-181-2/+2
| | | | | | | Approved by: re (gnn) Notes: svn path=/releng/6.3/; revision=174730
* - Put __mb_sb_limit symbol back to libc to ease users' pain when upgradingRong-En Fan2007-11-261-0/+1
| | | | | | | | | | | | their 6-STABLE system. This is necessary because we have this symbol exported between 20071025 and 20071030. Binaries built during that perios will be broken after 602115. Requested by: many Approved by: re (kensmith) Notes: svn path=/releng/6.3/; revision=173925
* This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'.cvs2svn2007-11-241772-0/+312643
|\ | | | | | | Notes: svn path=/releng/6.3/; revision=173886
| * - Back out previous ctype(3) fix for UTF-8 locale due to forward ABIRong-En Fan2007-11-2110-56/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compatibility is still broken as we add new symbols to libc. Those symboles are __sbmaskrune, __sbistype, __sbtoupper and __sbtolower. The latter three are directly referred by binaries use ctype(3) family functions (see include/ctype.h for details). This means if a binary built on 6.3, it uses these symbols that are not available on older system. - As this has been in 6 for a month, I intentionally leave these symbols in libc but map them to original version. So binary built after 602113 will not be broken after this commit. - Bump __FreeBSD_version for this back-out PR: 116363 Discussed with: kris, kensmith Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=173794
| * MFC Add pathname to the linker_file structure.John Birrell2007-11-181-0/+5
| | | | | | | | Notes: svn path=/stable/6/; revision=173713
| * MFC rev 1.33 getaddrinfo.3Remko Lodder2007-11-111-6/+67
| | | | | | | | | | | | | | | | | | | | | | Document getaddrinfo(3)'s AI_ADDRCONFIG PR: docs/78357 Submitted by: Matthias Andree <matthias dot andree at gmx dot de> Patch by: asmodai Notes: svn path=/stable/6/; revision=173544
| * MFC minherit.2 -r 1.22-1.24Giorgos Keramidas2007-11-041-1/+3
| | | | | | | | Notes: svn path=/stable/6/; revision=173326
| * MFC ctype(3) fix for UTF-8 locale. See original commit log for details.Rong-En Fan2007-10-2410-20/+56
| | | | | | | | | | | | | | | | | | | | | | | | PR: 116363 Reported by: Petr Hroudny <petr.hroudny at gmail.com> Patched by: ache Reviewed by: i18n@ Approved by: re (kensmith) OK-ed by: portmgr Notes: svn path=/stable/6/; revision=172929
| * MFC:Sean Farley2007-10-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add fts_set_clientptr(3), fts_get_clientptr(3) and fts_get_stream(3) man page links to fts(3). src/lib/libc/gen/Makefile.inc: rev 1.127 -> 1.128 Approved by: wes Notes: svn path=/stable/6/; revision=172457
| * MFC:JINMEI Tatuya2007-09-281-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | ensure the head entry of addrinfo chain has non-NULL ai_canonname to be compliant with RFC3493. PR: standards/114910 Approved by: ume (mentor) lib/libc/net/getaddrinfo.c: 1.86 Notes: svn path=/stable/6/; revision=172366
| * MFC: 1.46: EVFILT_VNODE filtering isn't limited to UFS.Ruslan Ermilov2007-09-101-6/+1
| | | | | | | | Notes: svn path=/stable/6/; revision=172110
| * MFC rev 1.51:Simon L. B. Nielsen2007-08-251-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Set timeout for all NIS RPC requests to 1 second and not just for yp_next as revision 1.50 did. This should fix, or at least very much reduce the risk of, NIS timing out due to UDP packet loss for NIS functions. See also revision 1.50 for more details about the general problem. Notes: svn path=/stable/6/; revision=171976
| * MFC: rev. 1.28Christian Brueffer2007-07-171-4/+2
| | | | | | | | | | | | | | Take a sentence into the present by removing a reference to FreeBSD 3.0. Notes: svn path=/stable/6/; revision=171472
| * This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2007-07-041-0/+61
| | | | | | | | Notes: svn path=/stable/6/; revision=171220
| * MFC: rev. 1.11Christian Brueffer2007-06-231-2/+2
| | | | | | | | | | | | | | Catch up with the code. Notes: svn path=/stable/6/; revision=171010
| * Fix comma placement error in previous commit.Colin Percival2007-05-311-1/+1
| | | | | | | | Notes: svn path=/stable/6/; revision=170160
| * MFC:Mike Makonnen2007-05-221-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sys/sys/socket.h ver. 1.93 lib/libc/net/rthdr.c ver. 1.9 ---------------------------- date: 2007/04/19 15:48:16; author: mtm; state: Exp; lines: +4 -2 Make inet6_rth_* family of functions more compliant with RFC3542: 1. CMSG_NXTHDR(mhdr, cmsg) is supposed to dereference cmsg and return the next header in the chain. If cmsg is NULL it should return the first header, behaving essentially like CMSG_FIRSTHDR(). 2. inet6_rth_(space|init|add) should do basic checking on their input to verify that the number of headers (segments) is between 0 and 127 inclusive. Notes: svn path=/stable/6/; revision=169886
| * MFC 1.35:Pav Lucistnik2007-05-211-1/+9
| | | | | | | | | | | | | | Document RFTHREAD Notes: svn path=/stable/6/; revision=169817
| * MFC, the UNAME_ and OSVERSION environment over rides. This makesDoug Ambrisko2007-05-164-2/+53
| | | | | | | | | | | | | | easier to make a FreeBSD 6 chroot think it is that version. Notes: svn path=/stable/6/; revision=169627
| * MFC: r1.23Gabor Kovesdan2007-05-121-13/+4
| | | | | | | | | | | | | | Approved by: keramida (mentor) Notes: svn path=/stable/6/; revision=169509
| * MFC rev. 1.35 - remove MSG_PEEK from the description of the send(2)Peter Pentchev2007-05-041-1/+0
| | | | | | | | | | | | | | syscall; it is only relevant for incoming data. Notes: svn path=/stable/6/; revision=169244
| * MFC: 1.23: Swap "underflow"/"overflow" in the table header.Ruslan Ermilov2007-04-131-2/+2
| | | | | | | | Notes: svn path=/stable/6/; revision=168678
| * MFC 1.5-1.6: Correctly compare between two UUIDs accordingXin LI2007-04-121-17/+15
| | | | | | | | | | | | | | | | | | to specification found DCE 1.1. PR: 83107 Notes: svn path=/stable/6/; revision=168641
| * MFC rev. 1.20: add ENVIRONMENT section.Maxim Konovalov2007-03-231-1/+14
| | | | | | | | Notes: svn path=/stable/6/; revision=167841
| * MFC rev. 1.16: fix prototypes.Maxim Konovalov2007-03-161-3/+3
| | | | | | | | | | | | | | PR: docs/110012 Notes: svn path=/stable/6/; revision=167651
| * MFC fixes to regexp(3) from OpenBSD, this includes:Xin LI2007-03-152-14/+42
| | | | | | | | | | | | | | | | engine.c: 1.19+1.20 grot/tests: 1.3 Notes: svn path=/stable/6/; revision=167590
| * MFC:Bruce M Simpson2007-03-142-12/+135
| | | | | | | | | | | | | | | | | | AF_LINK support for getnameinfo(). Obtained from: NetBSD Notes: svn path=/stable/6/; revision=167563
| * Mark addr2ascii() and ascii2addr() clearly as being deprecated.Bruce M Simpson2007-03-141-1/+20
| | | | | | | | Notes: svn path=/stable/6/; revision=167562
| * MFC rev 1.38:Bruce M Simpson2007-03-131-5/+9
| | | | | | | | | | | | | | | | | | Document SO_ACCEPTCONN. Submitted by: Vlad GALU (with changes) Notes: svn path=/stable/6/; revision=167509
| * MFC: Don't reject file descriptors higher than FD_SETSIZE when usingJohn Baldwin2007-03-121-7/+5
| | | | | | | | | | | | | | kevent(2). Notes: svn path=/stable/6/; revision=167491
| * MFC src/lib/libc/Makefile (1.69) src/lib/libc/rpc/clnt_dg.c (1.19):Simon L. B. Nielsen2007-03-112-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable RPC exponential back-off for FreeBSD.org systems (IE. hidden behind _FREEFALL_CONFIG). This is done mainly to make NIS even more resistant to packet loss. This is not enabled by default for "normal" FreeBSD since it might cause the server providing the RPC service to be hit heavily with RPC traffic in case of problems. freefall.FreeBSD.org and hub.FreeBSD.org have been running with a patch similar to this for a couple of weeks. MFC after: 1 week Discussed with: peter Notes: svn path=/stable/6/; revision=167447
| * MFC 1.50:Simon L. B. Nielsen2007-03-111-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Bump _yplib_timeout limit from 10 to 20 seconds to better handle packet loss when talking to a NIS server. - Set 1 second retry timeout to further realistically handle UDP packet loss for yp_next packet bursts. If the packet hasn't come back within 1 second its rather unlikely to come back at all. There is still back-off mechanism in RPC so if there is another reason than packet loss for the lack of response within 1 second, the NIS server will not be totally bombarded with requests. This reduces the risk of NIS failing with: yp_next: clnt_call: RPC: Timed out considerably. This is mainly a problem if you have larger NIS maps (like at FreeBSD.org) since enumerations of the lists will cause a UDP packet bursts where a few packets being lost once in a while do happen. Discussed with: peter Problem mainly diagnosed by: peter Notes: svn path=/stable/6/; revision=167445
| * Fix license. Clause 4 is still required (UCB materiel).Bruce M Simpson2007-03-071-6/+5
| | | | | | | | | | | | | | | | Submitted by: rwatson Pointy hat to: bms Notes: svn path=/stable/6/; revision=167292
| * MFC rev 1.21:Bruce M Simpson2007-03-071-20/+104
| | | | | | | | | | | | | | | | Document protocol specific actions and return values. Use 2-clause FreeBSD license. Notes: svn path=/stable/6/; revision=167288
| * MFC rev 1.2:Olivier Houchard2007-02-261-0/+5
| | | | | | | | | | | | | | Provide definitions suitable for arm big-endian. Notes: svn path=/stable/6/; revision=167028
| * MFC: rev. 1.33 by joelChristian Brueffer2007-02-091-5/+2
| | | | | | | | | | | | | | Remove reference to T/TCP. Notes: svn path=/stable/6/; revision=166612
| * MFC: Document the acceptable values for the id parameter.Mike Pritchard2007-02-011-1/+16
| | | | | | | | Notes: svn path=/stable/6/; revision=166391
| * MFC: Extend the nsswitch to support Services, Protocols and RpcHajimu UMEMOTO2007-01-209-740/+1666
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | databases. include/nsswitch.h: 1.4 (partly) include/rpc/rpcent.h: 1.3, 1.4 lib/libc/net/Makefile.inc: 1.59 (partly) lib/libc/net/getproto.c: 1.6 (partly) lib/libc/net/getprotoent.c: 1.8 (partly) lib/libc/net/getprotoname.c: 1.6 (partly) lib/libc/net/getservbyname.c: 1.9 lib/libc/net/getservbyport.c: 1.9 lib/libc/net/getservent.c: 1.22 (partly) lib/libc/net/netdb_private.h: 1.12 lib/libc/rpc/getrpcent.c: 1.15 (partly) Notes: svn path=/stable/6/; revision=166151
| * MFC rev. 1.34, 1.36: markup nits, document SO_TIMESTAMP and SO_BINSTAMP.Maxim Konovalov2007-01-181-4/+53
| | | | | | | | Notes: svn path=/stable/6/; revision=166089
| * MFC 1.25: document recent change to return ECONNRESET for tcp socketsSam Leffler2007-01-081-1/+4
| | | | | | | | Notes: svn path=/stable/6/; revision=165893
| * MFC 1.58: Enable gmon on PowerPC.Marcel Moolenaar2007-01-071-2/+0
| | | | | | | | Notes: svn path=/stable/6/; revision=165847
| * MFC rev 1.21: Use the proper definition for the minbrk symbol.Marcel Moolenaar2007-01-071-1/+1
| | | | | | | | Notes: svn path=/stable/6/; revision=165846
| * MFC:Daniel Gerzo2006-12-291-7/+13
| | | | | | | | | | | | | | | | | | | | - Markup fixes. - clock_gettime is in time.h instead of sys/time.h Approved by: trhodes (mentor), keramida (mentor) Notes: svn path=/stable/6/; revision=165652
| * MFC: 1.7Marius Strobl2006-12-261-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 Notes: svn path=/stable/6/; revision=165550
| * MFC: Merge BIND9 9.3.3 into main chunk.Hajimu UMEMOTO2006-12-226-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 Notes: svn path=/stable/6/; revision=165464
| * MFC rev. 1.14: confstr(3) returns zero on errors, not -1.Maxim Konovalov2006-12-131-2/+2
| | | | | | | | Notes: svn path=/stable/6/; revision=165170
| * MFC rev. 1.31:Yaroslav Tykhiy2006-12-011-2/+19
| | | | | | | | | | | | | | | | Note that, thanks to the work by Alan Cox et al, some arch'es don't need sendfile() buffers any more. Notes: svn path=/stable/6/; revision=164786
| * MFC: 1.11 (automatically re-stir)Andrey A. Chernov2006-11-181-2/+4
| | | | | | | | Notes: svn path=/stable/6/; revision=164390