summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/6.1.0_cvscvs2svn2006-05-061735-1736/+1736
| | | | | | 'RELENG_6_1_0_RELEASE'. This commit was manufactured to restore the state of the 6.1-RELEASE image.
* MFC rev. 1.33: document SO_NOSIGPIPE.Maxim Konovalov2006-05-011-1/+9
| | | | | | | Approved by: re (kensmith) Notes: svn path=/releng/6.1/; revision=158230
* MFC rev. 1.9: dbm_close(3) returns void.Maxim Konovalov2006-05-011-5/+1
| | | | | | | Approved by: re (kensmith) Notes: svn path=/releng/6.1/; revision=158224
* This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'.cvs2svn2006-04-301746-0/+304034
|\ | | | | | | Notes: svn path=/releng/6.1/; revision=158179
| * MFC: rev. 1.28Christian Brueffer2006-04-131-1/+3
| | | | | | | | | | | | | | | | | | Document that VIS_CSTYLE encodes space (040) as '\s'. Approved by: re (hrs) Notes: svn path=/stable/6/; revision=157713
| * MFC of import of OpenBSD's strtonum(3).Andre Oppermann2006-04-041-3/+4
| | | | | | | | | | | | | | Approved by: re Notes: svn path=/stable/6/; revision=157501
| * This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-04-042-0/+1006
| | | | | | | | Notes: svn path=/stable/6/; revision=157466
| * MFC:Hajimu UMEMOTO2006-03-292-7/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | - When res_send() fails, we should reserve an error code. - When res_nquerydomain() returns SERVFAIL, we should try next domain. src/lib/libc/net/getaddrinfo.c: 1.75, 1.76 src/lib/libc/resolv/res_query.c: 1.3 Approved by: re (hrs) Notes: svn path=/stable/6/; revision=157241
| * This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-03-2841-0/+10994
| | | | | | | | Notes: svn path=/stable/6/; revision=157238
| * MFC: rev. 1.30Christian Brueffer2006-03-091-1/+1
| | | | | | | | | | | | | | | | | | Remove a useless word. Approved by: re (hrs) Notes: svn path=/stable/6/; revision=156480
| * MFC: Handle the errors returned by res_querydomain() in same manner.Hajimu UMEMOTO2006-03-092-0/+40
| | | | | | | | | | | | | | | | | | | | lib/libc/net/getaddrinfo.c: 1.72 lib/libc/net/res_query.c: 1.32 Approved by: re (mux) Notes: svn path=/stable/6/; revision=156474
| * This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-03-081-0/+98
| | | | | | | | Notes: svn path=/stable/6/; revision=156438
| * MFC: Sync inet_net_pton() and inet_net_ntop() with latest BIND9'sHajimu UMEMOTO2006-03-063-85/+420
| | | | | | | | | | | | | | | | | | | | | | | | | | includes an IPv6 support. lib/libc/net/inet_net.3: 1.3 lib/libc/net/inet_net_ntop.c: 1.8 lib/libc/net/inet_net_pton.c: 1.10 Approved by: re (scottl) Notes: svn path=/stable/6/; revision=156353
| * MFC:Hajimu UMEMOTO2006-03-042-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | - Just query 'as is', if there is a trailing dot in the name. - Don't query 'as is' twice. lib/libc/net/getaddrinfo.c: 1.71 lib/libc/net/res_query.c: 1.31 Approved by: re (scottl) Notes: svn path=/stable/6/; revision=156298
| * MFC rev. 1.17:Yaroslav Tykhiy2006-02-261-5/+10
| | | | | | | | | | | | | | | | | | | | Tell the truth about a) how to get the first fileid, and b) what return values from kldstat(2) can be expected. Approved by: re (mux) Notes: svn path=/stable/6/; revision=156029
| * This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-02-221-0/+115
| | | | | | | | Notes: svn path=/stable/6/; revision=155929
| * MFC:Gleb Smirnoff2006-01-311-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | - In pipe() return the error returned by pipe_create(), rather then hardcoded ENFILES, which is incorrect. pipe_create() can fail due to ENOMEM. - Update manual page, describing ENOMEM return code. Reviewed by: arch Notes: svn path=/stable/6/; revision=155099
| * Fix a fat fingered revision number in my cvs diff.Tom Rhodes2006-01-271-1/+1
| | | | | | | | | | | | | | Not my month. Notes: svn path=/stable/6/; revision=154939
| * MFC:Tom Rhodes2006-01-271-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | Add a64l(), l64a(), and l64a_r() XSI extentions. These functions convert between a 32-bit integer and a radix-64 ASCII string. The l64a_r() function is a NetBSD addition. PR: 51209 (based on submission, but very different) Reviewed by: bde, ru Notes: svn path=/stable/6/; revision=154888
| * This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2006-01-262-0/+143
| | | | | | | | Notes: svn path=/stable/6/; revision=154861
| * MFC rmdir.2 1.14 and 1.15, and undelete.2 1.16 and 1.17Don Lewis2006-01-252-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | rmdir() fails with EINVAL if the last component of the path is "..". Document the previously undocumented behaviour of rmdir(".") returning EINVAL as required by POSIX and SUSv3. Bump the man page change date. undelete() fails with EINVAL if the last component of the path is "..". Bump the man page change date. Notes: svn path=/stable/6/; revision=154795
| * MFC: Return EINVAL if the tv_usec part of the utimes(2) argumentsDiomidis Spinellis2006-01-221-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | contains incorrect fractional second values (outside the range 0-999999). Prior to this change users could create files with values outside that range. Moreover, on 32-bit machines tv_usec offsets larger than 4.3s would result in an unnormalized AND wrong timestamp value, due to overflow. Notes: svn path=/stable/6/; revision=154682
| * MFC standardization of the ELF types and update of the ELF constants:Marcel Moolenaar2005-12-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/libc/gen/nlist.c:1.19 libexec/rtld-elf/rtld.c:1.108 libexec/rtld-elf/rtld.h:1.36 libexec/rtld-elf/alpha/reloc.c:1.21 libexec/rtld-elf/amd64/reloc.c:1.16 libexec/rtld-elf/ia64/reloc.c:1.16 libexec/rtld-elf/sparc64/reloc.c:1.11 share/man/man5/elf.5:1.32-1.33 sys/alpha/alpha/elf_machdep.c:1.20 sys/amd64/amd64/elf_machdep.c:1.24 sys/boot/common/bootstrap.h:1.42 sys/boot/common/load_elf.c:1.33 sys/boot/common/load_elf_obj.c:1.2 sys/boot/common/reloc_elf.c:1.2 sys/ia64/ia64/elf_machdep.c:1.21 sys/kern/link_elf.c:1.87 sys/kern/link_elf_obj.c:1.90 sys/sparc64/sparc64/elf_machdep.c:1.20 sys/sys/elf32.h:1.9-1.10 sys/sys/elf64.h:1.11-1.13 sys/sys/elf_common.h:1.16 sys/sys/elf_generic.h:1.7 sys/sys/imgact_elf.h:1.28 sys/sys/linker.h:1.40 usr.bin/elf2aout/elf2aout.c:1.10 usr.bin/elfdump/elfdump.c:1.13 usr.sbin/crunch/crunchide/exec_elf32.c:1.15 usr.sbin/kldxref/ef.c:1.9 usr.sbin/kldxref/ef.h:1.6 usr.sbin/kldxref/ef_amd64.c:1.3 usr.sbin/kldxref/ef_i386.c:1.3 usr.sbin/kldxref/ef_obj.c:1.4 usr.sbin/kldxref/ef_powerpc.c:1.3 usr.sbin/kldxref/ef_sparc64.c:1.4-1.5 Notes: svn path=/stable/6/; revision=153911
| * This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2005-12-308-0/+1663
| | | | | | | | Notes: svn path=/stable/6/; revision=153891
| * MFC following revisions to fix mutex memory leak for threaded program:David Xu2005-12-233-9/+19
| | | | | | | | | | | | | | | | | | local.h revision 1.28 fread.c revision 1.13 vfscanf.c revision 1.39 Notes: svn path=/stable/6/; revision=153675
| * MFC: Add MLINK for execvP(3).John Baldwin2005-12-051-1/+1
| | | | | | | | Notes: svn path=/stable/6/; revision=153123
| * MFC 1.46:Simon L. B. Nielsen2005-11-221-1/+0
| | | | | | | | | | | | | | | | Do not explicitly state how many bytes an argument list can be in the description of E2BIG, since it's now larger on some platforms. Notes: svn path=/stable/6/; revision=152689
| * MFC 1.55: The KAME's getipnodebyaddr() code honor theHajimu UMEMOTO2005-11-181-0/+1
| | | | | | | | | | | | | | | | | | MULTI_PTRS_ARE_ALIASES define also, but res_config.h was not included into libc/net/name6.c. So getipnodebyaddr() ignored the multiple PTRs. Notes: svn path=/stable/6/; revision=152563
| * MFC (by ume)Xin LI2005-10-082-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | refer RFC 3542 rather than RFC 2292bis. | | Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> | Obtained from: KAME | | Revision Changes Path | 1.8 +2 -2 src/lib/libc/net/ip6opt.c | 1.25 +1 -1 src/lib/libc/net/rcmd.3 (already merged) | 1.8 +1 -1 src/lib/libc/net/rthdr.c Approved by: re (scottl) Notes: svn path=/stable/6/; revision=151103
| * MFC (by ume)Xin LI2005-10-081-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed the validation code of routing header length in inet6_rth_getaddr(). | reported by Delia Kecskemeti <delia.kecskemeti__at__windriver.com> | | Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> | Obtained from: KAME | | Revision Changes Path | 1.7 +3 -4 src/lib/libc/net/rthdr.c Approved by: re (scottl) Notes: svn path=/stable/6/; revision=151102
| * MFC (by deischen)Xin LI2005-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make syslog() use the internal (non-cancellation point) _usleep(). | Prior to this it was calling the cancellable usleep() while holding | a lock. | | Revision Changes Path | 1.36 +1 -1 src/lib/libc/gen/syslog.c Approved by: re (kensmith) Ok'ed by: deischen, davidxu Notes: svn path=/stable/6/; revision=151093
| * MFC (by deischen)Xin LI2005-10-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make usleep() overridable by the thread libraries so they can provide | cancellation points. | | Noticed by: phk | | Revision Changes Path | 1.29 +4 -1 src/lib/libc/gen/usleep.c Approved by: re (kensmith) Ok'ed by: deischen, davidxu Notes: svn path=/stable/6/; revision=151092
| * MFC (by deischen)Xin LI2005-10-082-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add namespace #defines for usleep. | | Revision Changes Path | 1.17 +1 -0 src/lib/libc/include/namespace.h | 1.14 +1 -0 src/lib/libc/include/un-namespace.h Approved by: re (kensmith) Ok'ed by: deischen, davidxu Notes: svn path=/stable/6/; revision=151091
| * MFC of 1.34: fix innetgr() returning false positives and negatives when ↵Jonathan Chen2005-10-071-54/+63
| | | | | | | | | | | | | | | | | | | | reverse netgroup matching is used. PR: 35506 Approved by: re Notes: svn path=/stable/6/; revision=151071
| * MFC: 1.26-1.28Andrey A. Chernov2005-10-041-7/+7
| | | | | | | | | | | | | | Approved by: re Notes: svn path=/stable/6/; revision=150915
| * MFC: 1.23Andrey A. Chernov2005-10-041-3/+3
| | | | | | | | | | | | | | Approved by: re Notes: svn path=/stable/6/; revision=150912
| * MFC: rev. 1.2Christian Brueffer2005-09-241-1/+1
| | | | | | | | | | | | | | | | | | Use the correct function name as .Nm argument. Approved by: re (hrs) Notes: svn path=/stable/6/; revision=150503
| * MFC: a lot of manpage fixes from HEAD.Giorgos Keramidas2005-09-244-1/+15
| | | | | | | | | | | | | | Approved by: re (hrs) Notes: svn path=/stable/6/; revision=150500
| * Take a step closer to the release and turn off malloc debugging.Scott Long2005-09-181-2/+2
| | | | | | | | | | | | | | Approved by: re (implicit) Notes: svn path=/stable/6/; revision=150273
| * Merge umask.2:1.13 from HEAD to RELENG_6:Robert Watson2005-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | Add mkfifo(2) to the man page SEE ALSO list for umask(2) -- it's mentioned in the description. Approved by: re (hrs) Notes: svn path=/stable/6/; revision=150021
| * MFC: rev. 1.3 by tjrChristian Brueffer2005-09-101-1/+6
| | | | | | | | | | | | | | | | | | | | Add HISTORY section. Requested by: pav Approved by: re (hrs) Notes: svn path=/stable/6/; revision=149942
| * MFC: Added a sentence to explain what "span" means.Gary W. Swearingen2005-09-072-1/+15
| | | | | | | | | | | | | | | | PR: docs/84850 Approved by: re Notes: svn path=/stable/6/; revision=149859
| * MFC 1.28:Gleb Smirnoff2005-08-311-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Document the fact that the real length of listen queue is 1.5 more than the value of backlog argument. - Document the fact that a subsequent listen(2) calls on the listening socket change the backlog argument. - Note that current listen queue lengths can be queried using netstat(1). Submitted by: Igor Sysoev <is rambler-co.ru> Wording by: gnn Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=149669
| * MFC addition of memmem(3).Andre Oppermann2005-08-294-5/+8
| | | | | | | | | | | | | | | | Submitted by: Pascal Gloor <pascal.gloor at spale.com> Approved by: re (scottl) Notes: svn path=/stable/6/; revision=149596
| * This commit was manufactured by cvs2svn to create branch 'RELENG_6'.cvs2svn2005-08-292-0/+151
| | | | | | | | Notes: svn path=/stable/6/; revision=149575
| * MFC spelling fixes of several manpages.Giorgos Keramidas2005-08-187-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: re (kensmith) The merged revisions/files are: Revision Path 1.10 src/lib/libarchive/archive_entry.3 1.21 src/lib/libarchive/archive_read.3 1.8 src/lib/libautofs/libautofs.3 1.10 src/lib/libc/net/inet6_rth_space.3 1.8 src/lib/libc/posix1e/acl_get_entry.3 1.15 src/lib/libc/posix1e/mac.3 1.7 src/lib/libc/posix1e/mac_prepare.3 1.37 src/lib/libc/stdtime/strftime.3 1.16 src/lib/libc/sys/kse.2 1.8 src/lib/libc/sys/uuidgen.2 1.4 src/share/man/man4/man4.i386/acpi_ibm.4 1.6 src/share/man/man4/man4.i386/acpi_panasonic.4 1.40 src/share/man/man4/man4.i386/ep.4 1.6 src/share/man/man4/man4.i386/pbio.4 1.5 src/share/man/man4/man4.i386/snc.4 1.2 src/share/man/man4/man4.sparc64/openprom.4 1.4 src/share/man/man4/man4.sparc64/snd_audiocs.4 1.11 src/share/man/man4/witness.4 1.3 src/share/man/man5/devfs.conf.5 1.51 src/share/man/man9/ifnet.9 1.7 src/share/man/man9/printf.9 1.12 src/usr.bin/file2c/file2c.1 1.27 src/usr.bin/indent/indent.1 1.17 src/usr.bin/lockf/lockf.1 1.90 src/usr.bin/make/make.1 1.45 src/usr.bin/systat/systat.1 1.19 src/usr.bin/truss/truss.1 1.33 src/usr.bin/xinstall/install.1 1.11 src/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 1.4 src/usr.sbin/bluetooth/sdpd/sdpd.8 1.9 src/usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.3 1.36 src/usr.sbin/i4b/isdnd/isdnd.rc.5 1.53 src/usr.sbin/mtree/mtree.8 1.8 src/usr.sbin/ndiscvt/ndiscvt.8 1.13 src/usr.sbin/ntp/doc/ntpdc.8 1.26 src/usr.sbin/pppd/pppd.8 1.40 src/usr.sbin/syslogd/syslog.conf.5 1.5 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 Notes: svn path=/stable/6/; revision=149235
| * MFC: v1.45 intro.2, v1.40 help.commonJohn-Mark Gurney2005-08-041-4/+1
| | | | | | | | | | | | | | | | | | fix a couple documentation nits Approved by: re (hrs) Notes: svn path=/stable/6/; revision=148701
| * MFC 1.12: don't accept invalid form of an address like 1:2:3:4:5:6:7::8.Hajimu UMEMOTO2005-07-291-0/+4
| | | | | | | | | | | | | | Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=148526
| * MFC: 1.13Matthew N. Dodd2005-07-251-3/+4
| | | | | | | | | | | | | | | | | | Move initialization above point of first possible reference to avoid overwriting ty_status values set from the 'type' field. Approved by: re (scottl) Notes: svn path=/stable/6/; revision=148407
| * MFC: Remove padding for ABI compatibility of ai_addrlen memberHajimu UMEMOTO2005-07-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | from struct addrinfo. This change break ABI compatibility on 64 bit arch. include/netdb.h: 1.39 lib/libc/net/getaddrinfo.c: 1.70 Approved by: re (kensmith) Notes: svn path=/stable/6/; revision=148312