Commit Graph

14299 Commits

Author SHA1 Message Date
dyson
2359f358cc 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
dyson
39bee2738c 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
dyson
242e10df11 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
pst
3c6405efe5 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
20c8a07495 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
wollman
1af3a60b40 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
jkh
94c3aa770f I think these reference tags (given the context of the sentence) make
more sense.
1996-05-17 11:16:51 +00:00
jkh
7f127180e9 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
jkh
5cac466951 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
jkh
cbb1c43954 freefall's new sendmail.cf file.
Submitted by:	gpalmer
1996-05-17 07:47:34 +00:00
mpp
a22af77aa5 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
mpp
379ee1865d (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
mpp
0e1c8aafb3 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
jkh
2769b6f33e Make some long-overdue updates in the install document, add
freebsd-emulation list to entities.
1996-05-16 20:20:57 +00:00
jkh
2955e17bb2 Correct device list. 1996-05-16 20:06:14 +00:00
jkh
4d388cfbbc Bring this a little more up to date. 1996-05-16 20:01:26 +00:00
wpaul
b0005a7f9b - 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
jkh
7cd1713b42 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
jkh
9a98e87498 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
jkh
7560ec91cb 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
jkh
996907c196 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
mpp
c3744ff4f0 Convert f2c.1 to mdoc format.
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1996-05-15 20:27:10 +00:00
mpp
483105a62e 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
f56d4bbea6 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
jfieber
54adaeb608 Fix a few HTML 2.0 violations. 1996-05-15 17:05:17 +00:00
nate
1b38972b73 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
jfieber
dea581dd2c Fixed botched cross reference (target was not defined). 1996-05-15 15:17:28 +00:00
wosch
5ef7c9e362 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
3b63e670fe 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
wollman
421bfb351a Accept mount(8)'s calling convention of passing just the filesystem type
as argv[0].
1996-05-14 15:16:49 +00:00
phk
40c2c4166a Commit the right version of mkCTM, <:-)
Noticed by:	"Philippe Charnier" <charnier@lirmm.fr>
1996-05-14 07:25:59 +00:00
wosch
39b99669d3 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
wollman
0a548aa7d3 One program I missed in removing MOUNT_* constants. 1996-05-13 17:56:34 +00:00
wollman
5eea098aaa 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
ache
e1cb6ef79c When two units swapped, copy SC_STATIC flag too, not clear it 1996-05-13 14:18:18 +00:00
ache
b4272ea59b Prevent mixing of static and dynamic unit allocation strategies 1996-05-13 14:09:34 +00:00
asami
bde67b9082 Change Bernd's e-address. 1996-05-13 09:31:34 +00:00
asami
f05c60927e 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
asami
8b28728241 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
phk
dc61083d98 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
jkh
9081f266cf More informative command sequence for creating UFS floppies.
Submitted by:	harold barker <hbarker@dsms.com>
1996-05-13 07:12:27 +00:00
nate
9365117c40 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
5450bb7184 Added commented out PCCARD entries to GENERIC, also document and add
entries in LINT.
1996-05-13 04:29:14 +00:00
jkh
49922e5d26 Neaten up some of the comments in here. 1996-05-13 02:21:16 +00:00
jkh
b7075b8364 Correct email address for Alex Nash 1996-05-13 02:04:39 +00:00
wosch
3da49cdc27 makewhatis -> makewhatis.local 1996-05-12 21:10:34 +00:00
wosch
1474db4aa4 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
wpaul
716641bdae 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
gibbs
69278b0c5d 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
wosch
af3757a685 faster
average 2-3 x
	for option -h or -q 10 x

handle option -q and -L

better exit status, similar to grep (0: matches found 1: no
matches found 2: error)
1996-05-12 16:20:26 +00:00