summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* sysctl(3) can return an error (setting errno to ENOMEM) when theGarrett Wollman1994-10-132-28/+90
| | | | | | | | fields in the utsname structure are too small to hold their corresponding MIB variables. Don't return an error in this case. Notes: svn path=/head/; revision=3565
* Sync with ctype.h (remove EOF handling)Andrey A. Chernov1994-10-091-9/+0
| | | | Notes: svn path=/head/; revision=3457
* Sync with ctype.h (EOF, sign extention fixes)Andrey A. Chernov1994-10-081-0/+17
| | | | Notes: svn path=/head/; revision=3434
* Use same configuration file, /etc/host.conf, for both gethost* andGarrett Wollman1994-09-261-7/+9
| | | | | | | | | getnet* configuration. (It's highly unlikely that you'd want to do something different, and network lookups aren't common enough to justify their own configuration file.) Notes: svn path=/head/; revision=3136
* Fixed YP networks map support.Garrett Wollman1994-09-261-7/+24
| | | | Notes: svn path=/head/; revision=3108
* remove need for -DDEBUG from resolver code (conflict with db/hash)Paul Traina1994-09-257-77/+38
| | | | Notes: svn path=/head/; revision=3094
* get* rework and new bind codePaul Traina1994-09-2515-1090/+2785
| | | | Notes: svn path=/head/; revision=3070
* Document getvfsent() and kin.Garrett Wollman1994-09-252-2/+232
| | | | Notes: svn path=/head/; revision=3062
* Fix so that people who don't have LKMs compiled in their kernels don'tGarrett Wollman1994-09-251-0/+8
| | | | | | | | get hosed: vfsisloadable() always returns false if /dev/lkm cannot be opened for writing. Notes: svn path=/head/; revision=3061
* Make not-so-space-eaten locale version:Andrey A. Chernov1994-09-2412-290/+525
| | | | | | | | split modules to bring only neccessary functions, eliminate sprintf, make reduced startup_locale version. Notes: svn path=/head/; revision=3050
* Added $Id$David Greenman1994-09-243-0/+6
| | | | Notes: svn path=/head/; revision=3044
* If sysctl() fails, return "/kernel" so as not to screw people who haven'tGarrett Wollman1994-09-241-2/+2
| | | | | | | updated their kernels yet. Notes: svn path=/head/; revision=3042
* Added getbootfile(3), for an easy C interface to the kern.bootfile MIBGarrett Wollman1994-09-233-13/+140
| | | | | | | variable. This one's even documented! Notes: svn path=/head/; revision=3040
* Added *ran48 functions, and put them in the correct place this time.Garrett Wollman1994-09-2313-2/+476
| | | | | | | Obtained from: 1.1.5 Notes: svn path=/head/; revision=3016
* Pass -q and -u flags to modload so that it shuts up and doesn't leaveGarrett Wollman1994-09-221-1/+1
| | | | | | | modules lying around. Notes: svn path=/head/; revision=3001
* Make iso_addr's output conform to modern conventions for NSAPPaul Traina1994-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. Notes: svn path=/head/; revision=2978
* Fix stupid memory-allocation error.Garrett Wollman1994-09-221-3/+9
| | | | Notes: svn path=/head/; revision=2970
* Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,Garrett Wollman1994-09-222-1/+235
| | | | | | | | endvfsent, vfsisloadable, vfsload. Someday these will even be documented. Notes: svn path=/head/; revision=2963
* 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