Commit Graph

78 Commits

Author SHA1 Message Date
ache
42017de88f Sync with ctype.h (remove EOF handling) 1994-10-09 11:20:55 +00:00
ache
078887695c Sync with ctype.h (EOF, sign extention fixes) 1994-10-08 17:42:45 +00:00
wollman
7c60a4347c Use same configuration file, /etc/host.conf, for both gethost* and
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.)
1994-09-26 22:45:10 +00:00
wollman
88bee1e698 Fixed YP networks map support. 1994-09-26 02:50:43 +00:00
pst
6f303e9935 remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
pst
4f0d0da86d get* rework and new bind code 1994-09-25 02:12:49 +00:00
wollman
b0059b7227 Document getvfsent() and kin. 1994-09-25 01:38:30 +00:00
wollman
81e5d29b29 Fix so that people who don't have LKMs compiled in their kernels don't
get hosed: vfsisloadable() always returns false if /dev/lkm cannot be
opened for writing.
1994-09-25 00:48:27 +00:00
ache
476696843b Make not-so-space-eaten locale version:
split modules to bring only neccessary functions,
eliminate sprintf, make reduced startup_locale version.
1994-09-24 15:59:33 +00:00
dg
8722740e7f Added $Id$ 1994-09-24 02:59:15 +00:00
wollman
a39c6d0505 If sysctl() fails, return "/kernel" so as not to screw people who haven't
updated their kernels yet.
1994-09-24 00:10:13 +00:00
wollman
89231ffae7 Added getbootfile(3), for an easy C interface to the kern.bootfile MIB
variable.  This one's even documented!
1994-09-23 20:22:01 +00:00
wollman
4c045ca123 Added *ran48 functions, and put them in the correct place this time.
Obtained from:	1.1.5
1994-09-23 00:37:55 +00:00
wollman
7970d2e69d Pass -q and -u flags to modload so that it shuts up and doesn't leave
modules lying around.
1994-09-22 22:36:57 +00:00
pst
dc4fe996ac Make iso_addr's output conform to modern conventions for NSAP
representation.  Original code by pst but ported in as part of
enhancements to BIND 4.9.2 and returned to Vixie.
1994-09-22 19:31:29 +00:00
wollman
6513c1883f Fix stupid memory-allocation error. 1994-09-22 02:17:26 +00:00
wollman
6c7f19942f Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,
endvfsent, vfsisloadable, vfsload.
Someday these will even be documented.
1994-09-22 01:07:37 +00:00
wollman
1a7a5b2188 Document YP support. 1994-09-20 22:02:20 +00:00
wollman
ebfe3ce6c7 My implementation of YP group file support, modeled after the
password file support done yesterday.
1994-09-20 21:43:27 +00:00
wollman
d7672fbe55 Second half of YP security hole fix. Needs updated password
database in order to operate.
1994-09-20 21:42:12 +00:00
wollman
491552a4bd Re-implement YP password file support from scratch. This implementation
correctly handles +user entries and + entries with local overrides.
1994-09-20 01:23:45 +00:00
wollman
c9c7dd75b7 Maintain pw_fields, and output same to password database.
!!!!!!!!
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.
1994-09-20 01:15:08 +00:00
ache
baa424eb82 Function in this module bloodly called 'gethostname' and linked
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.
1994-09-19 22:04:28 +00:00
wollman
5de9aa67de Redo kernel NTP PLL support, user-mode interface. 1994-09-18 20:29:55 +00:00
paul
0a8a4cff4f Added support for kernel profiling to mcount.c 1994-09-15 16:00:41 +00:00
wollman
7fa1ec8f19 Use latest Arthur Olson timezone code rather than that supplied with
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.
1994-09-13 21:26:08 +00:00
dfr
bed8e3af71 Added SYSV ipc system calls. 1994-09-13 14:52:45 +00:00
wollman
b80021e668 Port to FreeBSD. Not ready for inclusion in libc just yet, but here
so we can compile zic.
1994-09-13 03:50:58 +00:00
wollman
91bd59b78c This commit was generated by cvs2svn to compensate for changes in r2710,
which included commits to RCS files with non-trunk default branches.
1994-09-13 03:44:49 +00:00
wollman
448e2f9aba One more try, and if it doesn't work this time I'm giving up.
(Check in original localtime.c.)
1994-09-13 03:44:49 +00:00
wollman
458460a943 This commit was generated by cvs2svn to compensate for changes in r2708,
which included commits to RCS files with non-trunk default branches.
1994-09-13 03:39:01 +00:00
wollman
cbc72118ba The rest of tzcode94g from Arthur David Olson.
Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz
1994-09-13 03:39:01 +00:00
csgr
7ca8cf71da Based on fix from 1.1.5.1:
>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.
1994-09-08 20:55:02 +00:00
csgr
db70eb1cc3 document libcrypt and libcipher.
Submitted by:	Geoff
1994-09-08 19:46:57 +00:00
jkh
5920351a49 Make errors in /etc/fstab print the line numbers where they occured.
Also be more tolerant of blank lines and comments in the file.
Submitted by:	jkh
1994-09-08 09:21:00 +00:00
bde
2933861562 Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.
Modernize bcopy -> memcpy.
1994-09-05 13:41:33 +00:00
bde
ed0e48f6c0 Fix printing of weird errno's: negative values were printed as large
unsigned's; null termination was only guaranteed for the first call.

Fix lint: don't declare externs internally; they were both out of date.
1994-09-05 13:37:43 +00:00
bde
5a325be3b5 u_int -> unsigned int, so that we don't have to include <sys/types.h>
or depend on <stdio.h> bogusly including it.
1994-09-05 13:26:40 +00:00
dg
1bc615af71 Fixed editing blunder. 1994-09-01 12:09:17 +00:00
dg
8b1ffe3ff3 Added rtprio system call stub and manual page.
Submitted by:	Henrik Vestergaard Draboel
1994-09-01 09:52:37 +00:00
bde
6eb79dae2d Build ntp_adjtime.o and ntp_gettime.o so that xntpd compiles.
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.
1994-08-31 15:18:06 +00:00
csgr
70af780508 Fix comparison of int against unsigned when checking error return
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.
1994-08-31 12:38:18 +00:00
wollman
4275234ba7 Undo some of Bruce's ``clean-up''. Don't be so damned verbose. 1994-08-30 21:46:05 +00:00
bde
af9bbad3e5 Don't build .po's if NOPROFILE is defined.
Don't build .so's if NOPIC is defined.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
1994-08-28 17:34:16 +00:00
bde
998cab9143 gethostid.2 is now gethostid.3. Instal the correct one. 1994-08-28 17:08:36 +00:00
csgr
33e047d3b0 Fix gethostbyaddr():
call _getdnsbyaddr() instead of _getdnsbyname() ;-)
Submitted by:	Geoff
1994-08-28 13:33:10 +00:00
wollman
22a09d534e libc.so should be installed immutable. 1994-08-26 18:59:39 +00:00
dg
292c4363f6 WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsu
<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.
1994-08-22 10:49:05 +00:00
jkh
4475596713 This is weird. I *added this*, but it went away again! Ummm.. Mumble.
I'm confused..
Submitted by:	jkh
1994-08-22 09:19:50 +00:00
jkh
ee89c5a365 Put __infinity back here again until someone does the right thing and
repartitions libc into something human again.  I don't have that kind of
time right now myself, unfortunately.
Submitted by:	jkh
1994-08-20 20:16:57 +00:00