summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add the remaining POSIX.1e ACL definitions:Chris D. Faulhaber2001-04-131-3/+0
| | | | | | | | | | ACL_UNDEFINED_TAG, ACL_UNDEFINED_ID, ACL_FIRST_ENTRY, ACL_NEXT_ENTRY Reviewed by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75490
* Revamp acl_create_entry() so it actually works.Chris D. Faulhaber2001-04-111-18/+1
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75434
* Correct the following defines to match the POSIX.1e spec:Chris D. Faulhaber2001-04-111-6/+6
| | | | | | | | | | | ACL_PERM_EXEC -> ACL_EXECUTE ACL_PERM_READ -> ACL_READ ACL_PERM_WRITE -> ACL_WRITE Obtained from: TrustedBSD Notes: svn path=/head/; revision=75404
* To be consistent, use the __weak_reference macro from <sys/cdefs.h>Daniel Eischen2001-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 Notes: svn path=/head/; revision=75368
* Include <unistd.h> so that read(2) and write(2) don't cause warnings.Daniel Eischen2001-04-101-1/+2
| | | | Notes: svn path=/head/; revision=75367
* Fix a comment within a comment warning due to a missing "*/".Daniel Eischen2001-04-101-1/+1
| | | | Notes: svn path=/head/; revision=75366
* The maximum RPC message size was set at 8k for UDP. This is lowerIan Dowse2001-04-081-5/+6
| | | | | | | | | | | | | | | | | | than the default buffer size in the old RPC code (8800 bytes), and it could not be overriden by the application. This caused problems with CFS (/usr/port/security/cfs). Change this default back to UDPMSGSIZE (8800 bytes), but more importantly, allow applications to use larger message sizes for all protocols if desired. Choose an arbitrary maximum message size of 256k instead of using the default as the maximum (which is silly). Reported by: ache Reviewed by: alfred, Martin Blapp <mb@imp.ch> Notes: svn path=/head/; revision=75314
* Mention that locks are inherited across an exec.Dima Dorfman2001-04-081-0/+6
| | | | | | | | PR: 24802 Submitted by: Kenneth Ingham <ingham@i-pi.com> Notes: svn path=/head/; revision=75313
* Install links to extattr_(get|set|delete)_fd.2 (from extattr_get_file.2).Dima Dorfman2001-04-081-2/+5
| | | | Notes: svn path=/head/; revision=75307
* mdoc(7) police: add missing LIBRARY section.Ruslan Ermilov2001-04-059-0/+18
| | | | Notes: svn path=/head/; revision=75224
* Unbreak world.Ruslan Ermilov2001-04-051-1/+1
| | | | | | | Submitted by: jhay Notes: svn path=/head/; revision=75223
* Record -lposix1e merge with -lc.Ruslan Ermilov2001-04-0526-26/+26
| | | | Notes: svn path=/head/; revision=75222
* mdoc(7) police rev 1.11: convert descriptions and cross-referencesRuslan Ermilov2001-04-051-64/+32
| | | | | | | for the ACL editing library functions to the plain tagged list. Notes: svn path=/head/; revision=75220
* - Add descriptions and cross-references for the ACL editing libraryChris D. Faulhaber2001-04-051-15/+107
| | | | | | | | | | | | | functions. - Place the acl_dup() description in alphabetical order. - Move the POSIX.1e descriptions under the ENVIRONMENT section to the STANDARDS section. Reviewed by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75211
* Install the acl_create_entry.3 man pageChris D. Faulhaber2001-04-051-0/+1
| | | | Notes: svn path=/head/; revision=75209
* Document the extattr_(get|set|delete)_fd calls, and add a note warningDima Dorfman2001-04-051-4/+52
| | | | | | | | | people that these calls are likely to change in the future. Reviewed by: rwatson Notes: svn path=/head/; revision=75206
* Activate build of posix1e extensions in libc and libc_r that have beenThomas Moestl2001-04-041-0/+1
| | | | | | | | | | | moved in from libposix1e, and deactivate build of the soon-to-be-removed libposix1e. Approved by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=75188