summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Changed the clnt_perror string in yp_all because it was saying theJim Pirzyk2001-05-231-1/+1
| | | | | | | | | | | | error came from yp_next PR: bin/13254 Submitted by: Jim Pirzyk Reviewed by: jkh MFC after: 1 week Notes: svn path=/head/; revision=77044
* Rename (after a repo-copy) some mount(8) programs:Ruslan Ermilov2001-05-232-2/+2
| | | | | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs Notes: svn path=/head/; revision=77042
* Fix the range of the returned value.Ruslan Ermilov2001-05-231-1/+1
| | | | | | | | PR: docs/27446 Submitted by: Tadayuki OKADA <tadayuki@mediaone.net> Notes: svn path=/head/; revision=77039
* Correct error message of an example.Hajimu UMEMOTO2001-05-211-1/+1
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=76925
* Document ECONNREFUSED.Archie Cobbs2001-05-201-0/+4
| | | | | | | Submitted by: Richard Hodges <rh@matriplex.com> Notes: svn path=/head/; revision=76864
* The function clnt_dg_call(), which is used for UDP RPC calls, couldIan Dowse2001-05-181-4/+2
| | | | | | | | | | | | accidentally clobber the server address if a stray packet arrived at the client port. This would result in any further retransmits going to the wrong address. For now, fix this by not saving the source address of the reply; this matches the pre-tirpc behaviour. Notes: svn path=/head/; revision=76824
* Suppress compiler warning by adding a type cast.Ruslan Ermilov2001-05-171-4/+2
| | | | Notes: svn path=/head/; revision=76748
* ... but we do provide .St -isoC-99, and it is not required to have theRuslan Ermilov2001-05-171-5/+1
| | | | | | | | | | | | | | history info as: : .Sh STANDARDS If the command, library function or file adheres to a : specific implementation such as IEEE Std 1003.2 : (``POSIX.2'') or ANSI X3.159-1989 (``ANSI C'') this : should be noted here. If the command does not adhere : to any standard, its history should be noted in the : HISTORY section. Notes: svn path=/head/; revision=76729
* Unbreak world; _DIAGASSERT macro is not available in FreeBSD.Ruslan Ermilov2001-05-1621-57/+0
| | | | Notes: svn path=/head/; revision=76683
* mdoc(7) police: fix markup.Ruslan Ermilov2001-05-161-4/+5
| | | | Notes: svn path=/head/; revision=76673
* Introduce getprogname(3) and setprogname(3) library calls. These getDima Dorfman2001-05-154-3/+123
| | | | | | | | | | | | and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD Notes: svn path=/head/; revision=76653
* adapt to FreeBSD.Takuya SHIOZAKI2001-05-152-4/+20
| | | | | | | | | | | | | - enable locale-insensitive functions of wchar.h: wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c wcsstr.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c XXX: wcswidth.c is not enabled yet. - enable wmemchr(3) man page. XXX: FreeBSD lacks .St -isoC99 and .St -isoC-amd1. Notes: svn path=/head/; revision=76637
* mdoc(7) police: sort xrefs.Ruslan Ermilov2001-05-151-1/+1
| | | | Notes: svn path=/head/; revision=76620
* Add new, from scratch implementation of hsearch() et al that actually works.Ruslan Ermilov2001-05-155-113/+395
| | | | | | | | Obtained from: NetBSD MFC after: 1 month Notes: svn path=/head/; revision=76613
* initial import of locale insensitive wcs* and wmem* functions.Takuya SHIOZAKI2001-05-1522-0/+1484
| | | | | | | Obtained from: NetBSD and Citrus. Notes: svn path=/head/; revision=76612
* mdoc(7) police: add RETURN VALUES section.Ruslan Ermilov2001-05-141-8/+13
| | | | | | | | PR: docs/27161 Submitted by: Kazuhiro KONDOU <k-fuji@za2.so-net.ne.jp> Notes: svn path=/head/; revision=76583
* Extract the path from an AF_LOCAL sockaddr_un in a way that correctlyIan Dowse2001-05-121-2/+5
| | | | | | | | | | | | | | terminates the string in all cases, based on code from netstat(1). The path in a sockaddr_un is terminated either by a '\0', or by the end of the sockaddr as defined by sun_len. Previously, the code could write the "safety" '\0' beyond the end of the sockaddr (sockaddr_un's need only be large enough to store sun_len bytes), and writing into the the supplied sockaddr is bad anyway. Notes: svn path=/head/; revision=76523
* gethostbyname2() can't do AF_INET6 lookups over NIS.Alexander Langer2001-05-081-0/+7
| | | | | | | | | getaddrinfo(3) must be used. Submitted by: ume Notes: svn path=/head/; revision=76369
* Correct prototype (entry_p -> *entry_p)Chris D. Faulhaber2001-05-071-1/+1
| | | | | | | Submitted by: Alex Zepeda <jazepeda@pacbell.net> Notes: svn path=/head/; revision=76346
* add nl_langinfo(3)Alexey Zelkin2001-05-031-2/+2
| | | | Notes: svn path=/head/; revision=76248
* Eliminate BUGS section. No one of listed bugs is applicable to FreeBSD-currentAlexey Zelkin2001-05-031-25/+0
| | | | | | | anymore. Notes: svn path=/head/; revision=76247
* add manpage for nl_langinfo(3)Alexey Zelkin2001-05-031-0/+90
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=76246
* * include/elf.h has been repo copied to include/elf-hints.h, and it noDavid E. O'Brien2001-05-021-1/+2
| | | | | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers. Notes: svn path=/head/; revision=76224
* Compensate for header dethreading.Mark Murray2001-05-015-0/+12
| | | | Notes: svn path=/head/; revision=76178
* Add getaddrinfo(3) to the "SEE ALSO" list.Archie Cobbs2001-04-271-0/+1
| | | | Notes: svn path=/head/; revision=76076
* Grammar nit.Ruslan Ermilov2001-04-271-1/+1
| | | | Notes: svn path=/head/; revision=76061
* Document acl_get_entry(3)Chris D. Faulhaber2001-04-261-0/+4
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=76055
* The function __rpc_uaddr2taddr_af() converts an RPC "universalIan Dowse2001-04-261-0/+2
| | | | | | | | | | | | address" string to a netbuf/sockaddr "transport address". In the case of an AF_LOCAL address, it was missing the code to actually point the netbuf at the newly allocated sockaddr_un, so the caller ended up with a netbuf containing junk. Submitted by: Martin Blapp <mb@imp.ch> Notes: svn path=/head/; revision=76044
* o Separate acl_t into internal and external representations asChris D. Faulhaber2001-04-2416-132/+373
| | | | | | | | | | | | | | required by POSIX.1e. This maintains the current 'struct acl' in the kernel while providing the generic external acl_t interface required to complete the ACL editing library. o Add the acl_get_entry() function. o Convert the existing ACL utilities, getfacl and setfacl, to fully make use of the ACL editing library. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75928
* Remove bogus assignments of libc syscall stub return values to errno;Thomas Moestl2001-04-243-3/+0
| | | | | | | | | | the stubs do errno assignments and return -1 in this case, so that errno would end up with this value. Approved by: rwatson Notes: svn path=/head/; revision=75924
* Add sranddev.3 to MLINKSAndrey A. Chernov2001-04-231-1/+1
| | | | Notes: svn path=/head/; revision=75864
* Add #include "un-namespace.h"Andrey A. Chernov2001-04-231-0/+1
| | | | Notes: svn path=/head/; revision=75863
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowAndrey A. Chernov2001-04-232-2/+2
| | | | | | | change of high word part too to produce more interesting seed distribution. Notes: svn path=/head/; revision=75862
* Fix directory reads of MNT_UNION mounts, where entries present in bothJoerg Wunsch2001-04-231-1/+2
| | | | | | | | | | layers would be displayed twice. PR: bin/26498 Submitted by: Olliver Fromme <olli@secnetix.de> Notes: svn path=/head/; revision=75860
* Add sranddev() since srand() is not vary much with seed, typical timeAndrey A. Chernov2001-04-232-1/+46
| | | | Notes: svn path=/head/; revision=75845
* mdoc(7) police: update referenced standard name.Ruslan Ermilov2001-04-181-1/+1
| | | | Notes: svn path=/head/; revision=75671
* mdoc(7) police: normalize .Nd.Ruslan Ermilov2001-04-1815-15/+15
| | | | Notes: svn path=/head/; revision=75670
* mdoc(7) police: fix markup.Ruslan Ermilov2001-04-181-9/+15
| | | | Notes: svn path=/head/; revision=75669
* mdoc(7) police: fix markup.Ruslan Ermilov2001-04-181-2/+6
| | | | Notes: svn path=/head/; revision=75661
* mdoc(7) police: use .Fx where appropriate.Ruslan Ermilov2001-04-1811-11/+23
| | | | Notes: svn path=/head/; revision=75660
* Correct a typo; prefered -> preferred.Kris Kennaway2001-04-171-1/+1
| | | | Notes: svn path=/head/; revision=75579
* Add fmtcheck(), a function for checking consistency of format stringKris Kennaway2001-04-173-2/+355
| | | | | | | | | | | | | | | | | | | | arguments where the format string is obtained from user data, or otherwise difficult to verify statically. Example usage: printf(fmtcheck(user_format, standard_format), arg1, arg2); checks the format string user_format for consistency (same number/order/ type of format operators) with standard_format. If they differ, standard_format is used instead to avoid potential crashes or security violations. Obtained from: NetBSD Reviewed by: -arch Notes: svn path=/head/; revision=75578
* mdoc(7) police: add missing .El call.Ruslan Ermilov2001-04-161-0/+1
| | | | Notes: svn path=/head/; revision=75544
* mdoc(7) police: fix markup.Ruslan Ermilov2001-04-161-5/+5
| | | | Notes: svn path=/head/; revision=75543
* Grammar police: "its", not "it's", is the possessive form of "it".Dima Dorfman2001-04-152-2/+2
| | | | Notes: svn path=/head/; revision=75531
* Make links from setresuid.2 to getresgid.2 and getresuid.2.Dima Dorfman2001-04-151-1/+1
| | | | Notes: svn path=/head/; revision=75530
* Document getresgid and getresuid calls.Dima Dorfman2001-04-151-2/+21
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=75529
* Correct a bogus cast in acl_get_qualifier() causing invalidChris D. Faulhaber2001-04-151-1/+1
| | | | | | | | | ID's to be stored in the ACL. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75526
* Add ``RETURN VALUES'' and ``ERRORS'' sections since getpgid(2) canDima Dorfman2001-04-141-1/+18
| | | | | | | | | fail. Also fix a minor grammar nit (it's -> its). PR: 26520 Notes: svn path=/head/; revision=75502
* Add acl_get_perm_np(3), a non-portable function to check if aChris D. Faulhaber2001-04-133-0/+114
| | | | | | | | | | | permission is in a permission set, required for third-party applications such as Samba. Reviewed by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75492