summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Move the ipfw(4) xref to the description of LOG_SECURITY instead ofjhb2000-12-051-1/+1
| | | | | | | LOG_UUCP. PR: docs/23302 Submitted by: cshumway
* - __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpdume2000-12-041-102/+170
| | | | | | | | | | | | | - iruserok_sa() and __ivaliduser_af() were re-organized to use __ivaliduser_sa() - __icheckhost() was re-written to use getaddrinfo() instead of getipnodebyname() - better handling of multiple destination addresses in rcmd() These changes were basically taken from KAME and changed to fit our rcmd.c. Obtained from: KAME
* mdoc(7) police: fix formatting errors in rev 1.27.ru2000-12-041-13/+27
|
* When recording the original arguments, stop short if we encounterjdp2000-12-041-0/+10
| | | | | | | | a NULL argument. Some programs change the contents of the argv array, typically to remove some special arguments. They shorten argv by storing a NULL where an argument pointer used to be. Such programs core dumped if they called setproctitle(), because it would try to apply strlen() to a NULL pointer.
* When recording the original arguments, don't (ab)use "nargc" forjdp2000-12-041-3/+4
| | | | | iterating over the arguments. Doing so wipes out the value which is about to be stored into the ps_strings structure.
* Add warning on file-fragmentation issues related to MAP_NOSYNCdillon2000-12-031-0/+15
|
* Remove last vestiges of thr_sleep and thr_wakeup from libc.jake2000-12-024-4/+4
|
* Fix some error-handling logic so that ferror is called before fclose,gad2000-12-021-7/+21
| | | | | | | | | instead of immediately after the fclose. The previous logic did work on freebsd, but is somewhat risky practice (and causes trouble when porting to other OS's). PR: bin/22965 Reviewed by: Garrett Wollman
* document O_NOFOLLOW and O_FSYNC flags to openalfred2000-11-291-0/+21
|
* Prefix the register argument of indirect 'jmp's with a * to make gas 2.10.xjhb2000-11-283-3/+3
| | | | happy.
* The parameter that contains valid options is "optstring", not "optarg".mph2000-11-281-1/+1
|
* Add reference to elf(5) in addition to already mentioned a.out(5) and add bothsobomax2000-11-271-0/+4
| | | | elf(5) and a.out(5) into `SEE ALSO' section.
* Note that the `fmt' parameter is a printf()-like string.obrien2000-11-261-1/+4
|
* Make it possible to override the function which writes messages tophk2000-11-262-18/+32
| | | | | | | stderr in case of warnings and errors. Rename malloc_options to have a leading underscore, I belive I have been told that is more correct namespace wise.
* sprintf -> snprintfkris2000-11-261-1/+1
|
OpenPOWER on IntegriCloud