summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* I made a last-minute change before the last commit which brokewollman2001-01-231-3/+1
| | | | the errno semantics. Get it (closer to) right this time.
* mdoc(7) police: replaced empty line with .Pp, updated document date.ru2001-01-231-2/+2
|
* Add a couple of new library interfaces (will be activated when thewollman2001-01-232-0/+88
| | | | relavant header file changes are committed) for POSIX support.
* Add the function sysctlnametomib to libc. Details on the semanticsmckusick2001-01-233-3/+111
| | | | and use of this function have been added to the sysctl.3 manual page.
* man(7) -> mdoc(7).ru2001-01-181-583/+475
|
* Document EHOSTDOWN error.ben2001-01-171-0/+2
| | | | | PR: 24410 Submitted by: Martin Horcicka <horcicka@vol.cz>
* Clarify comments referring to strlcat() usagejedgar2001-01-171-1/+22
| | | | Obtained from: OpenBSD
* - Reverse the order of two loop invariant to ensure strlcat() does notjedgar2001-01-171-3/+6
| | | | | | | | | | attempt to read memory when siz is 0 - Clarify comments referring to strlcat() usage PR: 24278, 24295 Submitted by: Tony Finch <dot@dotat.at> Richard Kettlewell <rjk@greenend.org.uk> Reviewed by: -audit
* Merge the documentation for sigsetmask() and sigblock() into aben2001-01-173-99/+31
| | | | | | | | single manual page, appropriately linked, since this removes the decision of which page the (previously non-existent) sigmask.2 MLINK should point at. Submitted by: will
* man(7) -> mdoc(7).ru2001-01-175-1416/+1143
|
* rstat(1) and rstat_svc(8) are the early versions ofru2001-01-173-88/+0
| | | | the rup(1) and rpc.rstatd(8) manpages respectively.
* o When returning NULL, return (NULL) instead of return (0).rwatson2001-01-174-12/+12
| | | | | Submitted by: jedgar Obtained from: TrustedBSD Project
* SIGABRT is *not* the same as calling abort(), so don't claim that it is.ben2001-01-161-2/+2
| | | | | | | (abort() flushes all open stdio streams for one thing.) PR: 24249 Submitted by: Edwin Groothuis <mavetju@chello.nl>
* The bit about sigpending not detecting any errors is a lie, it can returnben2001-01-161-2/+7
| | | | | | | EFAULT. PR: 24360 Submitted by: Kenneth Ingham <ingham@i-pi.com>
* Prepare for mdoc(7)NG.ru2001-01-167-9/+9
|
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.ru2001-01-127-13/+13
|
* man(7) -> mdoc(7).ru2001-01-121-266/+433
|
* man(7) -> mdoc(7).ru2001-01-121-77/+100
|
* man(7) -> mdoc(7).ru2001-01-115-681/+845
|
* mdoc(7) police: fixed (minor) mdoc bugs introduced in previous revision.ru2001-01-101-2/+3
|
* o acl_from_text.c:rwatson2001-01-092-24/+10
| | | | | | | | | | | | - errno is already set to ENOMEM (as appropriate) when asprintf(), strdup(), or acl_init() fails o acl_to_text.c: - the return value of the initial strdup() is not checked - errno is already set to ENOMEM (as appropriate) when asprintf and acl_init() fails - let the the default: case use 'goto error_label' for consistency Submitted by: jedgar
* o bzero() the ACL structure only if malloc() returns non-NULL.rwatson2001-01-091-1/+2
| | | | Submitted by: jedgar
* o Correct spelling error from patch in previous commit.rwatson2001-01-091-1/+1
|
* o Add missing initialization of errno from error returns ofrwatson2001-01-093-0/+3
| | | | | | cap_get_fd(), cap_get_file() and cap_get_proc(). Submitted by: jedgar
* o Make acl_from_text() support uid's and gid's as well as usernamesrwatson2001-01-081-6/+18
| | | | | | | and groupnames, by adding appropriate support to acl_name_to_id() in acl_support.c Submitted by: green
* Correct check of getgrnam outputjedgar2001-01-071-1/+1
| | | | Approved by: rwatson
* Fix bugs in the handling of > 8 positional arguments:archie2001-01-061-14/+18
| | | | | | | | - The stack was getting smashed by __grow_type_table() - reallocf() was being called with the wrong pointer - The maximum argument number was being incorrectly computed PR: misc/23521
* gethostbyname2() is able to lookup AF_INET6.alex2001-01-061-10/+0
| | | | | PR: 23823 Noticed by: Andrew Arensburger <arensb@ooblick.com>
* Fix SCCS id string abuse I introduced.obrien2001-01-021-1/+1
|
* Change the interface of getlogin_r to return an int. The formerdeischen2001-01-012-22/+68
| | | | | | | | | | interface was based on a draft version of POSIX whereas the final (1996) version of POSIX specified that the error is returned. While I'm here, fix getlogin_r so that it works for more than just the first time it's called. Reviewed by: wes, wollman (man page)
* Make it a bit clearer that asprintf doesn't actually "return" a pointer inben2001-01-011-4/+3
| | | | | | | | the normal sense of the word, but does it through one of its arguments which is a pointer to a pointer. PR: 23717 Submitted by: phk
* Fix a tailq conversion bug that resulted in, e.g., nvi crashing upongreen2000-12-301-1/+2
| | | | | | | | | | | | quitting every time. The way to free a CIRCLEQ was to loop until the current == current->head, but the way to free a TAILQ is to loop until current->head == NULL. In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks and TAILQ_REMOVE()al of TAILQ_FIRST(). This bug wouldn't have happened if the loop wasn't hard-coded... There may be more bugs of this type from the conversion.
* Use TAILQ instead of CIRCLEQ.phk2000-12-291-21/+18
|
* Fixed typo not fixed in previous revision.ru2000-12-291-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-29104-485/+518
|
* Link stringlist.3 to sl_{add,find,free,init}.3ben2000-12-271-0/+2
|
* Fix mostly harmless typo:nectar2000-12-171-1/+1
| | | | | | | if (data); free(data); Discovered by: emacs cc-mode
* mdoc(7) police: added missing .Os call.ru2000-12-143-0/+3
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-1428-28/+28
|
* #endif should not have a non-comment token after it.obrien2000-12-131-1/+1
| | | | GCC 2.97 (snapshot) complains about this.
* o Introduce a pile more documentation about capabilities, includingrwatson2000-12-111-6/+213
| | | | | | | | identification and descriptions of most capabilities, current inheritence rules, etc. More to follow. Reviewed by: sheldonh Obtained from: TrustedBSD Project
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-1115-15/+16
|
* Move telldir position recording type definitions and prototypesdeischen2000-12-116-31/+92
| | | | | | | to "telldir.h" in order to prevent namespace pollution in <dirent.h> (which was including <sys/queue.h>). Add $FreeBSD$ to rewinddir.c and seekdir.c.
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* strunvis(3) and unvis(3) are the same files.alex2000-12-081-1/+0
|
* There are four types of encoding now, not three. Most of them use thealex2000-12-081-2/+2
| | | | backslash as a special char, but not all.
* Upgrade to groff 1.16.1.ru2000-12-061-8/+1
|
* Back this out, we apparently have the ipfw(4).ru2000-12-061-1/+1
|
* ipfw(4) -> ipfw(8).ru2000-12-061-1/+1
|
* Cleanup XXXdir functions to eliminate global hash table ofdeischen2000-12-065-53/+34
| | | | | | | | | | | | | | | | telldir positions. This will allow (future) locking on a per-DIR basis (for MT-safety). For now, this change does the following: o Remove the hash table from telldir.c. Recode to use queue macros. o Remove 'const' from 'telldir(const DIR *)'. o Remove 'register' variables as suggested in a recent thread. No response from: -current
OpenPOWER on IntegriCloud