Commit Graph

2036 Commits

Author SHA1 Message Date
Garrett Wollman
29c0a86011 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
David Greenman
28b5c68f2f 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
Garrett Wollman
45f7f888bb 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
Garrett Wollman
6ae6a09b83 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
Garrett Wollman
6a39a56770 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
Jordan K. Hubbard
1a7466e84a Nuke GNU pr.
Reviewed by:
Submitted by:
1994-08-10 00:24:25 +00:00
Garrett Wollman
d669ce372d Fixed typo. 1994-08-09 22:44:12 +00:00
Garrett Wollman
b42815434e 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
Geoff Rehmet
7dc2bee339 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
Geoff Rehmet
f5db7b1cf9 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
Garrett Wollman
8ccf48ea2d Make man page installation work for ``unattached'' and kernel pages. 1994-08-09 18:41:38 +00:00
Garrett Wollman
99e4ba4265 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
Geoff Rehmet
0e27b8d587 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
Garrett Wollman
d2845bc56b Use a consistent name for librpcsvc.
Reviewed by:
Submitted by:	Found by Bruce Evans.
1994-08-09 16:56:28 +00:00
Garrett Wollman
ae6bbc9a7b 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
Jordan K. Hubbard
40735e19b9 Punt duplicate declaration of sys_errlist[].
Submitted by:	jkh
1994-08-09 15:31:52 +00:00
Jordan K. Hubbard
6464a7f87d Delete two redundant declarations of _exit() and exit().
Submitted by:	jkh
1994-08-09 15:15:04 +00:00
David Greenman
4b43e1d8ca 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
Jordan K. Hubbard
ec94de0d83 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
Jordan K. Hubbard
52cd438439 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
Jordan K. Hubbard
1eb04b89a8 Remove redundant (and conflicting) definition of sys_errlist.
Submitted by:	jkh
1994-08-09 12:07:44 +00:00
David Greenman
95b671fc95 Removed ntohl and ntohs functions. These were already inlined assembly in
endian.h.
1994-08-09 11:21:44 +00:00
David Greenman
92a34c0c6d 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
David Greenman
ce7ece3713 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
David Greenman
e9b3179b97 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
Jordan K. Hubbard
9b9185af8d Comment out librpcv. Not there.
Submitted by:	jkh
1994-08-09 00:37:16 +00:00
Poul-Henning Kamp
627e55f2c5 Submitted by: Bruce Evans <bde@kralizec.zeta.org.au>
Fixed the makefile.
1994-08-09 00:16:56 +00:00
Jordan K. Hubbard
7129790a6c New 2.0 specific changes.
Reviewed by:
Submitted by:
1994-08-08 20:24:29 +00:00
Jordan K. Hubbard
aeddb76205 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
Jordan K. Hubbard
8a7b6c16fa WHOOPS! Put that back! Sorry, wrong Makefile.inc!
[slinks away embarassed].  It's NOSHARED again ("Gee, sorry about that
honey!  I could have *sworn* the safety was on!").

Reviewed by:
Submitted by:	jkh
1994-08-08 19:30:03 +00:00
Jordan K. Hubbard
fe7d760f52 Removed NOSHARED. "It's safe now, honey."
Reviewed by:
Submitted by:	jkh
1994-08-08 19:28:26 +00:00
Jordan K. Hubbard
c74eeed801 Correct the man page extent.
Submitted by:	jkh
1994-08-08 19:26:23 +00:00
Jordan K. Hubbard
7105368244 Boy, was *this* ever bollixed!
1. Copyright files looked for in the wrong place

2. cmp was looking in wrong place for test data.

3. Driver for test not linked static, thus dynamic resolution of library
   not working.

4. Man page installation not consistent with source.

Reviewed by:
Submitted by:	jkh
1994-08-08 19:22:14 +00:00
Jordan K. Hubbard
eaf83dc038 Make this work even if make depend is not run.
Reviewed by:
Submitted by:	jkh
1994-08-08 18:54:08 +00:00
Geoff Rehmet
3f64ea42b6 add lib subdir 1994-08-08 17:49:22 +00:00
Geoff Rehmet
b7dd315906 add Makefiles for secure/lib. Makefile.inc just includes src/lib/Makefile.inc
in order to get things like SHLIB_MAJOR etc.
1994-08-08 17:42:36 +00:00
David Greenman
92dc7331c9 Made lockf advisory locking code generic (rather than ufs specific), and
use it in NFS. This is required both for diskless support and for POSIX
compliance. Note: the support in NFS is only for the local node.

Submitted by:	based on work originally done by Yuval Yurom
1994-08-08 17:31:01 +00:00
Geoff Rehmet
712ca8b499 Modify libcrypt so that the only exported symbol is _crypt().
Submitted by:	 Geoff Rehmet
1994-08-08 17:29:04 +00:00
Geoff Rehmet
c4f09032cb Unecumbered securedist from FreeBSD 1.1.5.1 - sources for libcrypt.
The next commit will remove all symbols except _crypt()
Reviewed by:	Geoff Rehmet
Submitted by:	David Burren
1994-08-08 17:18:09 +00:00
Guido van Rooij
5d2d59d9aa 1. Correct invalid setsid and ioctl return value checks.
2. set some seteuid calls to allow sliplogin to be run by users from the
   commandline in stead of from login inlo.

Submitted by:	guido
1994-08-08 17:14:46 +00:00
Jordan K. Hubbard
3578b06c6a Fix a compilation-stopping typo; whoops, David - more sleep! :-)
Submitted by:	jkh
1994-08-08 16:45:11 +00:00
Garrett Wollman
920f8baa30 Don't pass ${LDADD} to ${AR}. Use ${ARADD} for that. 1994-08-08 15:45:55 +00:00
Garrett Wollman
57034e7407 Run-time configuration of VFS update interval. Old UPDATE_INTERVAL
configuration option is no longer supported.
1994-08-08 15:41:08 +00:00
Garrett Wollman
ebe06549fd Suppress irritating extra newline after kern.boottime. 1994-08-08 15:37:35 +00:00
Jordan K. Hubbard
b10e56dadd Add a missing backslash to get this to work again.
Reviewed by:
Submitted by:	jkh
1994-08-08 15:17:41 +00:00
Garrett Wollman
021ce2d62e Disallow timezone specification, but still allow it to be present
if it is zero (so that we can parse old config files).
1994-08-08 15:09:40 +00:00
David Greenman
e80859e4d6 Last commit for this file should have read:
Reduced maximum transfer size by one to allow for catching a too large
condition correctly. Do single block I/O if the size is too large.

Submitted by:	Bruce Evans
1994-08-08 13:56:46 +00:00
David Greenman
7d7bb69d41 Detect the "EOF" condition. Specifically, end of partition.
Submitted by:	Bruce Evans
1994-08-08 13:53:55 +00:00
David Greenman
8867d2f19c Added support for SIOCSIFMTU. 1994-08-08 13:33:16 +00:00
David Greenman
4e68ceaba0 Process tracing code. Written by Sean Eric Fagan.
Submitted by:	Sean Eric Fagan
1994-08-08 13:00:27 +00:00