summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Merge some updates and markup fixes from OpenBSD. This is mainlycjc2002-01-141-6/+30
| | | | | | | motivated by the new "CAVEATS" section. Inspired by: alfred noting NetBSD's merging OpenBSD's changes Obtained from: OpenBSD
* Add xref for timeradd(3).dwhite2002-01-141-0/+1
| | | | PR: 13079
* Include <stddef.h> to fix build problem when namespace pollutiondeischen2002-01-111-7/+8
| | | | | | | | | by <signal.h> (including <time.h> so that NULL is accidentally defined) is removed. Style nits. Submitted by: bde
* Fixed unsorting and splitting of SRCS in previous commit.bde2002-01-112-4/+4
|
* Fixed missing backslash in previous commit.bde2002-01-111-1/+1
|
* Fixed accumulated unsorting and some other style bugs (long lines).bde2002-01-111-11/+10
|
* Replaced bogus cross references by the usual one for the ctype familybde2002-01-112-32/+2
| | | | (ctype(3)).
* Removed assertion that isblank() conforms to C90 too. This assertionbde2002-01-111-5/+0
| | | | | | is correct but less than useful. There is some uncertainty about whether isblank() is in C99, but it is certainly not in C90. It just conforms to C89 because it is a conforming extension.
* Fixed unsorting of almost all lists in previous commit.bde2002-01-111-7/+4
| | | | Removed assertion that isblank() is in C99 here too.
* Fixed unsorting of MLINKS in previous commit.bde2002-01-111-3/+3
| | | | Fixed unsorting of SRCS in rev.1.18.
* Remove assertion that isblank() is in C99, pointed out by ache.nik2002-01-101-4/+0
|
* Add getcontext, setcontext, makecontext, and swapcontext. Thesedeischen2002-01-1011-1/+1035
| | | | | | | | | functions are defined in SUSv2 and the latest POSIX spec. Thanks to Bernd Walter <ticso@cicely8.cicely.de> for helping debug my alpha assembly. Approved by: -arch
* Document behaviour with respect to interval timers.sheldonh2002-01-091-0/+4
| | | | | PR: 33156 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* mdoc(7) police: add missing markup bits for ``errno''.ru2002-01-093-3/+9
|
* mdoc(7) police:ru2002-01-095-6/+10
| | | | Stop abusing the .%J macro for where the .Pa macro should have been used.
* From the PR:nik2002-01-0910-8/+98
| | | | | | | | | | | | | | | | | | | | 1. ctype.h defines digittoint(), isnumber() and ishexnmber(), yet they are not documented in any of the manpages. 2. The ctype manpage references a non-existent manpage for digittoint(). 3. The isascii() manpage claims it is standards compliant, when it isn't. 4. isblank() claims it is _not_ standards compliant, when it is. Fix by including the appropriate .Nm entries, and with a new digittoint.3 page. PR: docs/26451 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* Fix some 32/64-bit bugs. IPv4 addresses are 32-bits, not longs. On thejhb2002-01-081-8/+12
| | | | | | | | alpha these bugs didn't cause any problems because it was little endian, but on sparc64, we ended up with garbage for the IP address when we tried to contact the server. (Usually 3.253.0.0) Not objected to by: wpaul
* Correct phrase 'get an ACL' to 'set an ACL'.jedgar2002-01-071-1/+1
| | | | | PR: 33660 Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com>
* We are munmap(2), so there's no need to list ourselves in the SEE ALSOdd2002-01-071-1/+1
| | | | | | | section; instead, list our partner in crime, mmap(2). PR: 33153 Submitted by: Faried Nawaz <fn@hungry.org>
* Nuke the paragraph that says "One can obtain user connection requestdd2002-01-071-17/+0
| | | | | | | | | data without confirming the connection by issuing a recvmsg(2) [...]". There's no such code in the kernel. PR: 26861 Submitted by: Richard A Steenbergen <ras@e-gerbil.net>, Tom Rhodes <darklogik@pittgoth.com>
* Suggest using memmove(3) if src and dst may overlap.dd2002-01-071-2/+7
| | | | | PR: 33298 Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
* All information from the "BUGS" section not belonging in "SECURITYchris2002-01-062-48/+34
| | | | | | | CONSIDERATIONS" moved to "COMPATIBILITY". Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Add new "SECURITY CONSIDERATIONS" sections.chris2002-01-063-0/+48
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Add a new `SECURITY CONSIDERATIONS' section. Sample code similar tochris2002-01-051-0/+63
| | | | | | | | | the first revision of strcpy(3)'s section is included, but should be removed as the Security Architecture document is committed and completed. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Include a section cross-reference to `EXAMPLES' in `SECURITYchris2002-01-051-1/+3
| | | | | | | CONSIDERATIONS' as a source for relevant sample code. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Remove the example from SECURITY CONSIDERATIONS. This is mostlychris2002-01-051-54/+0
| | | | | | | duplicated code from EXAMPLES. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Minor grammar and punctuation fixesyar2002-01-041-2/+2
| | | | in the SO_ACCEPTFILTER description.
* State clearly that one should call listen(2) on a socketyar2002-01-041-0/+11
| | | | | | at first and try to set an accept_filter(9) on it only after that. Also document errno value that will be set if installing the filter on a non-listening socket.
* Copy the sample `SECURITY CONSIDERATIONS' section from sec-doc.7.chris2002-01-021-0/+66
| | | | | | | | This will be trimmed as the FreeBSD Security Architecture document is fleshed out and committed. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Connect user trap code to the build.jake2002-01-011-0/+3
|
* Add libc side of user trap handling.jake2002-01-017-0/+423
| | | | | | Add support for handling floating point disabled traps mostly in userland for the simple single threaded case. Not yet enabled by default. Implement __sparc_utrap_install as specified by the sparc abi.
* Back out errno preservingache2001-12-307-47/+12
|
* Make sure curbrk is well aligned.jake2001-12-291-0/+1
|
* Use jmpbuf offsets, not ucontext_t.jake2001-12-291-3/+2
|
* Add .register directives for gcc3.jake2001-12-291-13/+42
| | | | | | Adapt to jmpbuf no longer being a ucontext_t. Restore the context "by hand" in longjmp and call sigprocmask, instead of just using sigreturn.
* __infinity is not const.jake2001-12-291-1/+1
|
* Add jmpbuf offsets. Remove ucontext offsets.jake2001-12-291-9/+8
|
* Add .register directives for gcc3.jake2001-12-291-6/+11
| | | | | Adapt to jmpbuf no longer being a ucontext_t. Call abort if longjmperror returns.
* Include utrap.h for soft trap types.jake2001-12-291-1/+1
|
* We use HIDENAME(minbrk) on sparc64 too.jake2001-12-291-1/+1
|
* Add xref to jail(2).mpp2001-12-281-1/+2
| | | | | PR: docs/33177 Submitted by: Tom Rhodes <darklogik@pittgoth.com>
* - Make it possible to turn on RES_INSECURE[12] with /etc/resolv.conf.ume2001-12-262-1/+13
| | | | | | | | - Don't connect datagram socket if RES_INSECURE1. - Needed to implement IPv6 anycast UDP DNS queries as documented in <draft-ietf-ipngwg-dns-discovery-03.txt>. Obtained from: KAME
* Add "except the handling of errors" into "equivalent to" paragraph.ache2001-12-253-0/+8
| | | | | Pointed by: bde Inspired by: POSIX
* Preserve errno.ache2001-12-255-9/+44
| | | | | | | | According to C99: "The functions atof, atoi, atol, and atoll need not affect the value of the integer expression errno on an error. If the value of the result cannot be represented, the behavior is undefined."
* Back out recent replacement of LC_MESSAGES file with directory.phantom2001-12-241-1/+1
| | | | Requested by: ache
* o Change the layout of the tagged lists to be like those in acl(3).chris2001-12-231-3/+12
| | | | | | | | o Document the following capabilities: CAP_NET_ADMIN, CAP_SYS_RAWIO, CAP_SYS_ADMIN, and CAP_SYS_TTY_CONFIG. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Save and restore t12 in the jmp_buf. t12 is used during functiondeischen2001-12-222-0/+3
| | | | | | | | | calls. This change allows libc_r to create thread contexts with a different stack and return address. With much detective work by: Bernd Walter <ticso@cicely.de>
* The VM_STACK option is long dead. MAP_STACK is available everywhere.peter2001-12-211-12/+0
|
* Slightly re-work locale messages storage scheme. Before this commitphantom2001-12-211-1/+1
| | | | | | | | | | | LC_MESSAGES related data was installed to <locale>/LC_MESSAGES file. Now it go to <locale>/LC_MESSAGES/SYS_LC_MESSAGES file. LC_MESSAGES directory is supposed to be storage of message catalogs of userland tools. This should allow us to avoid many potential problems with future libintl related functionality introduction. Thanks for useful suggestions about correct way how to replace plain files with directories at installworld stage to: Ruslan Ermilov <ru>
* style(9)'ifyphantom2001-12-207-73/+77
|
OpenPOWER on IntegriCloud