summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* If sysctl() fails, return "/kernel" so as not to screw people who haven'twollman1994-09-241-2/+2
| | | | updated their kernels yet.
* Added getbootfile(3), for an easy C interface to the kern.bootfile MIBwollman1994-09-233-13/+140
| | | | variable. This one's even documented!
* Added *ran48 functions, and put them in the correct place this time.wollman1994-09-2313-2/+476
| | | | Obtained from: 1.1.5
* Pass -q and -u flags to modload so that it shuts up and doesn't leavewollman1994-09-221-1/+1
| | | | modules lying around.
* Make iso_addr's output conform to modern conventions for NSAPpst1994-09-221-18/+16
| | | | | representation. Original code by pst but ported in as part of enhancements to BIND 4.9.2 and returned to Vixie.
* Fix stupid memory-allocation error.wollman1994-09-221-3/+9
|
* Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,wollman1994-09-222-1/+235
| | | | | endvfsent, vfsisloadable, vfsload. Someday these will even be documented.
* Document YP support.wollman1994-09-202-29/+51
|
* My implementation of YP group file support, modeled after thewollman1994-09-201-6/+210
| | | | password file support done yesterday.
* Second half of YP security hole fix. Needs updated passwordwollman1994-09-201-5/+12
| | | | database in order to operate.
* Re-implement YP password file support from scratch. This implementationwollman1994-09-201-3/+215
| | | | correctly handles +user entries and + entries with local overrides.
* Maintain pw_fields, and output same to password database.wollman1994-09-201-0/+17
| | | | | | | | | | | !!!!!!!! NB !!!!!!!! You MUST pwd_mkdb /etc/master.passwd before attempting to use the new libc, or things may go wrong. (I doubt anything actually /will/ go wrong, but the actual behavior is undefined. YOU HAVE BEEN WARNED.) The database format is, however, backwards-compatible, so old executables will still work.
* Function in this module bloodly called 'gethostname' and linkedache1994-09-191-2/+2
| | | | | | with all pgms, you can imagine results! Change 'gethostname' -> 'ntp_gettime', I don't know what real name must be here but try to guess.
* Redo kernel NTP PLL support, user-mode interface.wollman1994-09-183-10/+69
|
* Added support for kernel profiling to mcount.cpaul1994-09-151-0/+4
|
* Use latest Arthur Olson timezone code rather than that supplied withwollman1994-09-138-71/+524
| | | | | 4.4. The code is almost identical to the 4.4 versions, but this organization should make it easier to merge new versions in the future.
* Added SYSV ipc system calls.dfr1994-09-1314-4/+199
|
* Port to FreeBSD. Not ready for inclusion in libc just yet, but herewollman1994-09-133-3/+12
| | | | so we can compile zic.
* This commit was generated by cvs2svn to compensate for changes in r2710,wollman1994-09-131-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * One more try, and if it doesn't work this time I'm giving up.wollman1994-09-131-1/+1
| | | | | | | | (Check in original localtime.c.)
* | This commit was generated by cvs2svn to compensate for changes in r2708,wollman1994-09-139-0/+4180
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * The rest of tzcode94g from Arthur David Olson.wollman1994-09-139-0/+4180
| | | | Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz
* Based on fix from 1.1.5.1:csgr1994-09-081-1/+10
| | | | | | | | | | | >From: jtk@atria.com (John T. Kohl) in rcmd: It calls select() with a hardcoded "number of file descriptors" argument of 32, rather than computing it based on the sockets about which it cares. - Now we work out the nfds arg, and do some error checking Submitted by: Geoff.
* document libcrypt and libcipher.csgr1994-09-081-0/+17
| | | | Submitted by: Geoff
* Make errors in /etc/fstab print the line numbers where they occured.jkh1994-09-081-2/+13
| | | | | Also be more tolerant of blank lines and comments in the file. Submitted by: jkh
* Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.bde1994-09-051-4/+2
| | | | Modernize bcopy -> memcpy.
* Fix printing of weird errno's: negative values were printed as largebde1994-09-051-5/+9
| | | | | | unsigned's; null termination was only guaranteed for the first call. Fix lint: don't declare externs internally; they were both out of date.
* u_int -> unsigned int, so that we don't have to include <sys/types.h>bde1994-09-051-2/+2
| | | | or depend on <stdio.h> bogusly including it.
* Fixed editing blunder.dg1994-09-011-2/+2
|
* Added rtprio system call stub and manual page.dg1994-09-012-4/+96
| | | | Submitted by: Henrik Vestergaard Draboel
* Build ntp_adjtime.o and ntp_gettime.o so that xntpd compiles.bde1994-08-311-9/+6
| | | | | | | | | | | | | | | Don't add to POBJS or SOBJS. bsd.lib.mk does it. Some objects were duplicated. Don't add to CLEANFILES. bsd.lib.mk does it. Some objects were quadruplicated. Define variables that are only used once close to where they are used. The ifdefs for avoiding building of profiled/shared objects when NOPROFILE/NOPIC are set were not actually committed. The ifdefs belong in bsd.lib.mk anyway.
* Fix comparison of int against unsigned when checking error returncsgr1994-08-311-2/+2
| | | | | | | from recvfrom() (This bug is also present in FreeBSD 1.1.5.1.) Bug Reported by : Thomas.Koenig@ciw.uni-karlsruhe.de Reviewed by: geoff.
* Undo some of Bruce's ``clean-up''. Don't be so damned verbose.wollman1994-08-301-6/+6
|
* Don't build .po's if NOPROFILE is defined.bde1994-08-281-10/+27
| | | | | | Don't build .so's if NOPIC is defined. Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
* gethostid.2 is now gethostid.3. Instal the correct one.bde1994-08-281-1/+1
|
* Fix gethostbyaddr():csgr1994-08-281-2/+2
| | | | | call _getdnsbyaddr() instead of _getdnsbyname() ;-) Submitted by: Geoff
* libc.so should be installed immutable.wollman1994-08-261-0/+1
|
* WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsudg1994-08-221-0/+1
| | | | | | <hsu@soda.berkeley.edu>. ...Moved over from 1.1.5. Other portions of this commit were done by moving the RCS files into place directly.
* This is weird. I *added this*, but it went away again! Ummm.. Mumble.jkh1994-08-222-0/+12
| | | | | I'm confused.. Submitted by: jkh
* Put __infinity back here again until someone does the right thing andjkh1994-08-202-2/+2
| | | | | | repartitions libc into something human again. I don't have that kind of time right now myself, unfortunately. Submitted by: jkh
* Fixed problem with returning -1 on error when the return value is adg1994-08-132-2/+4
| | | | | | | | long long. Done by plugging both eax and edx with -1. This will clobber edx unnecessarily when the return value is only 32bit...though probably always an okay thing to do, it could stand a better fix. This was the cause of gawk being broken (boy was THAT ever a subtle bug!!!).
* Oops, forgot to cvs add this file.wollman1994-08-101-0/+63
|
* Make it easier for programs to figure out what revision of FreeBSD theywollman1994-08-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | are running under. Here's how to bootstrap (order is important): 1) Re-compile gcc (just the driver is all you need). 2) Re-compile libc. 3) Re-compile your kernel. Reboot. 4) cd /usr/src/include; make install You can now detect the compilation environment with the following code: #if !defined(__FreeBSD__) #define __FreeBSD_version 199401 #elif __FreeBSD__ == 1 #define __FreeBSD_version 199405 #else #include <osreldate.h> #endif You can determine the run-time environment by calling the new C library function getosreldate(), or by examining the MIB variable kern.osreldate. For the time being, the release date is defined as 199409, which we have already established as our target.
* Add back set_rpc_grouplistsize(), so mount_nfs compiles again. Alsowollman1994-08-101-3/+28
| | | | fixed incipient bug wrt gid_t versus int.
* Fixed typo.wollman1994-08-091-2/+2
|
* Add (substantially re-written) support for /etc/host.conf, and reintegratedwollman1994-08-091-11/+196
| | | | | | | | | 1.1.5 support for YP, fixing a bug in 1.1.5 that prevented YP from ever working reliably. (I'm amazed that there were no bug reports.) IWBRNI someone could write a host.conf(5) manual page. Please look at the code before doing so; this version is somewhat more flexible in the format of its input.
* Add a missing backslash to get this to work again.jkh1994-08-081-1/+1
| | | | | Reviewed by: Submitted by: jkh
* Added YP domain name getting/setting support, for SunOS/old programwollman1994-08-083-7/+128
| | | | compatibility.
* Add back in the YP code from 1.1.5. (This attribution brought to youwollman1994-08-074-0/+1202
| | | | | by Theo de Raadt.) Added a new make flag variable, NO_YP_LIBC, which disables YP entirely. User-land programs to come later.
* More directory cleanup after YP merge.wollman1994-08-074-27/+8
|
OpenPOWER on IntegriCloud