Commit Graph

1997 Commits

Author SHA1 Message Date
jkh
9f70d99eda Put the cons25 entries for syscons back.
Submitted by:	jkh
1994-08-11 00:39:39 +00:00
wollman
af8613405f For Pentium machines, use a faster version of microtime with 8 usec
resolution (can probably be improved somewhat).  Other machines take
a three-instruction hit if I586_CPU is defined, none otherwise.
1994-08-11 00:28:24 +00:00
jkh
bbdb7f1d0e termcap.0 -> termcap.5
Submitted by:	jkh
1994-08-11 00:24:33 +00:00
jkh
979f298bc1 Correct me.0 -> me.7
Submitted by:	jkh
1994-08-11 00:11:44 +00:00
wollman
ad6af289bc Tell Pentium users their CPU speed. (More changes to make use of this
to come later.)
1994-08-10 23:28:33 +00:00
wollman
21b573232a Install procfs(5). 1994-08-10 20:04:57 +00:00
wollman
eed4ba2b31 Oops, fix typo. 1994-08-10 20:03:54 +00:00
wollman
d098da7bd9 Initial manual page for the new procfs. 1994-08-10 20:03:06 +00:00
dg
59538967d9 Initialize lockf pointer. I missed this when I made NFS use the generic
advlock mechanism, and not doing so results in random system crashes.
1994-08-10 19:48:23 +00:00
wollman
4133bd443a Gimme my `-k' option back! 1994-08-10 19:25:34 +00:00
wollman
670a01d488 Gimme back my `-k' option!
Also document `-t' option in the usage message.
1994-08-10 19:21:07 +00:00
jkh
8dd7fea002 Remove kerberosIV until it works or is replace with eBones.. It's
hosing my build worlds..
Submitted by:	jkh
1994-08-10 19:19:35 +00:00
wollman
bd5dd49713 Added example of how to tell various FreeBSD versions apart. 1994-08-10 06:40:36 +00:00
wollman
01a149f01b Oops, forgot to cvs add this file. 1994-08-10 06:27:35 +00:00
wollman
f0e3ec0f96 Make it easier for programs to figure out what revision of FreeBSD they
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.
1994-08-10 06:25:07 +00:00
wollman
723735466d Define __FreeBSD__ to be 2. 1994-08-10 06:12:51 +00:00
jkh
1b1c54c402 Change bogus --I to -I to make compilation happen again.
Submitted by:	jkh
1994-08-10 04:55:19 +00:00
wollman
27d6cc8585 Handle NMI's in accordance with data in van Gilluwe book. 1994-08-10 04:39:52 +00:00
wollman
4daa7a8637 Eliminate non-fatal error message so Jordan doesn't get confused. 1994-08-10 04:25:19 +00:00
wollman
4131cde334 Some programs (like GNU configure programs) depend on the output of
`uname -s' to be something reasonable (traditionally, `i386') rather
than `PC-Class'.  Make it so.
1994-08-10 03:53:33 +00:00
wollman
dfdb8b7e14 Add back in CPU detection copde from 1.1.5. As an added bonus, the
hw.model MIB variable is now declared correctly.
1994-08-10 03:51:18 +00:00
dg
90f432ed61 Fixed vm_page_deactivate to deal with getting called with a page that's
not on any queue. This is an old patchkit days fix.

Reviewed by:	John Dyson and David Greenman
Submitted by:	originally by Paul Mackerras
1994-08-10 03:09:37 +00:00
wollman
7d898724d7 Make the install targets obey the INSTALLFLAGS requests in the new
Makefiles.

DANGER WILL ROBINSON!

This will cause repeat installs of certain programs, such as `init' and
`rcp', to fail unless one of the two conditions is met:

	1) You are in single-user mode.
	2) Your security level is set to 0 or -1.

If you have compiled a kernel from the latest sources, your kernel
security level is set to -1 by default, which will keep `init' from
fiddling with it.  You can increase it, but not decrease it, from the
command line with the command `sysctl -w kern.securelevel=<new value>'.
I believe that -1 is the most appropriate value to use while we are still
developing the code, although when we ship it should be changed back to 0.

See init(8) for more information.
1994-08-10 02:48:08 +00:00
wollman
1a485fa264 Change default security level to -1, so that users don't get bitten by
upcoming makefile change.
1994-08-10 02:41:09 +00:00
wollman
08c11fa2ca Add back set_rpc_grouplistsize(), so mount_nfs compiles again. Also
fixed incipient bug wrt gid_t versus int.
1994-08-10 02:25:22 +00:00
jkh
da5752839b Nuke GNU pr.
Reviewed by:
Submitted by:
1994-08-10 00:24:25 +00:00
wollman
d20aae3469 Fixed typo. 1994-08-09 22:44:12 +00:00
wollman
004c5a3482 Add (substantially re-written) support for /etc/host.conf, and reintegrated
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.
1994-08-09 20:23:14 +00:00
csgr
6c62f898dd Install secure/lib/libcrypt as libdescrypt, and symlink it to
libcrypt.  There may be a little modification neede to this makefile once
we start working on tidy make world's.
Submitted by:	geoff.
1994-08-09 18:52:52 +00:00
csgr
d1a6399b68 The password scrambler now becomes libscrypt, and libcrypt is
a symlink to it. (The real libcrypt will be installed as libdescrypt.)
Submitted by:	Geoff.
1994-08-09 18:49:04 +00:00
wollman
7a77128a94 Make man page installation work for ``unattached'' and kernel pages. 1994-08-09 18:41:38 +00:00
wollman
815a22f28f Make examples install into /usr/share/examples. Like with includes, you
have a choice between SHARED=copies and SHARED=symlinks.  The default
is to copy.

I have also added a /usr/share/examples/etc directory, where I hope to
have all sample configuration files which in real use go into /etc installed.
(This way, if the user really screws the real one up, they can always go
back to a known-working distribution copy, even if they don't have sources.)
1994-08-09 18:25:38 +00:00
csgr
398d272114 This commit was generated by cvs2svn to compensate for changes in r1984,
which included commits to RCS files with non-trunk default branches.
1994-08-09 17:07:27 +00:00
csgr
d16f38c8f0 Nates password scrambler, from FreebSD 1.1.5, but with everything except
crypt() ripped out
Reviewed by:	Geoff Rehmet
Submitted by:	Nate Williams
1994-08-09 17:07:27 +00:00
wollman
42e9230261 Use a consistent name for librpcsvc.
Reviewed by:
Submitted by:	Found by Bruce Evans.
1994-08-09 16:56:28 +00:00
wollman
c52c9612a7 Add back librpcsvc. It builds fine on both my machine and thud, I don't
know what Jordan's problem was.
1994-08-09 16:29:20 +00:00
jkh
c310e3ec57 Punt duplicate declaration of sys_errlist[].
Submitted by:	jkh
1994-08-09 15:31:52 +00:00
jkh
ad74e8837e Delete two redundant declarations of _exit() and exit().
Submitted by:	jkh
1994-08-09 15:15:04 +00:00
dg
4dfef8927a Removed some padding bytes from the nfsnode struct to make the structure
size a power of 2 again. The system complains otherwise - probably because
it wastes space with our malloc scheme otherwise.
1994-08-09 15:10:14 +00:00
jkh
98758fdaff Remove kgdb for now until we figure out what our gdb strategy is going
to be (having two sucks, and this one doesn't even work for 2.0 now!).
Submitted by:	jkh
1994-08-09 14:48:35 +00:00
jkh
e6e4d38831 Merge in the necessary bits from 1.1.5.1 to make exec.h and reloc.h
happy campers again (e.g. match our own exec format).  This should
make ld happy.
Submitted by:	jkh
1994-08-09 14:39:57 +00:00
jkh
726074b4a4 Remove redundant (and conflicting) definition of sys_errlist.
Submitted by:	jkh
1994-08-09 12:07:44 +00:00
dg
12543ae820 Removed ntohl and ntohs functions. These were already inlined assembly in
endian.h.
1994-08-09 11:21:44 +00:00
dg
82430e77cf Removed an old, obsolete call to vmmeter(). This is called now in the
schedcpu() routine in kern/kern_synch.c. This extra call to vmmeter() in
vm_glue.c was what was totally messing up the load average calculations.
1994-08-09 10:42:41 +00:00
dg
87bb773c71 Now that the timezone specification is no longer allowed, don't issue a
warning that it is missing.
1994-08-09 08:52:53 +00:00
dg
0b8d504c00 Added various filesystems and multicast support options. Removed my
personal config file now that the GENERIC ones provide an adequate
template.
1994-08-09 08:17:09 +00:00
jkh
7970b61147 Comment out librpcv. Not there.
Submitted by:	jkh
1994-08-09 00:37:16 +00:00
phk
fd00b6e617 Submitted by: Bruce Evans <bde@kralizec.zeta.org.au>
Fixed the makefile.
1994-08-09 00:16:56 +00:00
jkh
a40e70b97c New 2.0 specific changes.
Reviewed by:
Submitted by:
1994-08-08 20:24:29 +00:00
jkh
cbc0195a68 Make uucp compile again in 2.0. A little perturbed about the comment
saying that 4.4 uses f_size in statfs, yet we're using b_size.  Anyway,
I've configured things to match our current environment.
Reviewed by:
Submitted by:
1994-08-08 20:24:12 +00:00