Commit Graph

13855 Commits

Author SHA1 Message Date
Stefan Eßer
4beaf036a6 Fix range check to actually test the variable that will be used as
an index later.

Submitted by:	Erich Stefan Boleyn <erich@uruk.org>
1996-05-18 17:32:20 +00:00
John Dyson
7f5fe93fc7 One more file missing from the mega-commit. This inlines some very
simple routines in vm_page.c, so that an unnecessary subroutine call
is removed.
1996-05-18 04:00:18 +00:00
John Dyson
1b4435b8ce File mistakenly left out of the previous mega-commit. This provides
a global defn for 'exech_map.'
1996-05-18 03:52:13 +00:00
John Dyson
b18bfc3da7 This set of commits to the VM system does the following, and contain
contributions or ideas from Stephen McKay <syssgm@devetir.qld.gov.au>,
Alan Cox <alc@cs.rice.edu>, David Greenman <davidg@freebsd.org> and me:

	More usage of the TAILQ macros.  Additional minor fix to queue.h.
	Performance enhancements to the pageout daemon.
		Addition of a wait in the case that the pageout daemon
		has to run immediately.
		Slightly modify the pageout algorithm.
	Significant revamp of the pmap/fork code:
		1) PTE's and UPAGES's are NO LONGER in the process's map.
		2) PTE's and UPAGES's reside in their own objects.
		3) TOTAL elimination of recursive page table pagefaults.
		4) The page directory now resides in the PTE object.
		5) Implemented pmap_copy, thereby speeding up fork time.
		6) Changed the pv entries so that the head is a pointer
		   and not an entire entry.
		7) Significant cleanup of pmap_protect, and pmap_remove.
		8) Removed significant amounts of machine dependent
		   fork code from vm_glue.  Pushed much of that code into
		   the machine dependent pmap module.
		9) Support more completely the reuse of already zeroed
		   pages (Page table pages and page directories) as being
		   already zeroed.
	Performance and code cleanups in vm_map:
		1) Improved and simplified allocation of map entries.
		2) Improved vm_map_copy code.
		3) Corrected some minor problems in the simplify code.
	Implemented splvm (combo of splbio and splimp.)  The VM code now
		seldom uses splhigh.
	Improved the speed of and simplified kmem_malloc.
	Minor mod to vm_fault to avoid using pre-zeroed pages in the case
		of objects with backing objects along with the already
		existant condition of having a vnode.  (If there is a backing
		object, there will likely be a COW...  With a COW, it isn't
		necessary to start with a pre-zeroed page.)
	Minor reorg of source to perhaps improve locality of ref.
1996-05-18 03:38:05 +00:00
Paul Traina
b667dc9a51 Disable setuid permission for mount_union(1).
This covers the security problem descibed in SA-96:10 and Jeff says that
when we upgrade to Lite2 (which fixes this problem), mount no longer needs
to be setuid, so we'll never be going back.

Submitted by:	hsu
Reviewed by:    pst
1996-05-17 22:46:01 +00:00
Rich Murphey
9e07313af0 Clarified some of the examples and changed their syntax to
make them more consistent.

Submitted by:	Rich
1996-05-17 17:36:29 +00:00
Garrett Wollman
6335830372 Fix for vfsload(3):
- Don't allow non-root users to specify LKMDIR.
- Don't allow any users to specify TMPDIR.
- Call /sbin/modload using execl() rather than execlp().
1996-05-17 15:35:13 +00:00
Jordan K. Hubbard
732c4ca735 I think these reference tags (given the context of the sentence) make
more sense.
1996-05-17 11:16:51 +00:00
Jordan K. Hubbard
734d08a223 A patch for the meteor device driver. It fixes:
1) A spelling error pointed out by Paco Hope.
       2) A bug in the range checking routing pointed out by Jim Bray.
       3) Enables the setting of frames per second.
Submitted-By: Jim Lowe <james@miller.cs.uwm.edu>
1996-05-17 09:43:15 +00:00
Jordan K. Hubbard
bf8788a4bd Large security hole in mount_union, the underlying filesystem for which doesn't
even work.  Until pst wakes up, best action deemed to be the simple disabling
of this command.
1996-05-17 08:48:50 +00:00
Jordan K. Hubbard
b92bf7517c freefall's new sendmail.cf file.
Submitted by:	gpalmer
1996-05-17 07:47:34 +00:00
Mike Pritchard
e86e84fe4e Mention that the "file:/usr/share/doc/..." URLs are only accessible
on machines running FreeBSD 2.1 or later.

Pointed out-by:  Felipe Garcia <fxg@usis.usemb.se>
1996-05-16 23:25:18 +00:00
Mike Pritchard
09d44b1ef5 (This really shouldn't all be on one commit, but I forgot
I was in the middle of one of these "projects" when I started
on the next, so they wound up all intermixed)

Move the mailing list entities from authors.sgml to the new file
lists.sgml.  Add an entity for majordomo at the same time.

Avoid the use of contractions.  This revealed some grammer problems,
and also has the benefit of helping make things clearer for those people
who do make speak English as a their first language.
1996-05-16 23:18:28 +00:00
Mike Pritchard
63cf8b69f9 Correct the Mathematica install section to correctly match
up the example output with the text description.

Submitted by:	Rich Murphey <rich@rich.isdn.bcm.tmc.edu>
1996-05-16 22:50:29 +00:00
Jordan K. Hubbard
a34162e6e8 Make some long-overdue updates in the install document, add
freebsd-emulation list to entities.
1996-05-16 20:20:57 +00:00
Jordan K. Hubbard
743b6f12fe Correct device list. 1996-05-16 20:06:14 +00:00
Jordan K. Hubbard
56e465434a Bring this a little more up to date. 1996-05-16 20:01:26 +00:00
Bill Paul
2694f9b9a8 - Patch around amd core dump problem: don't allow yp_unbind() or _yp_unbind()
to call clnt_destroy() on a potentially NULL RPC handle. Somebody should
  bang on this a bit to make sure the problem is really gone; I seem to
  have difficulty reproducing it. Patch provided by Peter Wemm and
  slightly tweaked by me.

- Don't call _yp_unbind() in individual ypclnt functions unless we encounter
  an RPC error while making a clnt_call().
1996-05-16 18:01:17 +00:00
Jordan K. Hubbard
e160c5f148 Rethink the previous X distribution change. Including COMPAT_21 is just
bogus, and I think I'll simply see that the X distribtion is rebuilt for
-current before doing another snapshot for it. :-)
1996-05-16 13:39:08 +00:00
Jordan K. Hubbard
cdb7618ef9 Get X user and X developer distributions checked correctly again in menus.
Oh yeah, last commit also fixed (I hope) the /etc/sysinstall not being
written on Custom installation problem.
1996-05-16 13:30:24 +00:00
Jordan K. Hubbard
16185b823a Fix some long-standing malloc bugs in the package handling code (freeing garbage
in one place, leaking memory in another).

Add a facility to invoke subsystems directly by naming them on
sysinstall's command-line when running post-install.  A replacement
for pkg_manage might, for example, be `/stand/sysinstall configPackages'

Fix bogon where upgrade shell was entered with tty modes spammed.

Fix bug with release name checking in ftp_strat.  Turned a bunch of
bogus exit()s into proper calls to systemShutdown().
1996-05-16 11:47:46 +00:00
Jordan K. Hubbard
fe85fe95db Simply comment-out BUILDNAME and CHROOTDIR - they should be set at the time of
make's invocation.
1996-05-16 03:20:52 +00:00
Mike Pritchard
fd0ca8903b Convert f2c.1 to mdoc format.
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1996-05-15 20:27:10 +00:00
Mike Pritchard
ef5370ab8d Mention the fact that the ability to specify uid ranges was added
to the system after 2.1 was released.
1996-05-15 19:40:57 +00:00
Joerg Wunsch
ff5e456860 Add ewinter@lobo.muc.de (Ernst Winter) for his contribution of a 2.88
MB floppy drive to the project.  This will hopefully increase the
pressure for me to rewrite the floppy disk driver some day. :)
1996-05-15 17:32:46 +00:00
John Fieber
95bb3b9747 Fix a few HTML 2.0 violations. 1996-05-15 17:05:17 +00:00
Nate Williams
d953e28acd The Makefile assumed that builder had '.' in it's path, which is a
security hole for root.  Fix this oversight and clean up the build of
'hack.onames.h' which should be built everytime.

Tested with/without obj directories and .depend files.

Noticed by:	"Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
1996-05-15 16:54:05 +00:00
John Fieber
eaba388d1a Fixed botched cross reference (target was not defined). 1996-05-15 15:17:28 +00:00
Wolfram Schneider
60fa1b8390 Makewhatis appended the filename to list of keywords if no keyword
matched the filename. Now put the list after the filename. E.g.

filename: vt220keys.1
Keyword: vt220

was: vt220(1), vt220keys(1)   - define SHIFTED [...]
now: vt220keys(1), vt220(1)   - define SHIFTED [...]
1996-05-14 23:07:05 +00:00
Rich Murphey
e29f7c9bfd This is a guide to installing the linux emulator with specific
instructions on installing and running Mathematica's Linux binary.
Written by Brian N. Handy, Chuck Robey and myself.

Reviewed by:	jordan
1996-05-14 20:31:53 +00:00
Garrett Wollman
0d0a40202c Accept mount(8)'s calling convention of passing just the filesystem type
as argv[0].
1996-05-14 15:16:49 +00:00
Poul-Henning Kamp
1bccdd4ade Commit the right version of mkCTM, <:-)
Noticed by:	"Philippe Charnier" <charnier@lirmm.fr>
1996-05-14 07:25:59 +00:00
Wolfram Schneider
62824f4907 catman -> catman.local
This is currently a no-op, because a wisely man did not
enable catman by default (in comments).
1996-05-13 22:05:10 +00:00
Garrett Wollman
ae387fc9af One program I missed in removing MOUNT_* constants. 1996-05-13 17:56:34 +00:00
Garrett Wollman
5e074e31a2 Get rid of the last vestiges of the old MOUNT_* constants in the
mount_* programs.  While we're at it, collapse the four now-identical
mount programs for devfs, fdesc, kernfs, and procfs into links to
a new mount_std(8) which can mount any really generic filesystem
such as these when called with the appropriate argv[0].

Also, convert the mount programs to use sysexits.h.
1996-05-13 17:43:19 +00:00
Andrey A. Chernov
49968bb8cf When two units swapped, copy SC_STATIC flag too, not clear it 1996-05-13 14:18:18 +00:00
Andrey A. Chernov
d99bab06b5 Prevent mixing of static and dynamic unit allocation strategies 1996-05-13 14:09:34 +00:00
Satoshi Asami
9d9092ed48 Change Bernd's e-address. 1996-05-13 09:31:34 +00:00
Satoshi Asami
1af0e025c9 Add #ifndef/#endif around the "#define CCD_OFFSET 16", so you can override
it in your kernel config file.

Requested (in essence) by:	phk
1996-05-13 09:17:42 +00:00
Satoshi Asami
0d88ef072c Leave 16 lines in front of each component partition. It's now safe to
use sd87a or sd237e even if they start at the beginning of the slice.

You can also use sd85c if you prefer, although you need to change the
type field in the disklabel to "4.2BSD".
1996-05-13 08:38:15 +00:00
Poul-Henning Kamp
61f20a4c29 PR: bin/1194: PPP server port not initialized
Latest round of changes omitted initialization of tunnel device
unit variable.

Submitted by:	John Capo <jc@irbs.com>
1996-05-13 07:20:11 +00:00
Jordan K. Hubbard
7bcddb5f0e More informative command sequence for creating UFS floppies.
Submitted by:	harold barker <hbarker@dsms.com>
1996-05-13 07:12:27 +00:00
Nate Williams
13cbd355dd Whoops, don't add something that already exists. Removed redundant
entries but better document the existing PCCARD stuff.
1996-05-13 04:38:10 +00:00
Nate Williams
92d38a1399 Added commented out PCCARD entries to GENERIC, also document and add
entries in LINT.
1996-05-13 04:29:14 +00:00
Jordan K. Hubbard
ae6a83ba17 Neaten up some of the comments in here. 1996-05-13 02:21:16 +00:00
Jordan K. Hubbard
da32f53937 Correct email address for Alex Nash 1996-05-13 02:04:39 +00:00
Wolfram Schneider
614231ad5e makewhatis -> makewhatis.local 1996-05-12 21:10:34 +00:00
Wolfram Schneider
7d732d1e4f Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286
Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
1996-05-12 21:02:04 +00:00
Bill Paul
d7b71c676e Small touchups:
- Fix typos in comments in hash.c.
- Remove unneeded and unused member from grouplist struct in hash.h.
  (Curiously, the compiler never complained about this even though the
   member was of type 'struct grps' which is not defined anywhere in
   this program.)
- char ch -> int ch in revnetgroup.c.
- char *argv[0]; -> char *argv[]; also in revnetgroup.c.
- Force the user to specify at least one of the -u or -h flags
  and complain if they specify both.
1996-05-12 17:17:45 +00:00
Justin T. Gibbs
58efe44318 Fix a brain-o. The scratch ram on aic78X0 controllers is initialized to 0x00
not 0xff after POST, so test for that when trying to determine if a BIOS
intialized the card for us.
1996-05-12 16:25:32 +00:00