summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Document YP support.Garrett Wollman1994-09-202-29/+51
| | | | Notes: svn path=/head/; revision=2937
* My implementation of YP group file support, modeled after theGarrett Wollman1994-09-201-6/+210
| | | | | | | password file support done yesterday. Notes: svn path=/head/; revision=2936
* Second half of YP security hole fix. Needs updated passwordGarrett Wollman1994-09-201-5/+12
| | | | | | | database in order to operate. Notes: svn path=/head/; revision=2935
* Re-implement YP password file support from scratch. This implementationGarrett Wollman1994-09-201-3/+215
| | | | | | | correctly handles +user entries and + entries with local overrides. Notes: svn path=/head/; revision=2917
* Maintain pw_fields, and output same to password database.Garrett 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. Notes: svn path=/head/; revision=2916
* Function in this module bloodly called 'gethostname' and linkedAndrey A. Chernov1994-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. Notes: svn path=/head/; revision=2908
* Redo kernel NTP PLL support, user-mode interface.Garrett Wollman1994-09-183-10/+69
| | | | Notes: svn path=/head/; revision=2857
* Added support for kernel profiling to mcount.cPaul Richards1994-09-151-0/+4
| | | | Notes: svn path=/head/; revision=2800
* Use latest Arthur Olson timezone code rather than that supplied withGarrett Wollman1994-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. Notes: svn path=/head/; revision=2741
* Added SYSV ipc system calls.Doug Rabson1994-09-1314-4/+199
| | | | Notes: svn path=/head/; revision=2730
* Port to FreeBSD. Not ready for inclusion in libc just yet, but hereGarrett Wollman1994-09-133-3/+12
| | | | | | | so we can compile zic. Notes: svn path=/head/; revision=2713
* This commit was generated by cvs2svn to compensate for changes in r2710,Garrett Wollman1994-09-131-1/+1
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=2711
| * One more try, and if it doesn't work this time I'm giving up.Garrett Wollman1994-09-131-1/+1
| | | | | | | | | | | | | | (Check in original localtime.c.) Notes: svn path=/vendor/tzcode/dist/; revision=2710
* | This commit was generated by cvs2svn to compensate for changes in r2708,Garrett Wollman1994-09-139-0/+4180
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=2709
| * The rest of tzcode94g from Arthur David Olson.Garrett Wollman1994-09-139-0/+4180
| | | | | | | Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz Notes: svn path=/vendor/tzcode/dist/; revision=2708
* Based on fix from 1.1.5.1:Geoff Rehmet1994-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. Notes: svn path=/head/; revision=2592
* document libcrypt and libcipher.Geoff Rehmet1994-09-081-0/+17
| | | | | | | Submitted by: Geoff Notes: svn path=/head/; revision=2590
* Make errors in /etc/fstab print the line numbers where they occured.Jordan K. Hubbard1994-09-081-2/+13
| | | | | | | | Also be more tolerant of blank lines and comments in the file. Submitted by: jkh Notes: svn path=/head/; revision=2569
* Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.Bruce Evans1994-09-051-4/+2
| | | | | | | Modernize bcopy -> memcpy. Notes: svn path=/head/; revision=2506
* Fix printing of weird errno's: negative values were printed as largeBruce Evans1994-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. Notes: svn path=/head/; revision=2505
* u_int -> unsigned int, so that we don't have to include <sys/types.h>Bruce Evans1994-09-051-2/+2
| | | | | | | or depend on <stdio.h> bogusly including it. Notes: svn path=/head/; revision=2504
* Fixed editing blunder.David Greenman1994-09-011-2/+2
| | | | Notes: svn path=/head/; revision=2448
* Added rtprio system call stub and manual page.David Greenman1994-09-012-4/+96
| | | | | | | Submitted by: Henrik Vestergaard Draboel Notes: svn path=/head/; revision=2443
* Build ntp_adjtime.o and ntp_gettime.o so that xntpd compiles.Bruce Evans1994-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. Notes: svn path=/head/; revision=2425
* Fix comparison of int against unsigned when checking error returnGeoff Rehmet1994-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. Notes: svn path=/head/; revision=2424
* Undo some of Bruce's ``clean-up''. Don't be so damned verbose.Garrett Wollman1994-08-301-6/+6
| | | | Notes: svn path=/head/; revision=2418
* Don't build .po's if NOPROFILE is defined.Bruce Evans1994-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. Notes: svn path=/head/; revision=2366
* gethostid.2 is now gethostid.3. Instal the correct one.Bruce Evans1994-08-281-1/+1
| | | | Notes: svn path=/head/; revision=2362
* Fix gethostbyaddr():Geoff Rehmet1994-08-281-2/+2
| | | | | | | | call _getdnsbyaddr() instead of _getdnsbyname() ;-) Submitted by: Geoff Notes: svn path=/head/; revision=2330
* libc.so should be installed immutable.Garrett Wollman1994-08-261-0/+1
| | | | Notes: svn path=/head/; revision=2299
* WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey HsuDavid Greenman1994-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. Notes: svn path=/head/; revision=2203
* This is weird. I *added this*, but it went away again! Ummm.. Mumble.Jordan K. Hubbard1994-08-222-0/+12
| | | | | | | | I'm confused.. Submitted by: jkh Notes: svn path=/head/; revision=2201
* Put __infinity back here again until someone does the right thing andJordan K. Hubbard1994-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 Notes: svn path=/head/; revision=2157
* Fixed problem with returning -1 on error when the return value is aDavid Greenman1994-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!!!). Notes: svn path=/head/; revision=2058
* Oops, forgot to cvs add this file.Garrett Wollman1994-08-101-0/+63
| | | | Notes: svn path=/head/; revision=2005
* Make it easier for programs to figure out what revision of FreeBSD theyGarrett Wollman1994-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. Notes: svn path=/head/; revision=2004
* Add back set_rpc_grouplistsize(), so mount_nfs compiles again. AlsoGarrett Wollman1994-08-101-3/+28
| | | | | | | fixed incipient bug wrt gid_t versus int. Notes: svn path=/head/; revision=1994
* Fixed typo.Garrett Wollman1994-08-091-2/+2
| | | | Notes: svn path=/head/; revision=1992
* Add (substantially re-written) support for /etc/host.conf, and reintegratedGarrett Wollman1994-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. Notes: svn path=/head/; revision=1991
* Add a missing backslash to get this to work again.Jordan K. Hubbard1994-08-081-1/+1
| | | | | | | | Reviewed by: Submitted by: jkh Notes: svn path=/head/; revision=1950
* Added YP domain name getting/setting support, for SunOS/old programGarrett Wollman1994-08-083-7/+128
| | | | | | | compatibility. Notes: svn path=/head/; revision=1926
* Add back in the YP code from 1.1.5. (This attribution brought to youGarrett Wollman1994-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. Notes: svn path=/head/; revision=1919
* More directory cleanup after YP merge.Garrett Wollman1994-08-074-27/+8
| | | | Notes: svn path=/head/; revision=1916
* Add Sun RPC documentation, which should eventually go into our PSD.Garrett Wollman1994-08-076-0/+9681
| | | | | | | (I think I'm up to part 6.) Notes: svn path=/head/; revision=1904
* Moving RPC stuff into libc, part 2.Garrett Wollman1994-08-079-0/+2947
| | | | Notes: svn path=/head/; revision=1902
* Moving Sun RPC code into libc, part 1. Based on work done by a number ofGarrett Wollman1994-08-0741-0/+8555
| | | | | | | | people, including J.T. Conklin, Theo de Raadt, Paul Richards, and probably someone else who's going to flame me as soon as they see this message. Notes: svn path=/head/; revision=1901
* Converted 'vmunix' to 'kernel'.David Greenman1994-08-051-2/+2
| | | | Notes: svn path=/head/; revision=1856
* First crack at making libc work with the new make macros. It compiles onGarrett Wollman1994-08-0589-106/+4729
| | | | | | | | my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge. Notes: svn path=/head/; revision=1849
* Rewrite nlist to mmap the whole a.out file (at Davidg's suggestion).Geoff Rehmet1994-07-221-36/+47
| | | | | | | | | This means that we don't have to do rounding calculations for page boundaries. (We do all our accesses via the mmapped area now.) Reviewed by: Notes: svn path=/head/; revision=1794
* Pull in GNU2 fix for this from FreeBSD, allows ldexp.c to compile withRodney W. Grimes1994-05-272-0/+20
| | | | | | | gcc2.x Notes: svn path=/head/; revision=1585