summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak.sumikawa2000-10-291-0/+2
| | | | Obtained from: KAME
* Back out previous commit (MLINK malloc.conf.5 -> malloc.3).eivind2000-10-291-1/+0
| | | | | | This did not work correctly with whatis(1). Issue brought up by: mpp
* Add link malloc.conf.5 -> malloc.3eivind2000-10-291-0/+1
|
* Style & grammar fixes.mpp2000-10-281-3/+7
| | | | PR: docs/22374, docs/13020
* defined HAVE_IFM_DATA for (free|net|open)bsdume2000-10-281-0/+5
| | | | | Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp> Obtained from: KAME Project
* Explicitly initialize _pw_passwd.nectar2000-10-271-1/+1
|
* Make RES_OPTIONS=inet6 work.ume2000-10-271-0/+4
| | | | | | Basically PR22196, but slightly modified. PR: bin/22196
* For %c replace reference to asctime(3) with ctime(3) from which %c geneticallyache2000-10-261-1/+1
| | | | originates
* Treat c_fmt field as compatibility placeholderache2000-10-262-5/+3
|
* Force "%c" to be ctime-compatibleache2000-10-261-1/+2
| | | | Submitted by: ru
* Force %c to be "%a %Ef %T %Y" to eliminate problems with bad c_fmtache2000-10-262-5/+6
| | | | Submitted by: ru
* Describe %c betterache2000-10-241-3/+7
| | | | Submitted by: ru (with modifications)
* Correct the text on RETURN VALUES.n_hibma2000-10-201-1/+3
|
* Return zero from setjmp() and _setjmp() for now.dfr2000-10-162-0/+5
|
* Fix a couple of dumb mistakes.dfr2000-10-161-7/+9
|
* Fix RAW dependency violation on p6 between cmp and mov.marcel2000-10-152-0/+2
|
* Initial libc port for ia64.dfr2000-10-1445-0/+3022
|
* Document the ptrace() PT_STEP request.jwd2000-10-141-1/+10
| | | | | | | | Add references to the newly added hardware debug register support functions i386_clr_watch(3) and i386_set_watch(3). Reviewed by: Sean Eric Fagan <sef@kithrup.com> and no other response to the review request.
* o Introduce cap_from_text() and cap_to_text() implementations.rwatson2000-10-132-1/+573
| | | | | | Reviewed by: green Obtained from: TrustedBSD Project Security audited by: imp, green
* o Simplify capability types away from an array of ints to a singlerwatson2000-10-132-8/+10
| | | | | | | | | | | | | | | | | | u_int64_t flag field, bounding the number of capabilities at 64, but substantially cleaning up capability logic (there are currently 43 defined capabilities). o Heads up to anyone actually using capabilities: the constant assignments for various capabilities have been redone, so any persistent binary capability stores (i.e., '$posix1e.cap' EA backing files) must be recreated. If you have one of these, you'll know about it, so if you have no idea what this means, don't worry. o Update libposix1e to reflect this new definition, fixing the exposed functions that directly manipulate the flags fields. Obtained from: TrustedBSD Project
* o Update BUGS entry to indicate in a more precise manner the implementationrwatson2000-10-129-23/+15
| | | | | | | status of capabilities (library is complete, kernel work is maintained outside the tree). Obtained from: TrustedBSD Project
* Fix pthread cancellation point propagation.jasone2000-10-121-5/+5
|
* o Introduce a MAINTAINER entry for libposix1e, since it is activelyrwatson2000-10-021-0/+1
| | | | developed and maintained.
* Use issetugid instead of comparing get[ug]id and gete[ug]id.nectar2000-09-301-5/+2
| | | | Suggested by: Don Lewis <Don.Lewis@tsc.tdk.com>
* Ignore HESIOD_CONFIG and HES_DOMAIN environmental variables fornectar2000-09-291-2/+12
| | | | | | set-user-ID and set-group-ID programs. Suggested by: Danny Braniss <danny@cs.huji.ac.il>
* Add man pages for mod*(2). Shamelessly cut/pasted from the kld*(2) manpeter2000-09-2810-0/+307
| | | | pages by Chris Costello.
* Fix typophantom2000-09-271-1/+1
| | | | | PR: misc/21596 Submitted by: TOGAWA Satoshi <toga@puyo.org>
* off-by-1 error in string length validationitojun2000-09-251-7/+6
| | | | From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
* o Minor whitespace, comment cleanupsrwatson2000-09-221-27/+14
| | | | | | | o Removal of unneeded enum o Removal of commented out debugging printf()'s. Obtained from: TrustedBSD Project
* Better documentation of append mode. This should have gone in -currenteivind2000-09-221-0/+8
| | | | | | directly. Now also .Xr fseek reference. Prodded by: sheldonh
* Resurrect documentation of chflags(2)'s SF_ARCHIVED.rse2000-09-221-2/+2
| | | | | PR: 21428 Reviewed by: ben
* Add a couple of debug register helper functions to assist in settingbsd2000-09-215-4/+249
| | | | | | and clearing watchpoints. Reviewed by: jwd@FreeBSD.org, -hackers@
* Oops, un-spam this file - the last commit was an accident.brian2000-09-201-1/+0
| | | | Pointed out by: phk
* Only realloc() environ if we're sure that we know where it came from.brian2000-09-202-5/+5
| | | | | | The recent problems with sshd were due to sshd reassigning `environ' when setenv() thinks it owns it. setenv() subsequently realloc()s the new version of environ and *boom*
* o Whitespace reduction appled to FreeBSD CVS IDrwatson2000-09-191-1/+1
| | | | Obtained from: TrustedBSD Project
* o General warning fixing commitrwatson2000-09-197-9/+6
| | | | | | | | - Include <stdlib.h> and <string.h> as needed for prototypes - Remove unneeded "error" variables o Make cap_init() use cap_clear() instead of bzero() Obtained from: TrustedBSD Project
* o Add cap_from_text(3) and cap_to_text(3) man pages.rwatson2000-09-193-0/+232
| | | | | | | o Implementations will remain in the seperately distributed capability patch until the cap_t type changes are synchronized. Obtained from: TrustedBSD Project
* o EACCES is not a possible error for acl_from_text(), so fixrwatson2000-09-1910-14/+11
| | | | | | | | acl_from_text.3 o Minor whitespace cleanups relative to the TrustedBSD tree to reduce content-free differences. Obtained from: TrustedBSD Project
* Document RTLD_DEFAULT and the search algorithm used for resolvingjdp2000-09-191-6/+43
| | | | undefined symbols.
* Make a somewhat unsatisfactory attempt to describe the effects ofjdp2000-09-191-1/+18
| | | | the RTLD_GLOBAL and RTLD_LOCAL flags which can be passed to dlopen().
* o cap_set_flag() was not correctly clearing capabilities when valuerwatson2000-09-191-2/+5
| | | | | | was CAP_CLEAR. Obtained from: TrustedBSD Project
* Pickup SPECNAMELEN from <sys/param.h> and use it.phk2000-09-161-15/+10
| | | | | A missing _PATH_DEVDB ("/var/run/dev.db") is not cause for a warning anymore, the file is effectively optional these days.
* Change from using poll(2) to kqueue/kevent when waiting for a DNSps2000-09-121-32/+30
| | | | | | | | | response to return. This will stop processes waiting on DNS requests from being woken up when a select collision occurs. This was tested on mx1.FreeBSD.org (outgoing mail for the FreeBSD.org mailing lists.) Reviewed by: jlemon, peter
* Set h_errno when an error is encountered.nectar2000-09-101-2/+9
| | | | | PR: bin/21092 Submitted by: Alexander Kabaev <ak03@gte.com>
* Add code to devname(3) so it can find the names of devices whichphk2000-09-092-12/+28
| | | | | | | | | | | | were not present when dev_mkdb(8) was run. First the dev_mkdb(8) database is searched, this caters for non-DEVFS cases where people have renamed a device. If that fails we ask the kernel using sysctl kern.devname if the device driver has put a name in the dev_t. This covers DEVFS cloned devices. If that also fails we format a string which isn't entirely useless.
* Prevent buffer overflow if NLSPATH is too longache2000-09-081-1/+7
|
* Disallow '/' characters in LC_* environment variables which mightkris2000-09-081-1/+1
| | | | | | | | | | | | be used to point to a bad locale file. This is only believed to be a minor security risk - the only risk is if some program uses the result of a localized string as a format specifier in a vulnerable function like sprintf(). No such code is believed to exist in the FreeBSD base system, although it is possible that badly written third party code would do that. Submitted by: imp Approved by: ache
* Fix getipnodebyname(3) bug.nectar2000-09-071-3/+4
| | | | Submitted by: ume
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-0632-1909/+4010
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Add .Elache2000-09-061-0/+1
|
OpenPOWER on IntegriCloud