summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Document file descriptor reopening and current standardization status.wollman2002-08-071-0/+19
|
* Style fixes in preparation for rewrittingache2002-08-071-15/+15
|
* Style fixesache2002-08-071-9/+6
|
* Style fixes in preparation of code rewrittingache2002-08-074-34/+43
|
* Close descriptor, if error happens in loadCat()ache2002-08-071-0/+6
|
* Build iswctype.c and manual pages for the functions it defines.tjr2002-08-061-3/+12
|
* o Fix a memory leak.mike2002-08-051-11/+15
| | | | | | o Rewrite validmsgverb() so that it works (I'm not sure how it escaped my original testing). o Document nextcomp().
* Add missing prototypes for extension functions to the SYNOPSIS.tjr2002-08-051-0/+14
|
* Use In macro instead of Fd. Add crossref to wctype(3). Refer to 1003.1-2001tjr2002-08-051-4/+31
| | | | in STANDARDS section. Document functions which are extensions to the standard.
* Use the In macro instead of Fd. Add crossref to wctrans(3). Refer totjr2002-08-051-3/+4
| | | | 1003.1-2001 in STANDARDS section.
* Implement the missing <wctype.h> functions: isw*() (iswalnum() etc.),tjr2002-08-051-0/+213
| | | | | | | | towlower() and towupper() required by ISO C90 Amd. 1. iswascii(), iswhexnumber(), iswideogram(), iswnumber(), iswphonogram(), iswrune() and iswspecial() have also been implemented for consistency with the BSD extensions in <ctype.h>.
* Reject encoding > ENCODING_LEN at early stage instead of truncating it.ache2002-08-051-19/+35
| | | | | Use ptr == NULL instead of !ptr in few places. Move saverr declaration to global section.
* Manual pages for wide character classification (isw*) and case conversiontjr2002-08-052-0/+192
| | | | | | (tow*) functions from NetBSD, unmodified except for the addition of $FreeBSD$. Obtained from: NetBSD
* Implement POSIX.1-2001 (XSI)'s fmtmsg(3).mike2002-08-054-2/+473
|
* Try harder to check lang as path component (".", "..", / inside).ache2002-08-041-307/+345
| | | | | Try harder to not overwrite failure errno. style(9) whitespace reformatting for code readability.
* Change wctype_t to an unsigned type to avoid warnings.tjr2002-08-041-1/+1
|
* Add the ISO C90 Amd. 1 wctrans(3) and towctrans(3) functions.tjr2002-08-043-2/+196
|
* Add btowc(3) to SEE ALSO section.tjr2002-08-041-0/+1
|
* Use errno to indicate failure reason.ache2002-08-041-12/+18
| | | | | Remove incomplete checks for 'name' and 'PatchLocale', they must be already checked at this point.
* Fixed some style bugs (unsorting of MLINKS, and more than 1 assignment tobde2002-08-041-3/+3
| | | | MAN per section).
* Updated libc/libc_r that fixes the FreeBSD-SA-02:28.resolv resolver bug.obrien2002-08-045-9633/+7154
| | | | Submitted by: Trevor Johnson <trevor@jpj.net>
* Rewrite loadlocale() to eliminate LOAD_CATEGORY macro to save space.ache2002-08-041-28/+27
|
* Nonexistent SIZE_MAX -> SIZE_T_MAXache2002-08-041-1/+1
|
* Signal an error instead of giving the caller less memory than they askedtjr2002-08-041-0/+7
| | | | | | for when num * size would cause integer overflow. MFC after: 1 week
* Add ERRORS section according to POSIX (no errors)ache2002-08-031-0/+2
|
* Catch empty encoding name tooache2002-08-031-1/+1
|
* Fix return codes to match what setrunelocale() returnsache2002-08-031-5/+2
|
* Preserve errno in fallback codeache2002-08-031-0/+3
|
* Add ISO C90 Amd. 1 btowc(3) and wctob(3) functions.tjr2002-08-034-2/+167
|
* Correct use of Nm macro in NAME section and a broken cross reference.tjr2002-08-031-2/+3
|
* Return errno provided by fopen, not always ENOENT.ache2002-08-031-10/+10
| | | | | Return EFTYPE instead of EINVAL for wrong locale file format. Whitespaces.
* Check encoding for ".", ".." and / insideache2002-08-031-1/+5
|
* Return EINVAL for NULL or too long encoding, not EFAULTache2002-08-031-1/+1
|
* Return ENAMETOOLONG for long PATH_LOCALE, not EFAULTache2002-08-031-1/+1
|
* 1) Use errno to indicate faulure reason.ache2002-08-031-44/+89
| | | | | | | | | | 2) Move incomplete check for / in locale name from env section to loadlocale(), add check for "." and ".." too. It allows to check any argument, not env only. 3) Redesing LOAD_CATEGORY macro to eliminate code duplication. 4) Try harder in fallback code: if old locale can't be restored, load "C" locale 5) White space formatting, long lines, etc.
* Add ISO C90 Amd. 1 wctype(3) and iswctype(3) functions.tjr2002-08-033-2/+179
|
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-0218-2/+1878
| | | | | | | | | | | | | | kernel access control. Extensions to libc to provide basic MAC label manipulation facilities for userland. These interface will be replaced in the next month or two with more flexible interfaces, but provide sufficient support to allow use of the Biba and MLS policies for user applications. libc_r wrappers to follow. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Sligtly modify previous out-of-bounds fix: just break instead ofache2002-08-021-1/+1
| | | | | return(NULL) for upward compatibility with more LC_* categories may be implemented in future.
* De-gccize CFLAGS by removing it.rwatson2002-08-021-2/+0
| | | | | | NOMAN is no longer required when a man page is not yet present. Submitted by: ru
* Remove an #include <syslog.h>. It's already included conditionallymux2002-08-021-1/+0
| | | | | | above, as it should be. Submitted by: Olivier Houchard <cognet@ci0.org>
* Hook up libugidfw to the build.rwatson2002-08-021-2/+2
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-023-0/+785
| | | | | | | | | | | | | | | | | | | kernel access control. Provide a library to manage user file system firewall-like rules supported by the mac_bsdextended.ko security model. The kernel module exports the current rule set using sysctl, and this library provides a front end that includes support for retrieving and setting rules, as well as printing and parsing them. Note: as with other userland components, this is a WIP. However, when used in combination with the soon-to-be-committed ugidfw, it can actually be quite useful in multi-user environments to allow the administrator to limit inter-user file operations without resorting to heavier weight labeled security policies. Obtained form: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Prevent out of bounds writting for too many slashes case.ache2002-08-021-14/+10
| | | | | | Replace strnpy + ='\0' with strlcpy MFC after: 1 day
* The fix applied to the XDR decoder in revision 1.11 was incorrect.nectar2002-08-011-1/+1
|
* Fix an easy warning in a local addition.markm2002-08-011-1/+1
|
* Stash various networking paramters in the environment for the kerneljake2002-07-311-1/+15
| | | | to pick up, ala pxe.
* Sort headers to reduce diffs between branches.nectar2002-07-311-1/+1
|
* some dolt forgot to add in an include for <limits.h>darrenr2002-07-311-0/+1
|
* Patch to fix bounds checking/overflow.darrenr2002-07-311-3/+4
| | | | Obtained from: OpenBSD
* Grammar (`was' -> `were')chris2002-07-311-1/+1
|
OpenPOWER on IntegriCloud