summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Move ENTRY and ALTENTRY definitions to asm.h where they belong.Jason Evans2000-01-201-23/+0
| | | | | | | | | Unbreak profiling. Again. Submitted by: bde Notes: svn path=/head/; revision=56309
* Although it should be obvious that the 3-digit numeric values of theSheldon Hearn2000-01-1912-12/+23
| | | | | | | | characters shown are octal, state this explicitly for the easily misled. Notes: svn path=/head/; revision=56288
* Make the quotes in the #include line visible.Sheldon Hearn2000-01-191-1/+1
| | | | Notes: svn path=/head/; revision=56286
* Make minor entry point changes to support libc_r.Jason Evans2000-01-199-18/+18
| | | | Notes: svn path=/head/; revision=56276
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls toRobert Watson2000-01-196-14/+14
| | | | | | | | | | | | prettier (?) names, adding some const's around here, et al. This is commit 4 out of 3, updating the userland library to reflect kernel interface changes. Reviewed by: bde Notes: svn path=/head/; revision=56274
* Close PR#16028. Make the sanity check saner. The condition that weBill Paul2000-01-191-1/+1
| | | | | | | | | | | | check for on the server may arise legitimately on the client. The correct way to check for a zero record length is to check for it without the LAST_FRAG marker in it, since it's legal to send a LAST_FRAG marker with 0 bytes of data. PR: misc/16028 Notes: svn path=/head/; revision=56273
* Document KERN_QUANTUM under CTL_KERNChris Costello2000-01-191-0/+6
| | | | | | | | PR: 15637 Submitted by: jhs Notes: svn path=/head/; revision=56268
* Document isnanf() for checking if a float is NaN (``Not-a-Number'') andChris Costello2000-01-192-4/+9
| | | | | | | | | create a link from isnanf.3 to isinf.3. PR: 13878 Notes: svn path=/head/; revision=56266
* This man page is not needed; it just gets jumped on later when libcryptMark Murray2000-01-182-298/+1
| | | | | | | | is installed. Submitted by: bde Notes: svn path=/head/; revision=56252
* Add HISTORY.Sheldon Hearn2000-01-181-0/+2
| | | | | | | Submitted by: obrien Notes: svn path=/head/; revision=56238
* Fixed missing backslash in previous commit. Adding setresuid.2 has takenBruce Evans2000-01-181-1/+1
| | | | | | | 4 commits and 2 world breakages so far. Notes: svn path=/head/; revision=56219
* Fix line too long style bug in the previous commit (which, by theSheldon Hearn2000-01-181-2/+2
| | | | | | | way, unbroke world). Notes: svn path=/head/; revision=56218
* add setresuid.2Andrey A. Chernov2000-01-181-1/+1
| | | | Notes: svn path=/head/; revision=56217
* acl_delete_default_file() changed to acl_delete_def_file()Robert Watson2000-01-171-1/+1
| | | | Notes: svn path=/head/; revision=56197
* Add manual pages for the newly added setres[ug]id system calls.Sheldon Hearn2000-01-172-0/+80
| | | | Notes: svn path=/head/; revision=56192
* We no longer care about the VAX and Tahoe compilers :-)Kris Kennaway2000-01-171-6/+1
| | | | Notes: svn path=/head/; revision=56131
* Oops, didn't commit the Makefile for libposix1e--this should fix buildRobert Watson2000-01-151-0/+15
| | | | | | | | | problems. Reviewed by: eivind Notes: svn path=/head/; revision=56075
* libposix1e provides userland library calls for the POSIX.1e securityRobert Watson2000-01-1511-0/+1468
| | | | | | | | | | | interface. This commit introduces the library, as well as a modest subset of the ACL calls, with some modifications to support multiple ACL semantics. Reviewed by: eivind Notes: svn path=/head/; revision=56055
* Fixed corrupted tabs in previous commit.Bruce Evans2000-01-141-2/+2
| | | | Notes: svn path=/head/; revision=55976
* libc rcmd update for IPv6.Yoshinobu Inoue2000-01-135-88/+295
| | | | | | | | | | | A new function bindresvport2(), AF independent version of bindresvport() is also added. Reviewed by: sumikawa Obtained from: KAME project Notes: svn path=/head/; revision=55918
* Correct placement of $FreeBSD$ CVS identifier.Jeroen Ruigrok van der Werven2000-01-131-1/+1
| | | | Notes: svn path=/head/; revision=55915
* Change ``from'' to ``to''.Jeroen Ruigrok van der Werven2000-01-131-1/+1
| | | | | | | | PR: 15729 Submitted by: Kim Toms Notes: svn path=/head/; revision=55914
* Fix unresolved _libc_*() references in libc by creating weak aliasesJason Evans2000-01-131-0/+2
| | | | | | | to the respective system call entry points. Notes: svn path=/head/; revision=55893
* added IPv6 unspecified addr check for getipnodebyaddr.Yoshinobu Inoue2000-01-131-0/+2
| | | | Notes: svn path=/head/; revision=55877
* added IPv4 mapped IPv6 addr consideration for getaddrinfo() reverse lookup caseYoshinobu Inoue2000-01-131-1/+4
| | | | Notes: svn path=/head/; revision=55876
* Add three-tier symbol naming in support of POSIX thread cancellationJason Evans2000-01-1279-292/+452
| | | | | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read(). Notes: svn path=/head/; revision=55837
* Remove the warning that this interface shouldn't be used yet. FixJohn Polstra2000-01-091-8/+4
| | | | | | | a typo. Clarify a sentence. Notes: svn path=/head/; revision=55685
* Correct discrepancy between definition of argument to tempnam() andKris Kennaway2000-01-091-2/+2
| | | | | | | the name by which it is referenced in the text. Notes: svn path=/head/; revision=55649
* Sync contents of struct nfsd_svrargsKris Kennaway2000-01-091-2/+2
| | | | Notes: svn path=/head/; revision=55630
* remove most of PF_INET6 description. add references only.Jun-ichiro itojun Hagino2000-01-061-138/+4
| | | | | | | Suggested by: Ruslan Ermilov <ru@FreeBSD.org> Notes: svn path=/head/; revision=55502
* bring in description for KAME IPv6 changes.Jun-ichiro itojun Hagino2000-01-061-4/+156
| | | | | | | | | XXX it looks that sysctl.3 lacks most of PF_INET items. Reviewed by: shin Obtained from: KAME (netbsd-current) Notes: svn path=/head/; revision=55493
* Make example for handling "-##" work and comply with style(9). StillTim Vanderhoek2000-01-061-5/+12
| | | | | | | | | doesn't handle nastier corner cases such as "-j3 -33" correctly. <shrug> PR: docs/12994 (James Howard <howardjp@wam.umd.edu>) Notes: svn path=/head/; revision=55490
* Fixed the type of dllockinit() (const unpoisoning).Bruce Evans2000-01-051-4/+1
| | | | | | | | Use long lines instead of lines split with backslash-newline in synopsis. My synopsis checker doesn't understand backslash-newline. Notes: svn path=/head/; revision=55475
* Fixed missing include in synopsis.Bruce Evans2000-01-052-4/+4
| | | | | | | | Use long lines instead of lines split with backslash-newline in synopsis. My synopsis checker doesn't understand backslash-newline. Notes: svn path=/head/; revision=55474
* Fixed missing include in synopsis.Bruce Evans2000-01-051-0/+1
| | | | Notes: svn path=/head/; revision=55473
* Unbreak profiling. bde says this is not the cleanest way to fix theJason Evans2000-01-044-8/+8
| | | | | | | | | problem, but that it works. Submitted by: bde Notes: svn path=/head/; revision=55375
* Grammar: "be even number" -> "be an even number"Bill Fumerola2000-01-031-1/+1
| | | | Notes: svn path=/head/; revision=55354
* Backout the prev. commit. It's a bad idea to make-up terms. I believeTim Vanderhoek1999-12-312-3/+3
| | | | | | | | | there is no good solution here. Set-on-the-straight-and-narrow by: bde Notes: svn path=/head/; revision=55287
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-293-14/+19
| | | | | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. Notes: svn path=/head/; revision=55206
* Typo cops.Tim Vanderhoek1999-12-281-1/+1
| | | | Notes: svn path=/head/; revision=55187
* Add history: The reallocf() function first appeared in FreeBSD-3.0.Tim Vanderhoek1999-12-281-0/+5
| | | | | | | | See imp's 199808201619.KAA20970@harmony.village.org in freebsd-hackers (the reallocf.c cvs history mistakenly refers to freebsd-current). Notes: svn path=/head/; revision=55186
* Add ".Xref tolower 3" since its internal use is inferred in DESCRIPTION.Tim Vanderhoek1999-12-281-1/+2
| | | | Notes: svn path=/head/; revision=55185
* Avoid the potentially confusing term "a null pointer" and say "the NULLTim Vanderhoek1999-12-282-3/+3
| | | | | | | | | | pointer" instead. The potential confusion arises because the string/*.3 pages use the term "null-terminated string" (which is permissable). Moreover, this also makes these two manpages more consistent with the other string/*.3 manpages. Notes: svn path=/head/; revision=55184
* Add .Xrefs to tolower.3 and toupper.3, respectively.Tim Vanderhoek1999-12-282-0/+2
| | | | Notes: svn path=/head/; revision=55183
* Suppress vast quantities of unneeded warnings spewed by libc's gethostbydnsRobert Watson1999-12-281-3/+4
| | | | | | | | | | on encountering a real-world SIG record during a lookup of another type. PR: bin/7352 Reviewed by: peter, eivind Notes: svn path=/head/; revision=55174
* Small bug fix and improvementsYoshinobu Inoue1999-12-281-0/+7
| | | | | | | | | | | (1)added error check of if_nameindex() return value at getaddrinfo(). (2)print out more detailed information when getaddrinfo() error value is EAI_SYSTEM.(in this case system error num is kept in errno) (1) is Discovered by: jinmei@kame.net in KAME environment. Notes: svn path=/head/; revision=55167
* Work around an assert failure in the dynamic linker's default threadJohn Polstra1999-12-281-0/+4
| | | | | | | | | | | | | | | | | | | locking functions. If an application loads a shared object with dlopen() and the shared object has an init function which requires lazy binding, then _rtld_bind is called when the thread is already inside the dynamic linker. This leads to a recursive acquisition of the lock, which I was not expecting -- hence the assert failure. This work-around makes the default locking functions handle recursive locking. It is NOT the correct fix -- that should be implemented at the generic locking level rather than in the default locking functions. I will implement the correct fix in a future commit. Since the dllockinit() interface will likely need to change, warn about that in both the man page and the header file. Notes: svn path=/head/; revision=55165
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.Yoshinobu Inoue1999-12-288-4/+3657
| | | | | | | | | | Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55163
* Make this compile with -Wall -WerrorPeter Wemm1999-12-271-1/+2
| | | | Notes: svn path=/head/; revision=55135
* Add a new function dllockinit() for registering thread lockingJohn Polstra1999-12-273-1/+124
| | | | | | | | | | | | | | | | | | | | | | functions to be used by the dynamic linker. This can be called by threads packages at start-up time. I will add the call to libc_r soon. Also add a default locking method that is used up until dllockinit() is called. The default method works by blocking SIGVTALRM, SIGPROF, and SIGALRM in critical sections. It is based on the observation that most user-space threads packages implement thread preemption with one of these signals (usually SIGVTALRM). The dynamic linker has never been reentrant, but it became less reentrant in revision 1.34 of "src/libexec/rtld-elf/rtld.c". Starting with that revision, multiple threads each doing lazy binding could interfere with each other. The usual symptom was that a symbol was falsely reported as undefined at start-up time. It was rare but not unseen. This commit fixes it. Notes: svn path=/head/; revision=55122