summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Document ECONNREFUSED.archie2001-05-201-0/+4
| | | | Submitted by: Richard Hodges <rh@matriplex.com>
* The function clnt_dg_call(), which is used for UDP RPC calls, couldiedowse2001-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.
* Suppress compiler warning by adding a type cast.ru2001-05-171-4/+2
|
* ... but we do provide .St -isoC-99, and it is not required to have theru2001-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.
* Unbreak world; _DIAGASSERT macro is not available in FreeBSD.ru2001-05-1621-57/+0
|
* mdoc(7) police: fix markup.ru2001-05-161-4/+5
|
* Introduce getprogname(3) and setprogname(3) library calls. These getdd2001-05-154-3/+123
| | | | | | | | | and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD
* adapt to FreeBSD.tshiozak2001-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.
* mdoc(7) police: sort xrefs.ru2001-05-151-1/+1
|
* Add new, from scratch implementation of hsearch() et al that actually works.ru2001-05-155-113/+395
| | | | | Obtained from: NetBSD MFC after: 1 month
* initial import of locale insensitive wcs* and wmem* functions.tshiozak2001-05-1522-0/+1484
| | | | Obtained from: NetBSD and Citrus.
* mdoc(7) police: add RETURN VALUES section.ru2001-05-141-8/+13
| | | | | PR: docs/27161 Submitted by: Kazuhiro KONDOU <k-fuji@za2.so-net.ne.jp>
* Extract the path from an AF_LOCAL sockaddr_un in a way that correctlyiedowse2001-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.
* gethostbyname2() can't do AF_INET6 lookups over NIS.alex2001-05-081-0/+7
| | | | | | getaddrinfo(3) must be used. Submitted by: ume
* Correct prototype (entry_p -> *entry_p)jedgar2001-05-071-1/+1
| | | | Submitted by: Alex Zepeda <jazepeda@pacbell.net>
* add nl_langinfo(3)phantom2001-05-031-2/+2
|
* Eliminate BUGS section. No one of listed bugs is applicable to FreeBSD-currentphantom2001-05-031-25/+0
| | | | anymore.
* add manpage for nl_langinfo(3)phantom2001-05-031-0/+90
| | | | Reviewed by: ru
* * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-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.
* Compensate for header dethreading.markm2001-05-015-0/+12
|
* Add getaddrinfo(3) to the "SEE ALSO" list.archie2001-04-271-0/+1
|
* Grammar nit.ru2001-04-271-1/+1
|
* Document acl_get_entry(3)jedgar2001-04-261-0/+4
| | | | Obtained from: TrustedBSD Project
* The function __rpc_uaddr2taddr_af() converts an RPC "universaliedowse2001-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>
* o Separate acl_t into internal and external representations asjedgar2001-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
* Remove bogus assignments of libc syscall stub return values to errno;tmm2001-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
* Add sranddev.3 to MLINKSache2001-04-231-1/+1
|
* Add #include "un-namespace.h"ache2001-04-231-0/+1
|
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowache2001-04-232-2/+2
| | | | change of high word part too to produce more interesting seed distribution.
* Fix directory reads of MNT_UNION mounts, where entries present in bothjoerg2001-04-231-1/+2
| | | | | | | layers would be displayed twice. PR: bin/26498 Submitted by: Olliver Fromme <olli@secnetix.de>
* Add sranddev() since srand() is not vary much with seed, typical timeache2001-04-232-1/+46
|
* mdoc(7) police: update referenced standard name.ru2001-04-181-1/+1
|
* mdoc(7) police: normalize .Nd.ru2001-04-1815-15/+15
|
* mdoc(7) police: fix markup.ru2001-04-181-9/+15
|
* mdoc(7) police: fix markup.ru2001-04-181-2/+6
|
* mdoc(7) police: use .Fx where appropriate.ru2001-04-1811-11/+23
|
* Correct a typo; prefered -> preferred.kris2001-04-171-1/+1
|
* Add fmtcheck(), a function for checking consistency of format stringkris2001-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
* mdoc(7) police: add missing .El call.ru2001-04-161-0/+1
|
* mdoc(7) police: fix markup.ru2001-04-161-5/+5
|
* Grammar police: "its", not "it's", is the possessive form of "it".dd2001-04-152-2/+2
|
* Make links from setresuid.2 to getresgid.2 and getresuid.2.dd2001-04-151-1/+1
|
* Document getresgid and getresuid calls.dd2001-04-151-2/+21
| | | | Reviewed by: ru
* Correct a bogus cast in acl_get_qualifier() causing invalidjedgar2001-04-151-1/+1
| | | | | | ID's to be stored in the ACL. Obtained from: TrustedBSD Project
* Add ``RETURN VALUES'' and ``ERRORS'' sections since getpgid(2) candd2001-04-141-1/+18
| | | | | | fail. Also fix a minor grammar nit (it's -> its). PR: 26520
* Add acl_get_perm_np(3), a non-portable function to check if ajedgar2001-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
* Add the remaining POSIX.1e ACL definitions:jedgar2001-04-131-3/+0
| | | | | | | ACL_UNDEFINED_TAG, ACL_UNDEFINED_ID, ACL_FIRST_ENTRY, ACL_NEXT_ENTRY Reviewed by: rwatson Obtained from: TrustedBSD Project
* Revamp acl_create_entry() so it actually works.jedgar2001-04-111-18/+1
| | | | Obtained from: TrustedBSD Project
* Correct the following defines to match the POSIX.1e spec:jedgar2001-04-111-6/+6
| | | | | | | | ACL_PERM_EXEC -> ACL_EXECUTE ACL_PERM_READ -> ACL_READ ACL_PERM_WRITE -> ACL_WRITE Obtained from: TrustedBSD
* To be consistent, use the __weak_reference macro from <sys/cdefs.h>deischen2001-04-105-37/+39
| | | | | | | | instead of #pragma weak to create weak definitions. This macro is improperly named, though, since a weak definition is not the same thing as a weak reference. Suggested by: bde
OpenPOWER on IntegriCloud