summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police:Ruslan Ermilov2002-01-095-6/+10
| | | | | | | Stop abusing the .%J macro for where the .Pa macro should have been used. Notes: svn path=/head/; revision=89138
* From the PR:Nik Clayton2002-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> Notes: svn path=/head/; revision=89136
* Fix some 32/64-bit bugs. IPv4 addresses are 32-bits, not longs. On theJohn Baldwin2002-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 Notes: svn path=/head/; revision=89084
* Correct phrase 'get an ACL' to 'set an ACL'.Chris D. Faulhaber2002-01-071-1/+1
| | | | | | | | PR: 33660 Submitted by: Rich Morin <rdm@cfcl.com>, Tom Rhodes <darklogik@pittgoth.com> Notes: svn path=/head/; revision=89028
* We are munmap(2), so there's no need to list ourselves in the SEE ALSODima Dorfman2002-01-071-1/+1
| | | | | | | | | | section; instead, list our partner in crime, mmap(2). PR: 33153 Submitted by: Faried Nawaz <fn@hungry.org> Notes: svn path=/head/; revision=88985
* Nuke the paragraph that says "One can obtain user connection requestDima Dorfman2002-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> Notes: svn path=/head/; revision=88984
* Suggest using memmove(3) if src and dst may overlap.Dima Dorfman2002-01-071-2/+7
| | | | | | | | PR: 33298 Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> Notes: svn path=/head/; revision=88983
* All information from the "BUGS" section not belonging in "SECURITYChris Costello2002-01-062-48/+34
| | | | | | | | | | CONSIDERATIONS" moved to "COMPATIBILITY". Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=88973
* Add new "SECURITY CONSIDERATIONS" sections.Chris Costello2002-01-063-0/+48
| | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=88971
* Add a new `SECURITY CONSIDERATIONS' section. Sample code similar toChris Costello2002-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 Notes: svn path=/head/; revision=88940
* Include a section cross-reference to `EXAMPLES' in `SECURITYChris Costello2002-01-051-1/+3
| | | | | | | | | | CONSIDERATIONS' as a source for relevant sample code. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=88939
* Remove the example from SECURITY CONSIDERATIONS. This is mostlyChris Costello2002-01-051-54/+0
| | | | | | | | | | duplicated code from EXAMPLES. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=88938
* Minor grammar and punctuation fixesYaroslav Tykhiy2002-01-041-2/+2
| | | | | | | in the SO_ACCEPTFILTER description. Notes: svn path=/head/; revision=88886
* State clearly that one should call listen(2) on a socketYaroslav Tykhiy2002-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. Notes: svn path=/head/; revision=88885
* Copy the sample `SECURITY CONSIDERATIONS' section from sec-doc.7.Chris Costello2002-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 Notes: svn path=/head/; revision=88830
* Connect user trap code to the build.Jake Burkholder2002-01-011-0/+3
| | | | Notes: svn path=/head/; revision=88795
* Add libc side of user trap handling.Jake Burkholder2002-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. Notes: svn path=/head/; revision=88794
* Back out errno preservingAndrey A. Chernov2001-12-307-47/+12
| | | | Notes: svn path=/head/; revision=88681
* Make sure curbrk is well aligned.Jake Burkholder2001-12-291-0/+1
| | | | Notes: svn path=/head/; revision=88614
* Use jmpbuf offsets, not ucontext_t.Jake Burkholder2001-12-291-3/+2
| | | | Notes: svn path=/head/; revision=88613
* Add .register directives for gcc3.Jake Burkholder2001-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. Notes: svn path=/head/; revision=88612
* __infinity is not const.Jake Burkholder2001-12-291-1/+1
| | | | Notes: svn path=/head/; revision=88611
* Add jmpbuf offsets. Remove ucontext offsets.Jake Burkholder2001-12-291-9/+8
| | | | Notes: svn path=/head/; revision=88610
* Add .register directives for gcc3.Jake Burkholder2001-12-291-6/+11
| | | | | | | | Adapt to jmpbuf no longer being a ucontext_t. Call abort if longjmperror returns. Notes: svn path=/head/; revision=88609
* Include utrap.h for soft trap types.Jake Burkholder2001-12-291-1/+1
| | | | Notes: svn path=/head/; revision=88608
* We use HIDENAME(minbrk) on sparc64 too.Jake Burkholder2001-12-291-1/+1
| | | | Notes: svn path=/head/; revision=88607
* Add xref to jail(2).Mike Pritchard2001-12-281-1/+2
| | | | | | | | PR: docs/33177 Submitted by: Tom Rhodes <darklogik@pittgoth.com> Notes: svn path=/head/; revision=88573
* - Make it possible to turn on RES_INSECURE[12] with /etc/resolv.conf.Hajimu UMEMOTO2001-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 Notes: svn path=/head/; revision=88504
* Add "except the handling of errors" into "equivalent to" paragraph.Andrey A. Chernov2001-12-253-0/+8
| | | | | | | | Pointed by: bde Inspired by: POSIX Notes: svn path=/head/; revision=88472
* Preserve errno.Andrey A. Chernov2001-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." Notes: svn path=/head/; revision=88469
* Back out recent replacement of LC_MESSAGES file with directory.Alexey Zelkin2001-12-241-1/+1
| | | | | | | Requested by: ache Notes: svn path=/head/; revision=88459
* o Change the layout of the tagged lists to be like those in acl(3).Chris Costello2001-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 Notes: svn path=/head/; revision=88430
* Save and restore t12 in the jmp_buf. t12 is used during functionDaniel Eischen2001-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> Notes: svn path=/head/; revision=88400
* The VM_STACK option is long dead. MAP_STACK is available everywhere.Peter Wemm2001-12-211-12/+0
| | | | Notes: svn path=/head/; revision=88351
* Slightly re-work locale messages storage scheme. Before this commitAlexey Zelkin2001-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> Notes: svn path=/head/; revision=88348
* style(9)'ifyAlexey Zelkin2001-12-207-73/+77
| | | | Notes: svn path=/head/; revision=88309
* Add my e-mail to copyrightsAlexey Zelkin2001-12-202-2/+2
| | | | Notes: svn path=/head/; revision=88278
* Document that rfork() will return EINVAL if flags not listed in theJohn Baldwin2001-12-191-0/+2
| | | | | | | manpage are passed in. Notes: svn path=/head/; revision=88158
* Fix some style bugsAlexey Zelkin2001-12-171-15/+18
| | | | | | | Prompted by: mike Notes: svn path=/head/; revision=88057
* clnt_bcast.c:420:33: warning: extra tokens at end of #endif directivePeter Wemm2001-12-151-1/+1
| | | | Notes: svn path=/head/; revision=87966
* * cleanup comments and definesAlexey Zelkin2001-12-141-8/+1
| | | | | | | Reviewed by: bde Notes: svn path=/head/; revision=87872
* Also fix cases when thousands separator should be put before number. ForAlexey Zelkin2001-12-131-2/+4
| | | | | | | | example before for grouping sequence "\003\003" number 123456 was formated as ",123,456", now "123,456". Notes: svn path=/head/; revision=87818
* Respect locale while handling of \' flag.Alexey Zelkin2001-12-131-22/+63
| | | | | | | | | | | | | In original version grouping was hardcoded. It assumed that thousands separator should be inserted to separate each 3 numbers. I.e. grouping string "\003" was assumed for all cases. In correct case (per POSIX) vfprintf should respect locale defined non-monetary (LC_NUMERIC category) grouping sequence. Also simplify thousands_sep handling. Notes: svn path=/head/; revision=87815
* If the OID is missing, sysctl(3) returns ENOENT, not EOPNOTSUPP.Ruslan Ermilov2001-12-131-2/+2
| | | | | | | | PR: docs/32793 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> Notes: svn path=/head/; revision=87794
* mdoc(7) police: minor markup nits.Ruslan Ermilov2001-12-121-20/+20
| | | | Notes: svn path=/head/; revision=87739
* mdoc(7) police: fix markup, bump document date.Ruslan Ermilov2001-12-122-30/+38
| | | | Notes: svn path=/head/; revision=87738
* mdoc(7) police: kill HSBs, add missing comma.Ruslan Ermilov2001-12-121-8/+13
| | | | Notes: svn path=/head/; revision=87737
* mdoc(7) police: fix markup.Ruslan Ermilov2001-12-121-13/+17
| | | | Notes: svn path=/head/; revision=87736
* mdoc(7) police: Minor formatting nits and optimizations to rev. 1.34.Ruslan Ermilov2001-12-121-57/+67
| | | | Notes: svn path=/head/; revision=87735
* mdoc(7) police: use no-break space.Ruslan Ermilov2001-12-121-1/+3
| | | | Notes: svn path=/head/; revision=87733