Commit Graph

6468 Commits

Author SHA1 Message Date
bde
e63a89f186 Don't generate any errors here other than EIO. An invalid partition
table is not an error, it just causes a smaller slice table.
1995-02-21 08:37:09 +00:00
phk
361ca08e0d Speed md5 up around 30% by shorting out a couple of cumbersome
memcpy equivalent functions.
1995-02-21 06:01:49 +00:00
phk
bdd3283357 add "fib"
Reviewed by:	phk
Submitted by:	Mark Murray <mark@grondar.za>
Obtained from:
1995-02-21 04:41:03 +00:00
wollman
02a1b382cf Not sure why this one was -lcompat since it doesn't reference anything in
it.
1995-02-21 04:35:43 +00:00
wollman
964a1c2ea7 Use POSIX.2 regular expressions, kill libcompat. 1995-02-21 04:32:55 +00:00
jkh
5bf42927dd Totally get rid of the snic driver.
Submitted by:	davidg
1995-02-21 04:26:35 +00:00
wollman
27a28f2789 Use tcflush(), eliminate libcompat. 1995-02-21 04:15:15 +00:00
wollman
508504ecff Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
wollman
628595ee58 more now uses POSIX regular expressions and no longer needs libcompat. 1995-02-21 03:46:48 +00:00
phk
2ce55aa815 Be more exclusive about cvs-locks. 1995-02-21 02:09:47 +00:00
dg
0f29c0cebb vm_extern.h: removed vm_allocate_with_pager.
Removed vm_user.c...it's now completely deprecated.
1995-02-21 01:32:47 +00:00
dg
11aa58664f Removed vm_user.c. 1995-02-21 01:31:14 +00:00
dg
23db83ee1f Deprecated remaining use of vm_deallocate. Deprecated vm_allocate_with_
pager(). Almost completely rewrote vm_mmap(); when John gets done with
the bottom half, it will be a complete rewrite. Deprecated most use of
vm_object_setpager(). Removed side effect of setting object persist
in vm_object_enter and moved this into the pager(s). A few other
cosmetic changes.
1995-02-21 01:22:48 +00:00
dg
e48c881828 Set page alloced for map entries as valid. 1995-02-21 01:13:05 +00:00
dg
f314cd0cf8 Added missing extern declaration for 'maxprocperuid'. 1995-02-21 00:37:31 +00:00
dg
5dae5b00cc Removed vm_allocate(), vm_deallocate(), and vm_protect() functions. The
only function remaining in this file is vm_allocate_with_pager(), and this
will be going RSN. The file will be removed when this happens.
1995-02-20 23:58:10 +00:00
dg
1a5c916b36 Use of vm_allocate and vm_deallocate has been deprecated. 1995-02-20 23:52:39 +00:00
dg
528492b434 Moved ACT_MAX, ACT_ADVANCE, and ACT_DECLINE to vm_page.h. 1995-02-20 23:35:45 +00:00
dg
80d6bd6227 Use of vm_allocate() and vm_deallocate() has been deprecated. 1995-02-20 22:23:31 +00:00
bde
d59996f398 Fix restoring cpl in the swi_ast_phantom case. The system sometimes
returned to user mode without enabling ASTs.  The problem fixed itself
at the next syscall or non-FPU trap, if any.  It hung the system for
a test process that masked SIGFPE's and divided by zero.  The faulting
division was returned to endlessly and this gave plently of opportunities
for the swi_ast_phantom case to be reached; after it was reached the
system hung because the ASTs for preemption and SIGINT handling were
disabled.
1995-02-20 20:35:24 +00:00
guido
a5eaebecd0 Implement maxprocperuid and maxfilesperproc. They are tunable
via sysctl(8). The initial value of maxprocperuid is maxproc-1,
that of maxfilesperproc is maxfiles (untill maxfile will disappear)

Now it is at least possible to prohibit one user opening maxfiles

-Guido

Submitted by:
Obtained from:
1995-02-20 19:42:42 +00:00
phk
21582849dd Use absolute path for the "ctm" program. 1995-02-20 19:07:32 +00:00
nate
0171ba082e Fixed non-conflict errors that occur when changes made to the local files are
the same as the changes made in the repository.  This is often seen by
people with remote CVS trees that have applied their local patches to the
master site.  a 'cvs update' will show bogus conflicts.

Obtained from: CVS mailing list, Stig<stig@inse.com>

In diffutils 2.6 and 2.7, diff3 -A complains about identical overlapping
changes.  They're different from the ancestor but not from each other...
Why bother?  The patch below fixes this nonsense and preserves [B]ackwards
compatiblity with the -B flag (also --show-bogus-conflicts).

    Party on...
    Stig
1995-02-20 18:47:18 +00:00
nate
45d8ca0c0f Make libcompat a static only library.
Since functions will come and go from libcompat as they are deprecated
it makes no sense to build a shared library out of it as it will change.

Based on freedback from Terry and Jonas on the mailing lists.
1995-02-20 18:19:50 +00:00
dg
aa4f5398ad vm_inherit function has been deprecated. 1995-02-20 18:08:18 +00:00
dg
ad1de95806 Stop using vm_allocate and vm_deallocate. 1995-02-20 17:36:36 +00:00
dg
7017e898bd VM for the kernel stack and page tables doesn't need to be explicitly
deallocated as it isn't inherited across the fork.
Use vm_map_find not vm_allocate.

Submitted by:	John Dyson
1995-02-20 17:26:21 +00:00
jkh
8e1cfbba1e Add Ollivier and Satoshi to list of contributors. 1995-02-20 16:24:30 +00:00
dg
127fed2efa Make sure process isn't swapped when messing with it.
Added missing newline to log() call.
1995-02-20 15:53:33 +00:00
dg
2e01b70346 Added missing newlines to calls to log(). 1995-02-20 15:48:46 +00:00
dg
2095f1db10 Panic if object is deallocated too many times.
Slight change to reverse collapsing so that vm_object_deallocate doesn't
have to be called recursively.
Removed half of a previous fix - the renamed page during a collapse doesn't
need to be marked dirty because the pager backing store pointers are copied
- thus preserving the page's data. This assumes that pages without backing
store are always dirty (except perhaps for when they are first zeroed, but
this doesn't matter).
Switch order of two lines of code so that the correct pager is removed
from the hash list. The previous code bogusly passed a NULL pointer to
vm_object_remove(). The call to vm_object_remove() should be unnecessary
if named anonymous objects were being dealt with correctly. They are
currently marked as OBJ_INTERNAL, which really screws up things (such as
this).
1995-02-20 14:21:58 +00:00
dg
9d3b976e15 Don't allow act_count to exceed ACT_MAX when bumping it up.
Small optimization to vm_page_bits().

Submitted by:	John Dyson
1995-02-20 14:00:50 +00:00
dg
da5e5825f3 Fully initialize pages returned via vm_page_alloc_contig() so that the
memory can be later freed.
1995-02-20 13:58:14 +00:00
jkh
aae59c91c2 Add Gary J. for all his fine work with gdb and other things. 1995-02-20 12:45:09 +00:00
phk
141f6db26d The new and improved mkCTM. Learning from this experience it has been
improved on a couple of accounts.  Amongst these are "damage control"
more than 100 files removed and it will bail out...
1995-02-20 03:03:02 +00:00
phk
12eca3f971 Clean this file up so it is readable... 1995-02-20 00:48:50 +00:00
bde
fd0281dbd4 Don't flush the message buffer when it fills up. 1995-02-19 15:02:26 +00:00
jkh
46a9bdb15f Remove the SCSI idsn line - it's permanantly dead. 1995-02-19 14:07:28 +00:00
jkh
969c09e60c remove gnu/scsi/nic5000.c - it's deprecated. 1995-02-19 14:06:29 +00:00
gpalmer
982d50d0ee Bruces fixes for large filesystems
Submitted by:	Bruce Evans <bde@zeta.org.au>
1995-02-19 10:36:17 +00:00
jkh
7d9397ef5d Whoops! It wasn't totally winning. I left out a couple of :'s. Fixed. 1995-02-19 09:52:52 +00:00
jkh
9900bd7a8a A much more winning default dir file. 1995-02-19 09:50:27 +00:00
rgrimes
5620c87eb7 Change DIR to VOLUME so that this installs in the correct location. 1995-02-19 09:11:30 +00:00
jkh
5f4b7bc92c 1. Get all the nodes in this texinfo document happily pointing in the proper
directions.

2. Drop in a Makefile that properly installs the info files for this.
1995-02-19 09:11:07 +00:00
phk
540b71c23a Some recent small changes. Probably about time I start writing this in C. 1995-02-19 04:51:41 +00:00
dg
feb6238962 Truncate the pte address to a page boundry. This probably won't fix the
panic, but at least it's more correct.
1995-02-19 02:50:31 +00:00
bde
ed02ff46e4 Keep absolute offsets in on-disk labels for backwards compatibility. This
requires complications to adjust the offsets to relative when a block
containing the label is read and back to absolute when such a block is
written.  The adjustment is not made on the whole disk slice.

Don't allow setting the offset of partition C to nonzero in in-core labels.
This will cause some (nonstandard) disktab entries to fail.  They will
need to be changed to have relative offsets (and no partitions outside
of the slice).

Don't write protect the (nonexistent) label on the whole disk slice.

Writing labels and bootstraps should work right now (except if there is
no DOSpartition table).
1995-02-18 22:10:44 +00:00
bde
476ac66c48 Write setconf() in KNF, in K&R C, and in Standard C.Standard C. 1995-02-18 21:32:19 +00:00
bde
e9644cbcc3 New field b_biodone_chain to support nested b_iodone's. 1995-02-18 21:12:33 +00:00
ats
413cc276ed Submitted by: Ollivier ROBERT roberto@keltia.frmug.fr.net
There is a typo in the include file specification in the  man page  of
time(1).
1995-02-18 20:44:55 +00:00